Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions qiskit/qpy/binary_io/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ def _read_symbolic_pulse(file_obj, version):

# And warn that this will change in future releases:
warnings.warn(
"Complex amp support for symbolic library pulses will be deprecated. "
"Once deprecated, library pulses loaded from old QPY files (Terra version < 0.23),"
"Complex amp support for symbolic library pulses is deprecated. Once removed "
"in Qiskit 1.0.0, library pulses loaded from old QPY files (Terra version < 0.23),"
" will be converted automatically to float (amp,angle) representation.",
PendingDeprecationWarning,
DeprecationWarning,
)
class_name = "ScalableSymbolicPulse"

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
deprecations:
- |
Loading library :class:`~.qiskit.pulse.ScalableSymbolicPulse` objects with
complex ``amp`` parameter from
qpy files of version 5 or lower (Qiskit Terra < 0.23.0) is now deprecated.
Following the removal in Qiskit 1.0.0, complex ``amp`` will be automatically
converted to float (``amp``,``angle``). The change applies to the pulses:

* :class:`~.qiskit.pulse.Constant`
* :class:`~.qiskit.pulse.Drag`
* :class:`~.qiskit.pulse.Gaussian`
* :class:`~.qiskit.pulse.GaussianSquare`