qiskit.qobj.PulseLibraryItem
class PulseLibraryItem(name, samples)
An item in a pulse library.
Instantiate a pulse library item.
Parameters
- name (str) – A name for the pulse.
- samples (list[complex]) – A list of complex values defining pulse shape.
__init__
__init__(name, samples)
Instantiate a pulse library item.
Parameters
- name (str) – A name for the pulse.
- samples (list[complex]) – A list of complex values defining pulse shape.
Methods
__init__ (name, samples) | Instantiate a pulse library item. |
from_dict (data) | Create a new PulseLibraryItem object from a dictionary. |
to_dict () | Return a dictionary format representation of the pulse library item. |
from_dict
classmethod from_dict(data)
Create a new PulseLibraryItem object from a dictionary.
Parameters
data (dict) – A dictionary for the experiment config
Returns
The object from the input dictionary.
Return type
to_dict
to_dict()
Return a dictionary format representation of the pulse library item.
Returns
The dictionary form of the PulseLibraryItem.
Return type
dict
Was this page helpful?
Report a bug or request content on GitHub.