57 lines
1.9 KiB
Plaintext
57 lines
1.9 KiB
Plaintext
---
|
|
title: SnapshotChannel
|
|
description: API reference for qiskit.pulse.channels.SnapshotChannel
|
|
in_page_toc_min_heading_level: 1
|
|
python_api_type: class
|
|
python_api_name: qiskit.pulse.channels.SnapshotChannel
|
|
---
|
|
|
|
# SnapshotChannel
|
|
|
|
<Class id="qiskit.pulse.channels.SnapshotChannel" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.1/qiskit/pulse/channels.py#L204-L211" signature="qiskit.pulse.channels.SnapshotChannel(*args, **kwargs)" modifiers="class">
|
|
Bases: `ClassicalIOChannel`
|
|
|
|
Snapshot channels are used to specify instructions for simulators.
|
|
|
|
Create new snapshot channel.
|
|
|
|
## Attributes
|
|
|
|
### index
|
|
|
|
<Attribute id="qiskit.pulse.channels.SnapshotChannel.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.
|
|
</Attribute>
|
|
|
|
### name
|
|
|
|
<Attribute id="qiskit.pulse.channels.SnapshotChannel.name">
|
|
Return the shorthand alias for this channel, which is based on its type and index.
|
|
</Attribute>
|
|
|
|
### parameters
|
|
|
|
<Attribute id="qiskit.pulse.channels.SnapshotChannel.parameters">
|
|
Parameters which determine the channel index.
|
|
</Attribute>
|
|
|
|
### prefix
|
|
|
|
<Attribute id="qiskit.pulse.channels.SnapshotChannel.prefix" attributeTypeHint="str | None" attributeValue="'s'">
|
|
A shorthand string prefix for characterizing the channel type.
|
|
</Attribute>
|
|
|
|
## Methods
|
|
|
|
### is\_parameterized
|
|
|
|
<Function id="qiskit.pulse.channels.SnapshotChannel.is_parameterized" github="https://github.com/Qiskit/qiskit/tree/stable/1.1/qiskit/pulse/channels.py#L135-L137" signature="is_parameterized()">
|
|
Return True iff the channel is parameterized.
|
|
|
|
**Return type**
|
|
|
|
[bool](https://docs.python.org/3/library/functions.html#bool "(in Python v3.12)")
|
|
</Function>
|
|
</Class>
|
|
|