Instruction(operands, duration, channels, name=None)¶
The smallest schedulable unit: a single instruction. It has a fixed duration and specified channels.
Tuple) – The argument list.
int) – Length of time taken by the instruction in terms of dt.
Channel]) – Tuple of pulse channels that this instruction operates on.
str]) – Optional display name for this instruction.
Returns channels that this schedule uses.
The associated command.
Duration of this instruction.
Unique identifier for this instruction.
Iterable for getting instructions from Schedule tree.
Name of this instruction.
Return instruction operands.
Relative begin time of this instruction.
Relative end time of this instruction.
Occupied time slots by this instruction.
Return a new
scheduleinserted at the maximum time over all channels shared between
Modify and return self with parameters assigned according to the input.
Return duration of the supplied channels in this Instruction.
Return minimum start time for supplied channels.
Return maximum start time for supplied channels.
Instruction.draw([dt, style, filename, …])
Plot the instruction.
Return itself as already single instruction.
Instruction.insert(start_time, schedule[, name])
Return a new
Return a new schedule shifted forward by time.