projekter/yquant

Can't draw circuits with more than 9 qubits.

Closed this issue · 2 comments

Describe the bug
When there are at least 10 qubits defined, the compiler gives illegal unit of measure (pt inserted) error.

To Reproduce
\begin{tikzpicture}
\begin{yquant}
qubit { } a[10];
measure a;
\end{yquant}
\end{tikzpicture}

Environment
I am using MacTeX Shop Version 4.44. using LaTeX to compile the code.

Confirmed, please try with the current master branch. This should fix the problem. If you agree, I'll push an update to CTAN.
53e834a#diff-fc4d1da5736a128759a73421aef51d5d

It now works with the update. Thanks.