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.

qiskit.pulse.MemorySlot

class MemorySlot(index)

GitHub

Memory slot channels represent classical memory storage.

Channel class.

Parameters

index (int) – Index of channel.

Raises

PulseError – If index is not a nonnegative integer.

__init__

__init__(index)

Channel class.

Parameters

index (int) – Index of channel.

Raises

PulseError – If index is not a nonnegative integer.


Methods

__init__(index)Channel class.

Attributes

indexReturn the index of this channel.
nameReturn the shorthand alias for this channel, which is based on its type and index.
prefix

index

Return the index of this channel. The index is a label for a control signal line typically mapped trivially to a qubit index. For instance, DriveChannel(0) labels the signal line driving the qubit labeled with index 0.

Return type

int

name

Return the shorthand alias for this channel, which is based on its type and index.

Return type

str

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