mirror of https://github.com/Qiskit/qiskit.git
17 lines
1.9 KiB
TeX
17 lines
1.9 KiB
TeX
\documentclass[border=2px]{standalone}
|
|
|
|
\usepackage[braket, qm]{qcircuit}
|
|
\usepackage{graphicx}
|
|
|
|
\begin{document}
|
|
\scalebox{1.0}{
|
|
\Qcircuit @C=1.0em @R=0.2em @!R { \\
|
|
\nghost{{q}_{0} : } & \lstick{{q}_{0} : } & \gate{\mathrm{H}} & \gate{\mathrm{X}} & \qw & \qw & \qw & \ctrl{1} & \ctrl{1} & \qswap & \ctrl{1} & \ctrl{1} & \multigate{1}{\mathrm{Dcx}}_<<<{0} & \ctrl{1} & \ctrl{1} & \qw & \qw\\
|
|
\nghost{{q}_{1} : } & \lstick{{q}_{1} : } & \qw & \qw & \qw & \qw & \qw & \targ & \ctrl{1} & \qswap \qwx[-1] & \qswap & \ctrl{1} & \ghost{\mathrm{Dcx}}_<<<{1} & \multigate{1}{\mathrm{Dcx}}_<<<{0} & \ctrl{1} & \qw & \qw\\
|
|
\nghost{{q}_{2} : } & \lstick{{q}_{2} : } & \qw & \qw & \qw & \qw & \qw & \qw & \targ & \qw & \qswap \qwx[-1] & \qswap & \qw & \ghost{\mathrm{Dcx}}_<<<{1} & \multigate{1}{\mathrm{Dcx}}_<<<{0} & \qw & \qw\\
|
|
\nghost{{q}_{3} : } & \lstick{{q}_{3} : } & \qw & \qw & \qw & \qw & \qw & \qw & \qw & \qw & \qw & \qswap \qwx[-1] & \qw & \qw & \ghost{\mathrm{Dcx}}_<<<{1} & \qw & \qw\\
|
|
\nghost{{q}_{4} : } & \lstick{{q}_{4} : } & \gate{\mathrm{Z}} & \gate{\mathrm{S}} & \qw & \qw & \qw & \gate{\mathrm{S^\dagger}} & \gate{\mathrm{T}} & \gate{\mathrm{T^\dagger}} & \gate{\mathrm{P}\,(\mathrm{\frac{\pi}{2}})} & \gate{\mathrm{P}\,(\mathrm{\frac{\pi}{2}})} & \qw & \qw & \qw & \qw & \qw\\
|
|
\nghost{{q}_{5} : } & \lstick{{q}_{5} : } & \ctrl{1} & \ctrl{1} & \dstick{\hspace{2.0em}\mathrm{P}\,(\mathrm{\frac{\pi}{2}})} \qw & \qw & \qw & \gate{\mathrm{Y}} & \gate{\mathrm{R_X}\,(\mathrm{\frac{\pi}{3}})} & \multigate{1}{\mathrm{R_{ZX}}\,(\mathrm{\frac{\pi}{2}})}_<<<{0} & \gate{\mathrm{U}\,(\mathrm{\frac{\pi}{2},\frac{\pi}{2},\frac{\pi}{2}})} \barrier[0em]{1} & \qw & \gate{\mathrm{\left|0\right\rangle}} & \qw & \qw & \qw & \qw\\
|
|
\nghost{{q}_{6} : } & \lstick{{q}_{6} : } & \control\qw & \control \qw & \qw & \qw & \qw & \qw & \qw & \ghost{\mathrm{R_{ZX}}\,(\mathrm{\frac{\pi}{2}})}_<<<{1} & \qw & \qw & \qw & \qw & \qw & \qw & \qw\\
|
|
\\ }}
|
|
\end{document} |