diff options
author | Norbert Preining <norbert@preining.info> | 2020-06-14 03:02:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-06-14 03:02:26 +0000 |
commit | 893b65e5d4c0b7cb8ebbfca9ee6b090b9a4a182c (patch) | |
tree | f6b0cff2cf2f8e30ef3edbfa6c7205e588e81515 /graphics/pgf/contrib/yquant/doc/qasm/test2.qasm | |
parent | 2d0067edb74f15b431d7a1e3a42b4f525986cef0 (diff) |
CTAN sync 202006140302
Diffstat (limited to 'graphics/pgf/contrib/yquant/doc/qasm/test2.qasm')
-rw-r--r-- | graphics/pgf/contrib/yquant/doc/qasm/test2.qasm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/yquant/doc/qasm/test2.qasm b/graphics/pgf/contrib/yquant/doc/qasm/test2.qasm new file mode 100644 index 0000000000..9b8ae9af10 --- /dev/null +++ b/graphics/pgf/contrib/yquant/doc/qasm/test2.qasm @@ -0,0 +1,20 @@ +# +# File: test2.qasm +# Date: 29-Mar-04 +# Author: I. Chuang <ichuang@mit.edu> +# +# Sample qasm input file - simple teleportation circuit +# + qubit q0 + qubit q1 + qubit q2 + + h q1 # create EPR pair + cnot q1,q2 + cnot q0,q1 # Bell basis measurement + h q0 + nop q1 + measure q0 + measure q1 + c-x q1,q2 # correction step + c-z q0,q2 |