Debian Codegraph @

texmf-dist/doc/latex/yquant/test6.qasm

raw
1 #
2 # File: test6.qasm
3 # Date: 22-Mar-04
4 # Author: I. Chuang <[email protected]>
5 #
6 # Sample qasm input file - demonstrate
7 # multiple-qubit controlled single-q-gates
8
9 def c-U,3,'U'
10
11 qubit j0
12 qubit j1
13 qubit j2
14 qubit j3
15
16 toffoli j0,j1,j2
17 X j0
18 c-U j2,j3,j0,j1
19 H j2
20 measure j3