Glossary
Controlled Z Gate
by Frank Zickert
A controlled-Z (CZ) gate is a two-qubit quantum gate that flips the phase of the second qubit (adds a minus sign) only if the first qubit is in the state . In matrix form, it leaves , , and unchanged, but turns into . It’s mainly used to create entanglement between qubits, just like the CNOT gate but with a phase flip instead of a bit flip.