You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks a lot for all your work on this prototype ! I waned to use it with the Aer Estimator primitive. However since qiskit.primitives.Estimator and qiskit_aer.primitives.Estimator have different call signature I don't think that works at the moment.
TypeError: __init__() got an unexpected keyword argument 'options'
What is the expected enhancement?
It would be great to be able to use the prototype with the AER estimators !
Context
No response
Suggestions
I think the only change needed is to not pass the options keyword argument as part of the zne init function.
I've forked the repo and made that simple change here
With that change, the prototype works well with the Aer estimator, but I'm not 100% sure if it's breaking something else.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What is the current behavior?
Thanks a lot for all your work on this prototype ! I waned to use it with the Aer Estimator primitive. However since
qiskit.primitives.Estimator
andqiskit_aer.primitives.Estimator
have different call signature I don't think that works at the moment.The issue is that the zne init function passes the
options
kwarg explicitly. That matches the call ofqiskit.primitives.Estimator
andqiskit.primitves.BackendEstimator
but not the call of theqiskit_aer.primitives.Estimator
As a result, the following code:
returns the following error:
What is the expected enhancement?
It would be great to be able to use the prototype with the AER estimators !
Context
No response
Suggestions
I think the only change needed is to not pass the
options
keyword argument as part of the zne init function.I've forked the repo and made that simple change here
With that change, the prototype works well with the Aer estimator, but I'm not 100% sure if it's breaking something else.
Code of Conduct
The text was updated successfully, but these errors were encountered: