-
Notifications
You must be signed in to change notification settings - Fork 361
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
Add private primitive attributes removed by qiskit #2048
Conversation
Using Qiskit 1.0.0rc1, this gets me further through the Aer test suite, but then all the primitives tests fail with an error like this:
|
|
Also there's two tests that do this, but I think that's it for the differences:
|
|
Thanks, I'm doing the wrong thing and trying to get away without setting up my test env locally, as I've never worked on aer. |
Yeah no worries, I suspected that might be the case, and I have an environment to hand here already. |
3667185
to
a151bc7
Compare
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.
This passes the test suite locally for me for Qiskits 0.45.3, 0.46.0 and 1.0.0rc1. Thanks Ian!
This should be reviewed by a member of the primitives team before more.
* Add private primitive attributes removed by qiskit * wrong url * call private submit method * Make submission compatible with qiskit <=0.45 * Skip Operator test is qiskit >=1.0 * grr lint
Summary
Qiskit/qiskit#11051 removed some private attributes from
Sampler
andEstimator
in the process of streamlining the API. This PR adds them back in because super() no longer does so.Details and comments