Closed maximilian-schwaerzler closed 1 year ago
When trying to draw a multi-wire with a label, either like this: \Qcircuit @C=1em @R=.7em { & {/} \ustick{n} & \targ & \gate{U} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw \\ & \qw & \ctrl{-1} & \ctrl{-2} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw } which gives this: error1.pdf
\Qcircuit @C=1em @R=.7em { & {/} \ustick{n} & \targ & \gate{U} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw \\ & \qw & \ctrl{-1} & \ctrl{-2} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw }
Or like this: \Qcircuit @C=1em @R=.7em { & \ustick{n} {/} & \targ & \gate{U} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw \\ & \qw & \ctrl{-1} & \ctrl{-2} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw } which gives this: error2.pdf
\Qcircuit @C=1em @R=.7em { & \ustick{n} {/} & \targ & \gate{U} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw \\ & \qw & \ctrl{-1} & \ctrl{-2} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw }
None of these are satisfying. Am I doing something wrong?
The source file: qcircuit_test.zip
What I want is something like that:
When trying to draw a multi-wire with a label, either like this:
\Qcircuit @C=1em @R=.7em { & {/} \ustick{n} & \targ & \gate{U} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw \\ & \qw & \ctrl{-1} & \ctrl{-2} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw }
which gives this: error1.pdfOr like this:
\Qcircuit @C=1em @R=.7em { & \ustick{n} {/} & \targ & \gate{U} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw \\ & \qw & \ctrl{-1} & \ctrl{-2} & \qw \\ & \qw & \ctrl{-1} & \qw & \qw }
which gives this: error2.pdfNone of these are satisfying. Am I doing something wrong?
The source file: qcircuit_test.zip
What I want is something like that: