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

[simulator] Look up decoding simulation works on linux distro but not on OSx #62

Closed
Phionx opened this issue Nov 11, 2021 · 1 comment
Closed
Labels
bug Something isn't working
Milestone

Comments

@Phionx
Copy link
Member

Phionx commented Nov 11, 2021

The simulation tutorials/rep/2-fitters-lookup.ipynb requires errors being inserted between the stabilizer measurements to produce a lookup table of possible results. This works on elementary OS, but not on OSx.

Expected Result (elementary OS):

Screen Shot 2021-11-11 at 2 14 39 PM

Incorrect Result (Mac OSx):
Screen Shot 2021-11-11 at 2 14 55 PM

This is probably an issue with the aer_simulator.

@Phionx
Copy link
Member Author

Phionx commented Dec 25, 2021

It turns out this is because the simulator is optimizing away the identity gates we place where we wish to insert single errors. So, as a quick fix, we can set the optimization_level=0 in execute to prevent this optimization. This may not be the most efficient solution, and we can continue to work on speeding up the simulator in #64 .

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