PulseLibraryItem#

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

Bases: object

An item in a pulse library.

Instantiate a pulse library item.

Parameter:
  • name (str) – A name for the pulse.

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

Methods

classmethod from_dict(data)[Quellcode]#

Create a new PulseLibraryItem object from a dictionary.

Parameter:

data (dict) – A dictionary for the experiment config

Rückgabe:

The object from the input dictionary.

Rückgabetyp:

PulseLibraryItem

to_dict()[Quellcode]#

Return a dictionary format representation of the pulse library item.

Rückgabe:

The dictionary form of the PulseLibraryItem.

Rückgabetyp:

dict