Skip to content

Commit

Permalink
Remove deprecated ParametricPulse classes (Qiskit#11024)
Browse files Browse the repository at this point in the history
* This is a demo

* commiting new file

* resolved conflict

* removed ParametricPulse instance from files

* style changes

* Delete demo.txt

* Update releasenotes/notes/releasenotes/notes/remove-deprecated-parametric-pulses-class-667e4b970e1163b3.yaml

Co-authored-by: Luciano Bello <[email protected]>

* Update releasenotes/notes/releasenotes/notes/remove-deprecated-parametric-pulses-class-667e4b970e1163b3.yaml

Co-authored-by: Luciano Bello <[email protected]>

* Update releasenotes/notes/releasenotes/notes/remove-deprecated-parametric-pulses-class-667e4b970e1163b3.yaml

Co-authored-by: Luciano Bello <[email protected]>

---------

Co-authored-by: Luciano Bello <[email protected]>
Co-authored-by: Naoki Kanazawa <[email protected]>
  • Loading branch information
3 people authored Dec 7, 2023
1 parent 6c7bca0 commit ac7aca3
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 684 deletions.
2 changes: 1 addition & 1 deletion qiskit/assembler/assemble_schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def _assemble_instructions(
for time, instruction in sched.instructions:

if isinstance(instruction, instructions.Play):
if isinstance(instruction.pulse, (library.ParametricPulse, library.SymbolicPulse)):
if isinstance(instruction.pulse, library.SymbolicPulse):
is_backend_supported = True
try:
pulse_shape = ParametricPulseShapes.from_instance(instruction.pulse).name
Expand Down
1 change: 0 additions & 1 deletion qiskit/pulse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@
GaussianDeriv,
Sech,
SechDeriv,
ParametricPulse,
SymbolicPulse,
ScalableSymbolicPulse,
Waveform,
Expand Down
2 changes: 0 additions & 2 deletions qiskit/pulse/library/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
Waveform
SymbolicPulse
ParametricPulse
.. _symbolic_pulses:
Expand Down Expand Up @@ -76,7 +75,6 @@
"""

from .parametric_pulses import ParametricPulse
from .symbolic_pulses import (
SymbolicPulse,
ScalableSymbolicPulse,
Expand Down
Loading

0 comments on commit ac7aca3

Please sign in to comment.