diff options
Diffstat (limited to 'graphics/pgf/contrib/yquant/doc/qasm/test10.qasm')
-rw-r--r-- | graphics/pgf/contrib/yquant/doc/qasm/test10.qasm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/yquant/doc/qasm/test10.qasm b/graphics/pgf/contrib/yquant/doc/qasm/test10.qasm new file mode 100644 index 0000000000..4f788eb36c --- /dev/null +++ b/graphics/pgf/contrib/yquant/doc/qasm/test10.qasm @@ -0,0 +1,16 @@ +# +# File: test10.qasm +# Date: 22-Mar-04 +# Author: I. Chuang <ichuang@mit.edu> +# +# Sample qasm input file - multi-qubit gates +# also demonstrates use of classical bits + + qubit q0 + cbit c1 + qubit q2 + + h q0 + Utwo q0,c1 + S q2 + Utwo c1,q2 |