-
Notifications
You must be signed in to change notification settings - Fork 116
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
Hadamard cancellation rule #200
Comments
The same goes also for H_BOX next to an H-edge, btw:
|
See also #161 for some background. |
I also bumped into this as a first-time user of |
Thank you for the two replies. |
The function requires that the input is a ZX-diagram (i.e., no `H_BOX`es). See zxcalc#161 and zxcalc#200 for context. Note: This does not guard `clifford_simp` or other simplification subroutines, which will still silently fail if there are `H_BOX`es. Putting a check into each subroutine would be redundant and expensive.
Unless I am missing it there is no "Hadamard cancellation" implemented.
Consider the following graph:
full_reduce
,clifford_simp
have no effect on it (nor did I find any other API that cancels the two Hadamards.The text was updated successfully, but these errors were encountered: