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

fix measure sampling bug in BasicAer #2790

Merged
merged 5 commits into from
Jul 15, 2019

Conversation

chriseclectic
Copy link
Member

Summary

Fixes #2744. Adds some additional tests for BasicAer qasm simulator

Details and comments

Measure sampling was behaving incorrectly if a subset of qubits were measured since it was assuming the position in the measured qubit list was the qubit number.

ajavadia
ajavadia previously approved these changes Jul 15, 2019
@ajavadia ajavadia merged commit a444801 into Qiskit:master Jul 15, 2019
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
* fix measure sampling bug in BasicAer

* update changelog

* linter

* linting

* add additional code comments
@chriseclectic chriseclectic deleted the fix-basicaer-sampler branch November 14, 2019 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sampling issue of Qasm simulator at BasicAer
2 participants