cirq_rigetti.quil_input.CZ

The controlled Z gate.

This is the exponent=1 instance of cirq.CZPowGate.

The unitary matrix of this gate is (empty elements are \(0\)):

\[ \begin{bmatrix} 1 & & & \\ & 1 & & \\ & & 1 & \\ & & & -1 \end{bmatrix} \]