Skip to main content
IBM Quantum Platform
Esta página pertence a uma versão antiga do site Qiskit SDK e não existe na versão mais recente. Recomendamos que você migre para a versão mais recente. Consulte as notas sobre a liberação para obter mais informações.

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

Esta página foi útil?
Relate um bug, erro de digitação ou solicite conteúdo no GitHub.