qiskit-documentation/docs/api/qiskit/0.24/qiskit.pulse.MeasureChannel...

75 lines
2.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: MeasureChannel
description: API reference for qiskit.pulse.MeasureChannel
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.pulse.MeasureChannel
---
<span id="qiskit-pulse-measurechannel" />
# qiskit.pulse.MeasureChannel
<Class id="qiskit.pulse.MeasureChannel" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.16/qiskit/pulse/channels.py" signature="MeasureChannel(index)" modifiers="class">
Measure channels transmit measurement stimulus pulses for readout.
Channel class.
**Parameters**
**index** (`int`) Index of channel.
**Raises**
[**PulseError**](qiskit.pulse.PulseError "qiskit.pulse.PulseError") If `index` is not a nonnegative integer.
### \_\_init\_\_
<Function id="qiskit.pulse.MeasureChannel.__init__" signature="__init__(index)">
Channel class.
**Parameters**
**index** (`int`) Index of channel.
**Raises**
[**PulseError**](qiskit.pulse.PulseError "qiskit.pulse.PulseError") If `index` is not a nonnegative integer.
</Function>
## Methods
| | |
| ------------------------------------------------------------------------------------------------- | -------------- |
| [`__init__`](#qiskit.pulse.MeasureChannel.__init__ "qiskit.pulse.MeasureChannel.__init__")(index) | Channel class. |
## Attributes
| | |
| --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [`index`](#qiskit.pulse.MeasureChannel.index "qiskit.pulse.MeasureChannel.index") | Return the index of this channel. |
| [`name`](#qiskit.pulse.MeasureChannel.name "qiskit.pulse.MeasureChannel.name") | Return the shorthand alias for this channel, which is based on its type and index. |
| `prefix` | |
### index
<Attribute id="qiskit.pulse.MeasureChannel.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`
</Attribute>
### name
<Attribute id="qiskit.pulse.MeasureChannel.name">
Return the shorthand alias for this channel, which is based on its type and index.
**Return type**
`str`
</Attribute>
</Class>