Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK. Go to the latest version

PulseLibraryItem

class qiskit.qobj.PulseLibraryItem(name, samples)

GitHub

Bases: object

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

from_dict

classmethod from_dict(data)

Create a new PulseLibraryItem object from a dictionary.

Parameters

data (dict) – A dictionary for the experiment config

Returns

The object from the input dictionary.

Return type

PulseLibraryItem

to_dict

to_dict()

Return a dictionary format representation of the pulse library item.

Returns

The dictionary form of the PulseLibraryItem.

Return type

dict

Was this page helpful?
Report a bug or request content on GitHub.