PulseLibraryItem#

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

Bases: object

An item in a pulse library.

Instantiate a pulse library item.

Parámetros:
  • name (str) – A name for the pulse.

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

Methods

classmethod from_dict(data)[fuente]#

Create a new PulseLibraryItem object from a dictionary.

Parámetros:

data (dict) – A dictionary for the experiment config

Devuelve:

The object from the input dictionary.

Tipo del valor devuelto:

PulseLibraryItem

to_dict()[fuente]#

Return a dictionary format representation of the pulse library item.

Devuelve:

The dictionary form of the PulseLibraryItem.

Tipo del valor devuelto:

dict