Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

DriveChannel

class DriveChannel(index)

GitHub

Bases: qiskit.pulse.channels.PulseChannel

Drive channels transmit signals to qubits which enact gate operations.

Channel class.

Parameters

index (int) – Index of channel.


Methods

assign

DriveChannel.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 – If the parameter is not present in the channel.

is_parameterized

DriveChannel.is_parameterized()

Return True iff the channel is parameterized.

Return type

bool


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.

Return type

Union[int, ParameterExpression]

name

Return the shorthand alias for this channel, which is based on its type and index.

Return type

str

parameters

Parameters which determine the channel index.

Return type

Set

prefix

Default value: 'd'

Was this page helpful?
Report a bug or request content on GitHub.