-
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
Remove deprecated IBMQ dependent functionality #11513
Conversation
This commit removes all the functionality in Qiskit that depended on the legacy qiskit-ibmq-provider package. This process was started in Qiskit#10525 which removed the qiskit.IBMQ alias object but as was discovered in that PR there were many other places in qiskit that were relying on the qiskit-ibmq-provider package. This commit removes all of these places, which primarily include qiskit.test.decorators's online_test decorator, qiskit.tools.jupyter, qiskit.tools.monitor, qiskit.test.ibmq_mock, and qiskit.test.mock (which just referenced IBMQ and didn't actually use it). With these removals we're also no longer optionally dependent on ipywidgets, jupyter, or ipython and those are removed from the optional and development requirements lists.
One or more of the the following people are requested to review this:
|
Pull Request Test Coverage Report for Build 7481893451Warning: 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 |
This commit removes all the functionality in `qiskit.tools` with the exception of `parallel_map` which has been migrated to `qiskit.utils`. This PR does not cover the removal of `qiskit.tools.jupyter` or `qiskit.tools.monitor` which are covered by Qiskit#11513.
This commit removes all the functionality in `qiskit.tools` with the exception of `parallel_map` which has been migrated to `qiskit.utils`. This PR does not cover the removal of `qiskit.tools.jupyter` or `qiskit.tools.monitor` which are covered by Qiskit#11513.
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 has a large amount of overlap with #11445, but that's no problem. Mostly this looks fine to me, just very minor comments.
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 looks like as clean a removal as we'll get of these. Good to tidy these things up before 1.0.
* Remove qiskit.tools module This commit removes all the functionality in `qiskit.tools` with the exception of `parallel_map` which has been migrated to `qiskit.utils`. This PR does not cover the removal of `qiskit.tools.jupyter` or `qiskit.tools.monitor` which are covered by #11513. * Update qiskit/utils/__init__.py Co-authored-by: Jake Lishman <[email protected]> --------- Co-authored-by: Jake Lishman <[email protected]>
* Remove deprecate IBMQ dependent functionality This commit removes all the functionality in Qiskit that depended on the legacy qiskit-ibmq-provider package. This process was started in Qiskit#10525 which removed the qiskit.IBMQ alias object but as was discovered in that PR there were many other places in qiskit that were relying on the qiskit-ibmq-provider package. This commit removes all of these places, which primarily include qiskit.test.decorators's online_test decorator, qiskit.tools.jupyter, qiskit.tools.monitor, qiskit.test.ibmq_mock, and qiskit.test.mock (which just referenced IBMQ and didn't actually use it). With these removals we're also no longer optionally dependent on ipywidgets, jupyter, or ipython and those are removed from the optional and development requirements lists. * Remove stale api docs * Remove ibmq usage in fake backend update script * Preserve circuit library visualizations * Remove apidocs from index * Remove unused import * Update docs
* Remove qiskit.tools module This commit removes all the functionality in `qiskit.tools` with the exception of `parallel_map` which has been migrated to `qiskit.utils`. This PR does not cover the removal of `qiskit.tools.jupyter` or `qiskit.tools.monitor` which are covered by Qiskit#11513. * Update qiskit/utils/__init__.py Co-authored-by: Jake Lishman <[email protected]> --------- Co-authored-by: Jake Lishman <[email protected]>
Summary
This commit removes all the functionality in Qiskit that depended on the legacy qiskit-ibmq-provider package. This process was started in #10525 which removed the qiskit.IBMQ alias object but as was discovered in that PR there were many other places in qiskit that were relying on the qiskit-ibmq-provider package. This commit removes all of these places, which primarily include qiskit.test.decorators's online_test decorator, qiskit.tools.jupyter, qiskit.tools.monitor, qiskit.test.ibmq_mock, and qiskit.test.mock (which just referenced IBMQ and didn't actually use it). With these removals we're also no longer optionally dependent on ipywidgets, jupyter, or ipython and those are removed from the optional and development requirements lists.
Details and comments