diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-13 20:58:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-13 20:58:17 +0000 |
commit | 6bb32c43bccbba47d0a5cb34876bd060e088a507 (patch) | |
tree | d4b56c3eaf665699d6b680b3ba8e8c75d37ef3d5 /Master/texmf-dist/doc/latex/yquant/test4.qasm | |
parent | 01d0d819f585f3b7f88e544cec22201385db44ea (diff) |
yquant (13jun20)
git-svn-id: svn://tug.org/texlive/trunk@55537 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/yquant/test4.qasm')
-rw-r--r-- | Master/texmf-dist/doc/latex/yquant/test4.qasm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/yquant/test4.qasm b/Master/texmf-dist/doc/latex/yquant/test4.qasm new file mode 100644 index 00000000000..c4dc61ef21c --- /dev/null +++ b/Master/texmf-dist/doc/latex/yquant/test4.qasm @@ -0,0 +1,23 @@ +# +# File: test4.qasm +# Date: 22-Mar-04 +# Author: I. Chuang <ichuang@mit.edu> +# +# Sample qasm input file - quantum +# fourier transform on three qubits + + def c-S,1,'S' + def c-T,1,'T' + + qubit j0 + qubit j1 + qubit j2 + + h j0 + c-S j1,j0 + c-T j2,j0 + nop j1 + h j1 + c-S j2,j1 + h j2 + swap j0,j2 |