cirq.CZ

cirq.CZ = cirq.CZ

A gate that applies a phase to the |11⟩ state of two qubits.

The unitary matrix of CZPowGate(exponent=t) is:

[[1, 0, 0, 0],
 [0, 1, 0, 0],
 [0, 0, 1, 0],
 [0, 0, 0, g]]

where:

g = exp(i·π·t/2).
cirq.CZ, the controlled Z gate, is an instance of this gate at
exponent=1.