Remove deprecated code from pulse module#7267
Conversation
Pull Request Test Coverage Report for Build 1484319281
💛 - Coveralls |
mtreinish
left a comment
There was a problem hiding this comment.
It looks like you need to update the tutorials to stop using deprecated functionality before this will pass CI
|
Thanks @mtreinish I updated the corresponding tutorial. Hope this PR will pass CI. |
…nup-deprecated # Conflicts: # test/python/pulse/test_parameters.py
) This is a follow-up to #1253 and is updating the usage of the pulse drawer to avoid deprecated functionality. This is a blocker of Qiskit/qiskit#7267 which is finishing those deprecations and trying to remove the deprecated usage patterns.
mtreinish
left a comment
There was a problem hiding this comment.
Overall I think this looks good, just one question inline about the timeline otherwise everything looks good
There was a problem hiding this comment.
Weren't these just deprecated in 0.18.0? I know that was > 3 months ago now so we've passed the minimum 3 month deprecation period but did you want to give people > 1 release to adapt?
There was a problem hiding this comment.
I readd these contexts. Thanks for careful investigation. Because these context don't affect data representation of schedules so keeping them for extra release cycles should be fine.
There was a problem hiding this comment.
The deprecation release note shows up in 0.18.0: https://qiskit.org/documentation/release_notes.html#release-notes-0-18-0-deprecation-notes
bec28b0 to
e383bdb
Compare
…skit/qiskit-tutorials#1254) This is a follow-up to Qiskit/qiskit-tutorials#1253 and is updating the usage of the pulse drawer to avoid deprecated functionality. This is a blocker of Qiskit#7267 which is finishing those deprecations and trying to remove the deprecated usage patterns.
…skit/qiskit-tutorials#1254) This is a follow-up to Qiskit/qiskit-tutorials#1253 and is updating the usage of the pulse drawer to avoid deprecated functionality. This is a blocker of Qiskit#7267 which is finishing those deprecations and trying to remove the deprecated usage patterns.
…skit/qiskit-tutorials#1254) This is a follow-up to Qiskit/qiskit-tutorials#1253 and is updating the usage of the pulse drawer to avoid deprecated functionality. This is a blocker of Qiskit/qiskit#7267 which is finishing those deprecations and trying to remove the deprecated usage patterns.
…skit/qiskit-tutorials#1254) This is a follow-up to Qiskit/qiskit-tutorials#1253 and is updating the usage of the pulse drawer to avoid deprecated functionality. This is a blocker of Qiskit/qiskit#7267 which is finishing those deprecations and trying to remove the deprecated usage patterns.
…skit/qiskit-tutorials#1254) This is a follow-up to Qiskit/qiskit-tutorials#1253 and is updating the usage of the pulse drawer to avoid deprecated functionality. This is a blocker of Qiskit/qiskit#7267 which is finishing those deprecations and trying to remove the deprecated usage patterns.
Summary
This PR removes deprecated code from the pulse module. These codes have been deprecated for more than 3 months and should be removed for sake of code maintainability.
Details and comments
Corresponding unittests are removed or integrated into the test of alternative logic if any.
This code is partly overlapping with #7265.