Debian Codegraph @

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

raw
1 #
2 # File: test12.qasm
3 # Date: 22-Mar-04
4 # Author: I. Chuang <[email protected]>
5 #
6 # Sample qasm input file - multi-qubit controlled
7 # multi-qubit operations
8
9 defbox CU2,3,1,'U'
10 defbox CV2,3,1,'V'
11
12 qubit q0
13 qubit q1
14 qubit q2
15
16 h q0
17 CU2 q0,q1,q2
18 h q0
19 CV2 q2,q0,q1
20