diff options
Diffstat (limited to 'graphics/pgf/contrib/yquant/doc/qasm/test5.qasm')
-rw-r--r-- | graphics/pgf/contrib/yquant/doc/qasm/test5.qasm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/yquant/doc/qasm/test5.qasm b/graphics/pgf/contrib/yquant/doc/qasm/test5.qasm new file mode 100644 index 0000000000..0a1a7e511b --- /dev/null +++ b/graphics/pgf/contrib/yquant/doc/qasm/test5.qasm @@ -0,0 +1,15 @@ +# +# File: test5.qasm +# Date: 22-Mar-04 +# Author: I. Chuang <ichuang@mit.edu> +# +# Sample qasm input file - demonstrate arbitray qubit matrix ops + + def c-P,1,'\m{e^{i\alpha} & 0 \cr 0 & e^{-i\alpha}}' + def Ryt,0,'\m{\cos{\theta}&-\sin{\theta}\cr\sin{\theta}&\cos{\theta}}' + + qubit j0 + qubit j1 + + c-P j0,j1 + Ryt j0
\ No newline at end of file |