pyquil.gates.CPHASE10(angle, control, target)[source]

Produces a controlled-phase gate that phases the |10> state:

CPHASE10(phi) = diag([1, 1, exp(1j * phi), 1])

This gate applies to two qubit arguments to produce the variant of the controlled phase instruction that affects the state 10.

  • angle – The input phase angle to apply when q2 is in the |1> state and q1 is in the |0> state.
  • control – Qubit 1.
  • target – Qubit 2.

A Gate object.