qiskit/test/python/visualization/references/test_latex_creg_initial_fal...

14 lines
521 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{{q}_{0} : } & \lstick{{q}_{0} : } & \gate{\mathrm{X}} & \gate{\mathrm{H}} & \qw & \qw\\
\nghost{{q}_{1} : } & \lstick{{q}_{1} : } & \gate{\mathrm{X}} & \qw & \qw & \qw\\
\nghost{{c}_{0} : } & \lstick{{c}_{0} : } & \cw & \cw & \cw & \cw\\
\nghost{{c}_{1} : } & \lstick{{c}_{1} : } & \cw & \cw & \cw & \cw\\
\\ }}
\end{document}