-
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 the discrete pulse library #11110
Deprecate the discrete pulse library #11110
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. Thanks @TsafrirA
@@ -310,12 +310,12 @@ | |||
"source": [ | |||
"#### Pulse library functions\n", | |||
"\n", | |||
"Our own pulse library has sampling methods to build a `Waveform` from common functions." | |||
"It is possible to convert `SymbolicPulse` objects into `Waveform`s via the `get_waveform()` method. Using our own pulse library you can build `Waveform` from common functions." |
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.
fyi @abbycross
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.
@nkanazawa1989 can you tell me if any (other) information in the Building Pulse Schedules tutorial is important to migrate to the Qiskit docs on IBM Quantum? I believe it will get lost otherwise with the big migration.
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.
I think new docs is largely based off of the existing Building Pulse Schedules tutorial so the rest of contents should be fine.
Pull Request Test Coverage Report for Build 6681968128
💛 - Coveralls |
Given that this removal is planned for 1.0, we should backport the deprecation to 0.46. Thanks @TsafrirA for pointing it out. |
@Mergifyio backport stable/0.46 |
✅ Backports have been created
|
* Promote to deprecation and correct tests * remove `guassian` from tutorial * Release notes * change to 0.46.0 * Test fix * Lynt (cherry picked from commit 7c89b68)
* Promote to deprecation and correct tests * remove `guassian` from tutorial * Release notes * change to 0.46.0 * Test fix * Lynt (cherry picked from commit 7c89b68) Co-authored-by: TsafrirA <[email protected]>
Summary
All pulses in the discrete pulse library now raise a
DeprecationWarning
.Details and comments
#10222 started the deprecation process of the discrete pulse library, and now the
PendingDeprecationWarning
are promoted toDeprecationWarning
. Tests were updated accordingly.The tutorial 06_building_pulse_schedules.ipynb was updated in a very shallow way - the deprecated functions were removed, but the tutorial itself seems a bit stale. It requires some updates to the
SymbolicPulse
era. This was beyond the scope of this PR.