qiskit/releasenotes/notes/0.17/remove-deprecated-pulse-cod...

45 lines
1.5 KiB
YAML

---
upgrade:
- |
Features of Qiskit Pulse (:mod:`qiskit.pulse`) which were deprecated
in the 0.15.0 release (August, 2020) have been removed. The full set
of changes are:
.. list-table::
:header-rows: 1
* - Module
- Old
- New
* - ``qiskit.pulse.library``
- ``SamplePulse``
- :class:`~qiskit.pulse.library.Waveform`
* - ``qiskit.pulse.library``
- ``ConstantPulse``
- :class:`~qiskit.pulse.library.Constant`
* - (module rename)
- ``pulse.pulse_lib`` Module
- :mod:`qiskit.pulse.library`
.. list-table::
:header-rows: 1
* - Class
- Old method
- New method
* - :class:`~qiskit.pulse.library.ParametricPulse`
- ``get_sample_pulse``
- :class:`~qiskit.pulse.library.ParametricPulse.get_waveform`
* - :class:`~qiskit.pulse.instructions.Instruction`
- ``command``
- N/A. Commands and Instructions have been unified.
Use :meth:`~qiskit.pulse.instructions.Instruction.operands`
to get information about the instruction data.
* - :class:`~qiskit.pulse.instructions.Acquire`
- ``acquires``, ``mem_slots``, ``reg_slots``
- :meth:`~qiskit.pulse.instructions.Acquire.acquire`,
:meth:`~qiskit.pulse.instructions.Acquire.mem_slot`,
:meth:`~qiskit.pulse.instructions.Acquire.reg_slot`. (The
:class:`~qiskit.pulse.instructions.Acquire` instruction no
longer broadcasts across multiple qubits.)