diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/yquant/test8.qasm')
-rw-r--r-- | Master/texmf-dist/doc/latex/yquant/test8.qasm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/yquant/test8.qasm b/Master/texmf-dist/doc/latex/yquant/test8.qasm new file mode 100644 index 00000000000..ba88ef68b4a --- /dev/null +++ b/Master/texmf-dist/doc/latex/yquant/test8.qasm @@ -0,0 +1,23 @@ +# +# File: test8.qasm +# Date: 22-Mar-04 +# Author: I. Chuang <ichuang@mit.edu> +# +# Sample qasm input file - stage in +# simplification of quantum teleportation + + def c-Z,1,'Z' + + qubit q0,\psi + qubit q1,0 + qubit q2,0 + + H q1 + cnot q0,q1 + cnot q1,q2 + cnot q0,q1 + cnot q1,q2 + H q0 + c-Z q2,q0 + H q0 + H q0 |