PulseLibraryItem

class PulseLibraryItem(name, samples)[source]

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

PulseLibraryItem.from_dict(data)

Create a new PulseLibraryItem object from a dictionary.

PulseLibraryItem.to_dict()

Return a dictionary format representation of the pulse library item.