-
Notifications
You must be signed in to change notification settings - Fork 102
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
Bug in to_tableau
function for SPP gates
#846
Comments
Good catch. It seems like this is caused by SPP not being marked as a unitary gate, so the method skips right over it (as part of the logic for optionally ignoring non-unitary gates). |
- Fix `SPP` not being classified as a unitary gate - Fix `SPP_DAG` not being classified as a unitary gate Fixes #846
I created a fix (#847). Around a half hour after that PR is merged, you should be able to |
Thanks for the superprompt fix! I pip-installed the PR and confirmed that it is working properly. |
...what? The fix isn't pushed yet! |
It seems that the
stim.Circuit.to_tableau
is not reflecting the presence of SPP gate now (tried in v1.13.0 and v1.14.0).For instance when I run
The output did not change when I choose
SPP X0
orSPP Y0
, so I suspect thatto_tableau
is ignoringSPP
gates.I confirmed that SPP gates are properly working on
TableauSimulator
, by, e.g., running the following:The text was updated successfully, but these errors were encountered: