-
Notifications
You must be signed in to change notification settings - Fork 86
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
After Aer .14 is released, remove approximation=true from relevant pages #1020
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
One or more of the the following people are requested to review this:
|
@@ -151,7 +151,7 @@ This guide describes these common configurations for algorithms that determine w | |||
from qiskit_aer.primitives import Sampler, Estimator | |||
|
|||
sampler = Sampler(run_options={"approximation": True, "shots": None}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kevinsung the change is only for Estimator, not Sampler, correct? Should I leave this line as-is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know, "approximation" is not a valid run option, so I think it can be removed immediately from all examples of Sampler and Estimator. See Qiskit/qiskit-aer#2083 though.
#319 Refers to passing approximation=True
directly to the initializer of Estimator, as in those pages in the verify section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Qiskit Aer 0.14 isn't released yet
I am confused because in the Qiskit SDK .10 release notes, it mentions Aer 0.2? EDITED TO ADD -- Eric clarified for me the difference between Aer when it was part of the metapackage, and Aer now. |
Ready for review (need to debug the failing notebook check too) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think shots=None
is unnecessary too
Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Thanks for catching those @frankharkins ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…ges (Qiskit#1020) Closes Qiskit#319 --------- Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
Closes #319