# qiskit.pulse.ControlChannel¶

class ControlChannel(index)[Quellcode]

Control channels provide supplementary control over the qubit to the drive channel. These are often associated with multi-qubit gate operations. They may not map trivially to a particular qubit index.

Channel class.

Parameter

index (int) – Index of channel.

__init__(index)

Channel class.

Parameter

index (int) – Index of channel.

Methods

 __init__(index) Channel class. assign(parameter, value) Return a new channel with the input Parameter assigned to value. Return True iff the channel is parameterized.

Attributes

 index Return the index of this channel. name Return the shorthand alias for this channel, which is based on its type and index. parameters Parameters which determine the channel index. prefix
assign(parameter, value)

Return a new channel with the input Parameter assigned to value.

Parameter
• parameter (Parameter) – A parameter in this expression whose value will be updated.

• value (Union[ParameterExpression, float]) – The new value to bind to.

Rückgabetyp

Channel

Rückgabe

A new channel with updated parameters.

Verursacht

PulseError – If the parameter is not present in the channel.

property 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.

Rückgabetyp

Union[int, ParameterExpression]

is_parameterized()

Return True iff the channel is parameterized.

Rückgabetyp

bool

property name

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

Rückgabetyp

str

property parameters

Parameters which determine the channel index.

Rückgabetyp

Set