SnapshotChannel¶
- class SnapshotChannel(*args, **kwargs)[source]¶
Bases :
ClassicalIOChannel
Snapshot channels are used to specify instructions for simulators.
Create new snapshot channel.
Methods
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.
- name¶
Return the shorthand alias for this channel, which is based on its type and index.
- parameters¶
Parameters which determine the channel index.
- prefix: Optional[str] = 's'¶
A shorthand string prefix for characterizing the channel type.