cirq_rigetti.quil_input.cphase

Returns a controlled-phase gate as a Cirq CZPowGate with exponent determined by the input param.

The angle parameter of pyQuil's CPHASE gate and the exponent of Cirq's CZPowGate differ by a factor of pi.

param Gate parameter (in radians).

A CZPowGate equivalent to a CPHASE gate of given angle.