Skip to content

Commit

Permalink
Update qpy complex amp warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ElePT committed Dec 20, 2023
1 parent 99506d2 commit 3dc2849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/qpy/binary_io/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from qiskit.pulse.schedule import ScheduleBlock
from qiskit.qpy import formats, common, type_keys
from qiskit.qpy.binary_io import value
from qiskit.qpy.exceptions import QpyError
from qiskit.qpy.exceptions import QpyError, QPYLoadingDeprecatedFeatureWarning
from qiskit.pulse.configuration import Kernel, Discriminator


Expand Down Expand Up @@ -162,7 +162,7 @@ def _read_symbolic_pulse(file_obj, version):
"Complex amp support for symbolic library pulses will be deprecated. "
"Once deprecated, library pulses loaded from old QPY files (Terra version < 0.23),"
" will be converted automatically to float (amp,angle) representation.",
PendingDeprecationWarning,
QPYLoadingDeprecatedFeatureWarning,
)
class_name = "ScalableSymbolicPulse"

Expand Down

0 comments on commit 3dc2849

Please sign in to comment.