PulseLibraryItem#

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

Bases: object

An item in a pulse library.

Instantiate a pulse library item.

প্যারামিটার:
  • name (str) -- A name for the pulse.

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

Methods

classmethod from_dict(data)[source]#

Create a new PulseLibraryItem object from a dictionary.

প্যারামিটার:

data (dict) -- A dictionary for the experiment config

রিটার্নস:

The object from the input dictionary.

রিটার্ন টাইপ:

PulseLibraryItem

to_dict()[source]#

Return a dictionary format representation of the pulse library item.

রিটার্নস:

The dictionary form of the PulseLibraryItem.

রিটার্ন টাইপ:

dict