-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Make circuit rendering of swap-like gates consistent #2945
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
Make circuit rendering of swap-like gates consistent #2945
Conversation
|
This also changes "swap" to "Swap" when unicode isn't being used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i refers to sqrt(-1), I refers to Identity. It really is an iSwap in my opinion. Not sure if the consistency benefits are worth it in the diagrams.. Opinions? It's certainly a bit odd that in the code it gets capitalized if it doesnt in the diagrams.
|
Reverted back to iSwap with the small i. PTAL. |
|
PTAL |
The PR makes layout and capitalization of swap-like gates consistent.
Before:
After: