German
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

SnapshotChannel

class SnapshotChannel(*args, **kwargs)[Quellcode]

Bases: ClassicalIOChannel

Snapshot channels are used to specify instructions for simulators.

Create new snapshot 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.

Rückgabetyp

Union[int, ParameterExpression]

name

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

Rückgabetyp

str

parameters

Parameters which determine the channel index.

Rückgabetyp

Set

prefix: Optional[str] = 's'

A shorthand string prefix for characterizing the channel type.