The controlled Z gate.
cirq_rigetti.quil_input.CZ(
*qubits, **kwargs
)
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} \]