qiskit-documentation/docs/api/qiskit/1.2/qiskit.pulse.channels.Drive...

61 lines
1.9 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: DriveChannel (v1.2)
description: API reference for qiskit.pulse.channels.DriveChannel in qiskit v1.2
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.pulse.channels.DriveChannel
---
# DriveChannel
<Class id="qiskit.pulse.channels.DriveChannel" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/pulse/channels.py#L177-L180" signature="qiskit.pulse.channels.DriveChannel(*args, **kwargs)" modifiers="class">
Bases: `PulseChannel`
Drive channels transmit signals to qubits which enact gate operations.
Channel class.
**Parameters**
**index** Index of channel.
## Attributes
### index
<Attribute id="qiskit.pulse.channels.DriveChannel.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.DriveChannel.name">
Return the shorthand alias for this channel, which is based on its type and index.
</Attribute>
### parameters
<Attribute id="qiskit.pulse.channels.DriveChannel.parameters">
Parameters which determine the channel index.
</Attribute>
### prefix
<Attribute id="qiskit.pulse.channels.DriveChannel.prefix" attributeTypeHint="str | None" attributeValue="'d'">
A shorthand string prefix for characterizing the channel type.
</Attribute>
## Methods
### is\_parameterized
<Function id="qiskit.pulse.channels.DriveChannel.is_parameterized" github="https://github.com/Qiskit/qiskit/tree/stable/1.2/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.13)")
</Function>
</Class>