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

Deprecate approximation option in Estimator #1963

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

ikkoham
Copy link
Collaborator

@ikkoham ikkoham commented Oct 24, 2023

Summary

Deprecate approximation option. approximation=True will be the default in the future.
If users want to use approximation=False, they should use BackendEstimator instead.

Details and comments

@ikkoham ikkoham changed the title Deprecate approximation in Estimator Deprecate approximation option in Estimator Oct 24, 2023
@ikkoham ikkoham added the Changelog: Deprecation Include in Deprecated section of changelog label Oct 24, 2023
@ikkoham ikkoham requested a review from doichanj October 24, 2023 07:53
@ikkoham ikkoham added this to the Aer 0.13.0 milestone Oct 24, 2023
@doichanj doichanj merged commit 861ec5c into Qiskit:main Oct 24, 2023
30 checks passed
@ikkoham ikkoham deleted the primitives/deprecate-approximation branch October 24, 2023 14:05
warn(
"Option approximation=False is deprecated as of qiskit-aer 0.13. "
"It will be removed no earlier than 3 months after the release date. "
"Instead, use BackendEstmator from qiskit.primitives.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just happened to notice this PR - in looking over it I see that BackendEstimator is missing the i in this warning - same in the one below. Pretty minor but I thought I'd point it out.

doichanj pushed a commit to doichanj/qiskit-aer that referenced this pull request Oct 26, 2023
* Deprecate approximation

* fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Deprecation Include in Deprecated section of changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants