SET_SCALE

pyquil.gates.SET_SCALE(frame, scale)[source]

Produce a SET-SCALE instruction.

Parameters
  • frame (Frame) – The frame on which to set the scale.

  • scale (Union[Expression, MemoryReference, int64, int, float, complex]) – The scaling factor.

Return type

SetScale

Returns

A SetScale instance.