qiskit/test/python/visualization/references/test_latex_meas_cond_false.tex

16 lines
919 B
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{{qr}_{0} : } & \lstick{{qr}_{0} : } & \gate{\mathrm{H}} & \meter & \qw & \gate{\mathrm{H}} & \qw & \qw\\
\nghost{{qr}_{1} : } & \lstick{{qr}_{1} : } & \gate{\mathrm{H}} & \qw & \meter & \qw & \qw & \qw\\
\nghost{{cr1}_{0} : } & \lstick{{cr1}_{0} : } & \cw & \cw & \control \cw \cwx[-1] & \cw & \cw & \cw\\
\nghost{{cr1}_{1} : } & \lstick{{cr1}_{1} : } & \cw & \cw \ar @{<=} [-3,0] & \controlo \cw^(-0.3){^{\mathtt{0x1}}} \cwx[-1] & \cw & \cw & \cw\\
\nghost{{cr2}_{0} : } & \lstick{{cr2}_{0} : } & \cw & \cw & \cw \ar @{<=} [-3,0] & \control \cw \cwx[-4] & \cw & \cw\\
\nghost{{cr2}_{1} : } & \lstick{{cr2}_{1} : } & \cw & \cw & \cw & \control \cw^(0.0){^{\mathtt{0x3}}} \cwx[-1] & \cw & \cw\\
\\ }}
\end{document}