Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

MemorySlot

class MemorySlot(index)[código fonte]

Bases: ClassicalIOChannel

Memory slot channels represent classical memory storage.

Channel class.

Parâmetros

index (int) – Index of channel.

Methods

is_parameterized

Return True iff the channel is parameterized.

Attributes

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.

Tipo de retorno

Union[int, ParameterExpression]

name

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

Tipo de retorno

str

parameters

Parameters which determine the channel index.

Tipo de retorno

Set

prefix: Optional[str] = 'm'

A shorthand string prefix for characterizing the channel type.