-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 BasePrimitiveResult #11054
Deprecate BasePrimitiveResult #11054
Conversation
One or more of the the following people are requested to review this:
|
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.
Also, given Ian's RFC, is it actually set in stone that these will be removed in the way they're being done here, or is there a chance that there will just be a completely disjoint versioned set of primitives APIs, in which case these needn't be so eagerly deprecated?
d78dbc1
to
4bf64e6
Compare
@t-imamichi Updated this PR if you could re-review |
Pull Request Test Coverage Report for Build 7465611903Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
Deprecates the unnecessary base class BasePrimitiveResult so we can have a clean break in defining new ones in Qiskit 1.0. Also deprecates the common utility methods `decompose`, `experiments`, and `num_experimetns` this base class adds to SamplerResult and EstimatorResult. Add jakes suggestion
4bf64e6
to
847e00b
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.
LGTM
Deprecates the unnecessary base class BasePrimitiveResult so we can have a clean break in defining new ones in Qiskit 1.0. Also deprecates the common utility methods `decompose`, `experiments`, and `num_experimetns` this base class adds to SamplerResult and EstimatorResult. Add jakes suggestion
* Deprecate BasePrimitiveResult (#11054) Deprecates the unnecessary base class BasePrimitiveResult so we can have a clean break in defining new ones in Qiskit 1.0. Also deprecates the common utility methods `decompose`, `experiments`, and `num_experimetns` this base class adds to SamplerResult and EstimatorResult. Add jakes suggestion * Remove deprecated features in 0.46 in Primitives * lint * lint --------- Co-authored-by: Christopher J. Wood <[email protected]> Co-authored-by: Matthew Treinish <[email protected]>
Summary
Deprecates the unnecessary base class BasePrimitiveResult so we can have a clean break in defining new ones in Qiskit 1.0. Also deprecates the common utility methods
decompose
,experiments
, andnum_experimetns
this base class adds to SamplerResult and EstimatorResult.Details and comments