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

98 lines
2.4 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 (v0.29)
description: API reference for qiskit.pulse.MeasureChannel in qiskit v0.29
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.pulse.MeasureChannel
---
# MeasureChannel
<Class id="qiskit.pulse.MeasureChannel" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.18/qiskit/pulse/channels.py" signature="MeasureChannel(index)" modifiers="class">
Bases: `qiskit.pulse.channels.PulseChannel`
Measure channels transmit measurement stimulus pulses for readout.
Channel class.
**Parameters**
**index** (`int`) Index of channel.
## Methods
<span id="qiskit-pulse-measurechannel-assign" />
### assign
<Function id="qiskit.pulse.MeasureChannel.assign" signature="MeasureChannel.assign(parameter, value)">
Return a new channel with the input Parameter assigned to value.
**Parameters**
* **parameter** (`Parameter`) A parameter in this expression whose value will be updated.
* **value** (`Union`\[`ParameterExpression`, `float`]) The new value to bind to.
**Return type**
`Channel`
**Returns**
A new channel with updated parameters.
**Raises**
[**PulseError**](qiskit.pulse.PulseError "qiskit.pulse.PulseError") If the parameter is not present in the channel.
</Function>
<span id="qiskit-pulse-measurechannel-is-parameterized" />
### is\_parameterized
<Function id="qiskit.pulse.MeasureChannel.is_parameterized" signature="MeasureChannel.is_parameterized()">
Return True iff the channel is parameterized.
**Return type**
`bool`
</Function>
## Attributes
### 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**
`Union`\[`int`, `ParameterExpression`]
</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>
### parameters
<Attribute id="qiskit.pulse.MeasureChannel.parameters">
Parameters which determine the channel index.
**Return type**
`Set`
</Attribute>
### prefix
<Attribute id="qiskit.pulse.MeasureChannel.prefix" attributeValue="'m'" />
</Class>