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 AerBackend.set_max_qubits #2159

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Fix AerBackend.set_max_qubits #2159

merged 2 commits into from
Jun 5, 2024

Conversation

doichanj
Copy link
Collaborator

Summary

This is fix for PR #2084 again

Details and comments

Setting method option to Sampler overwrote n_qubits of configuration.
So this fix set n_qubits by using _set_configuration_option function to overwrite again.

I added test case to test all supported methods

@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 May 31, 2024
hhorii
hhorii previously approved these changes Jun 4, 2024
@hhorii
Copy link
Collaborator

hhorii commented Jun 4, 2024

maybe need changelog.

@hhorii hhorii merged commit 18ef494 into Qiskit:main Jun 5, 2024
38 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