Skip to content

Commit

Permalink
Remove the discrete pulse library (#11277)
Browse files Browse the repository at this point in the history
* Remove the discrete pulses library

* Fixes
  • Loading branch information
TsafrirA authored Nov 20, 2023
1 parent 1dd4f54 commit f453b11
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 1,077 deletions.
38 changes: 1 addition & 37 deletions qiskit/pulse/library/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
This model provides the most flexibility to express arbitrary waveforms and allows
a rapid prototyping of new control techniques. However, this model is typically memory
inefficient and might be hard to scale to large-size quantum processors.
Several waveform subclasses are defined by :ref:`waveforms`,
but a user can also directly instantiate the :class:`~Waveform` class with ``samples`` argument
A user can directly instantiate the :class:`~Waveform` class with ``samples`` argument
which is usually a complex numpy array or any kind of array-like data.
In contrast, the :class:`~SymbolicPulse` model only stores the function and its parameters
Expand Down Expand Up @@ -52,26 +51,6 @@
ParametricPulse
.. _waveforms:
Waveform Pulse Representation
=============================
.. autofunction:: constant
.. autofunction:: zero
.. autofunction:: square
.. autofunction:: sawtooth
.. autofunction:: triangle
.. autofunction:: cos
.. autofunction:: sin
.. autofunction:: gaussian
.. autofunction:: gaussian_deriv
.. autofunction:: sech
.. autofunction:: sech_deriv
.. autofunction:: gaussian_square
.. autofunction:: drag
.. _symbolic_pulses:
Parametric Pulse Representation
Expand All @@ -97,21 +76,6 @@
"""

from .discrete import (
constant,
zero,
square,
sawtooth,
triangle,
cos,
sin,
gaussian,
gaussian_deriv,
sech,
sech_deriv,
gaussian_square,
drag,
)
from .parametric_pulses import ParametricPulse
from .symbolic_pulses import (
SymbolicPulse,
Expand Down
Loading

0 comments on commit f453b11

Please sign in to comment.