SWAP_PHASE

pyquil.gates.SWAP_PHASE(frameA, frameB)[source]

Produce a SWAP-PHASE instruction.

Parameters
  • frameA (Frame) – A frame.

  • frameB (Frame) – A frame.

Return type

SwapPhase

Returns

A SwapPhase instance.