-
Notifications
You must be signed in to change notification settings - Fork 135
Add stim.Circuit.with_feedback_ensuring_flows
#860
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
Comments
This is my best attempt so far at this method. It doesn't work on non-unitary operations, and it doesn't work if the expected flows don't exactly match up with the computed flow generators.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can be done by Gaussian elimination over the flow generators. Alternatively, simulate the circuit with measurements forced to the reference sample to validate the flows up to sign/feedback. Then, for each measurement, force it to the opposite value (if possible) and see which flows have their sign change. Then solve Paulis that invert in the right way.
The text was updated successfully, but these errors were encountered: