SHIFT_FREQUENCY

pyquil.gates.SHIFT_FREQUENCY(frame, freq)[source]

Produce a SHIFT-FREQUENCY instruction.

Parameters
  • frame (Frame) – The frame on which to shift the frequency.

  • freq (Union[Expression, MemoryReference, int64, int, float, complex]) – The value, in Hz, to add to the existing frequency.

Return type

ShiftFrequency

Returns

A ShiftFrequency instance.