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 the order bug in Estimator #1936

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

ikkoham
Copy link
Collaborator

@ikkoham ikkoham commented Sep 13, 2023

Summary

When I implement #1935, I found a bug in estimator.

Details and comments

This is not a problem in most cases, but if user passes the circuits in a strange order as shown below example, an error will occur until 0.12.2.

job = estimator.run([qc1, qc2, qc1, qc1, qc2], ["Z"] * 5, [[], [1], [], [], [1]])

This PR fixes it.

@ikkoham ikkoham marked this pull request as ready for review September 14, 2023 06:29
@doichanj doichanj added stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable Changelog: Bugfix Include in the Fixed section of the changelog labels Sep 15, 2023
@doichanj doichanj added this to the Aer 0.13.0 milestone Sep 15, 2023
@doichanj doichanj requested review from doichanj and hhorii September 22, 2023 04:18
@doichanj doichanj merged commit b83abe2 into Qiskit:main Sep 27, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the Fixed section of the changelog stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants