-
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
Reinstate pulse.Instruction.draw
#9144
Reinstate pulse.Instruction.draw
#9144
Conversation
This was erroneously broken by Qiskitgh-8306 and not detected by lint because of the existence of `qiskit.visualization.__getattr__`. This reinstates the functionality using the deprecated old instruction drawers.
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:
|
Pull Request Test Coverage Report for Build 3482318380
💛 - Coveralls |
This was erroneously broken by gh-8306 and not detected by lint because of the existence of `qiskit.visualization.__getattr__`. This reinstates the functionality using the deprecated old instruction drawers. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit da1a7e3)
This was erroneously broken by gh-8306 and not detected by lint because of the existence of `qiskit.visualization.__getattr__`. This reinstates the functionality using the deprecated old instruction drawers. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit da1a7e3) Co-authored-by: Jake Lishman <[email protected]>
This was erroneously broken by Qiskitgh-8306 and not detected by lint because of the existence of `qiskit.visualization.__getattr__`. This reinstates the functionality using the deprecated old instruction drawers. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Summary
This was erroneously broken by gh-8306 and not detected by lint because of the existence of
qiskit.visualization.__getattr__
. This reinstates the functionality using the deprecated old instruction drawers.Details and comments
I'm using the deprecated functionality, achieved by inlining what the old
pulse_drawer
(v1) code did for this path, because the paths in use haven't been triggering their deprecation warnings properly due tostacklevel
issues, so are not eligible for immediate removal. This PR is stable for backport (fixes a bug in the deprecation period), and I'll follow it with a PR for 0.23 that applies the deprecations to the v1 pulse drawer (and this method) correctly.