1
$\begingroup$

I am almost done with my circuit diagram for the QAOA circuit but the \cdots does not want to cooperate. As seen there exists some wire drawn across the dots from the gate to the right and I can't seem to figure out why this is the case or how I get rid of it. Maybe I am using this command incorrectly, any thoughts would help greatly!

My TeX result: enter image description here

My TeX code:

\Qcircuit @C = 0.3em @R = 0.6em{
\lstick{|0\rangle} & \gate{H} & \multigate{4}{e^{-i\gamma_1H_C}} & \multigate{4}{e^{-i\beta_1H_M}} & \cdots & \multigate{4}{e^{-i\gamma_pH_C}} & \multigate{4}{e^{-i\beta_pH_M}} & \meter & \cw\\
\lstick{|0\rangle} & \gate{H} & \ghost{e^{-i\gamma_1H_C}} & \ghost{e^{-i\beta_1H_M}} & \cdots & \ghost{e^{-i\gamma_pH_C}} & \ghost{e^{-i\beta_pH_M}} & \meter & \cw\\
\lstick{|0\rangle} & \gate{H} & \ghost{e^{-i\gamma_1H_C}} & \ghost{e^{-i\beta_1H_M}} & \cdots &  \ghost{e^{-i\gamma_pH_C}} & \ghost{e^{-i\beta_pH_M}} & \meter & \cw\\
\lstick{\vdots \ }  &  \pureghost{e^{-i\gamma_1H_C}} & \pureghost{e^{-i\beta_1H_M}} &  & \pureghost{e^{-i\gamma_pH_C}}  & \pureghost{e^{-i\beta_pH_M}}  &  \pureghost{} & \vdots & \\
\lstick{|0\rangle} & \gate{H} & \ghost{e^{-i\gamma_1H_C}} & \ghost{e^{-i\beta_1H_M}} & \cdots &  \ghost{e^{-i\gamma_pH_C}} & \ghost{e^{-i\beta_pH_M}} & \meter & \cw \\
}
$\endgroup$
2
  • 5
    $\begingroup$ Consider to ask on tex.stackexchange.com $\endgroup$ Jan 20 at 22:13
  • 4
    $\begingroup$ I’m voting to close this question because it is related to LaTeX issue in Qiskit and not directly to quantum computing. $\endgroup$ Jan 22 at 8:27

0

Browse other questions tagged or ask your own question.