Shortcuts

qiskit.qobj.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.

__init__(name, samples)[source]

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

__init__(name, samples)

Instantiate a pulse library item.

from_dict(data)

Create a new PulseLibraryItem object from a dictionary.

to_dict()

Return a dictionary format representation of the pulse library item.

classmethod from_dict(data)[source]

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()[source]

Return a dictionary format representation of the pulse library item.

Returns

The dictionary form of the PulseLibraryItem.

Return type

dict

You are viewing lang: English
Languages
English
Japanese
German
Korean