Circuit.to_latex_file
generates invalid LaTeX for register names containing underscores
#1363
Labels
bug
Something isn't working
The
Circuit.to_latex_file
method seems to produce invalid LaTeX if the names of the registers contain underscores.Build circuit
export to LaTeX
I get the following ouput
This LaTeX doesn't compile. If I manually remove the underscores then it compiles and I get a circuit diagram. Seems the underscored names are casuing an issue.
I also get a warning noting that we use
Quantikz
rather thanQuantikz2
.The text was updated successfully, but these errors were encountered: