PulseLibraryItem
class qiskit.qobj.PulseLibraryItem(name, samples)
Bases: object
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.
Methods
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
Esta página foi útil?
Relate um bug, erro de digitação ou solicite conteúdo no GitHub.