| 1 |
\documentclass[preview, border=40px]{standalone} |
| 2 |
\usepackage{../quantumcubemodel} |
| 3 |
\begin{document} |
| 4 |
\begin{qcmx} |
| 5 |
\node at (10, 0, 0) {\Huge \textbf{Hadamard transformation on one qubit}}; |
| 6 |
\def\qcmxOffsetX{0} |
| 7 |
\def\qcmxOffsetY{-3} |
| 8 |
\qcmxO{1} |
| 9 |
\qcmxRenderQ |
| 10 |
\qcmxClearQ |
| 11 |
|
| 12 |
\def\qcmxOffsetX{15} |
| 13 |
\qcmxRenderHadamardQ{x} |
| 14 |
|
| 15 |
\qcmxO{0.71} |
| 16 |
\qcmxI{0.71} |
| 17 |
\def\qcmxOffsetX{25} |
| 18 |
\qcmxRenderQ |
| 19 |
\qcmxClearQ |
| 20 |
|
| 21 |
\node at (10,-10, 0) {\Huge \textbf{Pauli-X transformation on one qubit}}; |
| 22 |
\def\qcmxOffsetX{0} |
| 23 |
\def\qcmxOffsetY{-13} |
| 24 |
\qcmxO{1} |
| 25 |
\qcmxRenderQ |
| 26 |
\qcmxClearQ |
| 27 |
|
| 28 |
\def\qcmxOffsetX{15} |
| 29 |
\qcmxRenderPauliXQ{x} |
| 30 |
|
| 31 |
\qcmxI{1} |
| 32 |
\def\qcmxOffsetX{25} |
| 33 |
\qcmxRenderQ |
| 34 |
\qcmxClearQ |
| 35 |
|
| 36 |
\node at (10,-20, 0) {\Huge \textbf{Pauli-Y and Z transformation on one qubit}}; |
| 37 |
\def\qcmxOffsetX{0} |
| 38 |
\def\qcmxOffsetY{-24} |
| 39 |
\qcmxO{0.71} |
| 40 |
\qcmxI{0.71} |
| 41 |
\qcmxRenderQ |
| 42 |
\qcmxClearQ |
| 43 |
|
| 44 |
\def\qcmxOffsetX{15} |
| 45 |
\def\qcmxOffsetY{-23} |
| 46 |
\qcmxRenderPauliYQ{x} |
| 47 |
\def\qcmxOffsetY{-25} |
| 48 |
\qcmxRenderPauliZQ{x} |
| 49 |
|
| 50 |
\def\qcmxOffsetY{-24} |
| 51 |
\qcmxO[90]{0.71} |
| 52 |
\qcmxI[90]{0.71} |
| 53 |
\def\qcmxOffsetX{25} |
| 54 |
\qcmxRenderQ |
| 55 |
\end{qcmx} |
| 56 |
\end{document} |