-
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 Algorithms Factorizers and Linear Solvers #8617
Conversation
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the the following people are requested to review this:
|
1c7ef64
to
d9d98d3
Compare
Pull Request Test Coverage Report for Build 2963851033
💛 - Coveralls |
cefc6d3
to
692eead
Compare
@@ -50,6 +56,10 @@ class Shor: | |||
See also https://arxiv.org/abs/quant-ph/0205095 | |||
""" | |||
|
|||
@deprecate_function( |
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.
Right now this will trigger a DeprecationWarning
, should we use a PendingDeprecationWarning
first and remove these algorithms in 6 months instead of 3 since this is quite a substantial removal?
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.
They get removed after a min of 3 months or two releases right. So they will be around for 6 months roughly if deprecated now. The other algorithms such as VQE etc, I would have expected these to be deprecated now favoring the new primitive based ones that will be introduced shortly so I would have though things consistent with that.
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.
For this where there isn't an alternative it's a deprecation towards removal since we're saying they're no longer in scope for terra deprecation up front is fine. For things like vqe though @Cryoris is correct since we're replacing that functionality with a new thing we have to have the new thing in a release prior to emitting a deprecation warning.
For more details you can refer to https://qiskit.org/documentation/deprecation_policy.html
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
* Deprecate HHL and Shor * Deprecate factorizers and linear solvers * Fix docstrings
* Deprecate HHL and Shor * Deprecate factorizers and linear solvers * Fix docstrings
Summary
Factorizers and Linear Solvers deprecated as part of the
primitives
refactoring.Closes #8502
Closes #8503
Details and comments