PulseLibraryItem#

class qiskit.qobj.PulseLibraryItem(name, samples)[source]#

Bases : object

An item in a pulse library.

Instantiate a pulse library item.

Paramètres:
  • name (str) – A name for the pulse.

  • samples (list[complex]) – A list of complex values defining pulse shape.

Methods

classmethod from_dict(data)[source]#

Create a new PulseLibraryItem object from a dictionary.

Paramètres:

data (dict) – A dictionary for the experiment config

Renvoie:

The object from the input dictionary.

Type renvoyé:

PulseLibraryItem

to_dict()[source]#

Return a dictionary format representation of the pulse library item.

Renvoie:

The dictionary form of the PulseLibraryItem.

Type renvoyé:

dict