German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

PulseLibraryItem

class 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

from_dict

Create a new PulseLibraryItem object from a dictionary.

to_dict

Return a dictionary format representation of the pulse library item.