Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dollar signs show up in non-parametrised gates #79

Open
CalMacCQ opened this issue Nov 8, 2024 · 0 comments
Open

Dollar signs show up in non-parametrised gates #79

CalMacCQ opened this issue Nov 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CalMacCQ
Copy link

CalMacCQ commented Nov 8, 2024

It seems that we have unwanted $$ symbols showing up in gates that have no parameters. I guess this is an unintended consequence of #78

pytket v1.34

from pytket import Circuit
from pytket.circuit.display import render_circuit_jupyter as draw

h_circ = Circuit(1).H(0)
draw(h_circ)

The diagram looks like

Image

Note that this shows up when you have ZX mode on the default and click the button to switch to circuit mode.

@CalMacCQ CalMacCQ added the bug Something isn't working label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant