qiskit.pulse.instructions¶
The instruction
module holds the various Instruction
s which are supported by
Qiskit Pulse. Instructions have operands, which typically include at least one
Channel
specifying where the instruction will be applied.
Every instruction has a duration, whether explicitly included as an operand or implicitly defined.
For instance, a ShiftPhase
instruction can be instantiated
with operands phase and channel, for some float phase
and a
Channel
channel
:
ShiftPhase(phase, channel)
The duration of this instruction is implicitly zero. On the other hand, the
Delay
instruction takes an explicit duration:
Delay(duration, channel)
An instruction can be added to a Schedule
, which is a
sequence of scheduled Pulse Instruction
s over many channels. Instruction
s and
Schedule
s implement the same interface.
|
The Acquire instruction is used to trigger the ADC associated with a particular qubit; e.g. |
|
Pulse |
|
A blocking instruction with no other effect. |
|
This instruction is responsible for applying a pulse on a channel. |
|
Set the channel frequency. |
|
Shift the channel frequency away from the current frequency. |
|
The set phase instruction sets the phase of the proceeding pulses on that channel to |
|
The shift phase instruction updates the modulation phase of proceeding pulses played on the same |
|
An instruction targeted for simulators, to capture a moment in the simulation. |
Abstract Classes¶
|
The smallest schedulable unit: a single instruction. |