cirq_rigetti.quil_input.phase

Returns a single-qubit phase gate as a Cirq ZPowGate with exponent determined by the input param.

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

param Gate parameter (in radians).

A ZPowGate equivalent to a PHASE gate of given angle.