| 1 |
# |
| 2 |
# File: test10.qasm |
| 3 |
# Date: 22-Mar-04 |
| 4 |
# Author: I. Chuang <[email protected]> |
| 5 |
# |
| 6 |
# Sample qasm input file - multi-qubit gates |
| 7 |
# also demonstrates use of classical bits |
| 8 |
|
| 9 |
qubit q0 |
| 10 |
cbit c1 |
| 11 |
qubit q2 |
| 12 |
|
| 13 |
h q0 |
| 14 |
Utwo q0,c1 |
| 15 |
S q2 |
| 16 |
Utwo c1,q2 |