diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/yquant/test7.qasm')
-rw-r--r-- | Master/texmf-dist/doc/latex/yquant/test7.qasm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/yquant/test7.qasm b/Master/texmf-dist/doc/latex/yquant/test7.qasm new file mode 100644 index 00000000000..ffc7227b200 --- /dev/null +++ b/Master/texmf-dist/doc/latex/yquant/test7.qasm @@ -0,0 +1,21 @@ +# +# File: test7.qasm +# Date: 22-Mar-04 +# Author: I. Chuang <ichuang@mit.edu> +# +# Sample qasm input file - measurement +# of operator with correction + + def c-U,1,'U' + def c-V,1,'V' + + qubit q0 + qubit q1 + + H q0 + c-U q0,q1 + H q0 + measure q0 + c-V q0,q1 + nop q0 + nop q1 |