math mode in gate names is not working #9208
Labels
bug
Something isn't working
help wanted
community contributions welcome. For filters like http://github-help-wanted.com/
Environment
What is happening?
Inspired by https://quantumcomputing.stackexchange.com/a/29167/1859
According with #4669, it is possible to use
$
for activate LaTeX math mode in gate names. However, that triggers an error.How can we reproduce the issue?
Take the possible example:
This triggers a
pdflatex
compilation error. However,circ.append(HGate(label="U^a"),[0])
works.What should happen?
This might be a regression. I think at some point we supported math mode in names. What it should happen is that
$
activates it.Any suggestions?
No response
The text was updated successfully, but these errors were encountered: