Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

PulseLibraryItem

class 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 PulseLibraryItem.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

PulseLibraryItem.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.