SetFrequency(frequency, channel, name=None)¶
Set the channel frequency. This command operates on
PulseChannelcreates pulses of the form\[Re[\exp(i 2\pi f jdt + \phi) d_j].\]
Here, \(f\) is the frequency of the channel. The command
SetFrequencyallows the user to set the value of \(f\). All pulses that are played on a channel after SetFrequency has been called will have the corresponding frequency.
The duration of SetFrequency is 0.
Creates a new set channel frequency instruction.
float) – New frequency of the channel in Hz.
PulseChannel]) – The channel this instruction operates on.
str]) – Name of this set channel frequency command.
Channelthat this instruction is scheduled on.
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
Return duration of the supplied channels in this Instruction.
Return minimum start time for supplied channels.
Return maximum start time for supplied channels.
SetFrequency.draw([dt, style, filename, …])
Plot the instruction.
Return itself as already single instruction.
SetFrequency.insert(start_time, schedule[, name])
Return a new
Return a new schedule shifted forward by time.
Return a new schedule which is the union of self and schedule.