Search⌘ K

The Controlled Z-gate

Explore the controlled Z-gate and its role in inducing phase shifts only when both control and target qubits are in state |1⟩. Understand how this gate differs from the standard Z-gate and how it affects qubit phase states, an important concept for quantum algorithms and classification tasks.

We'll cover the following...

When we apply the ZZ-gate on separate qubits, we usually see the phase shift for those states where the respective qubit is in state 1|1\rangle. When both qubits are in-state 1|1\rangle, the phase shift adds up. Since the ZZ-gate accounts for a phase shift by half a wavelength, applying it twice results in the initial phase. Hence, the state 11|11\rangle has the same phase as a state 00|00\rangle.

Sometimes we don’t want this effect. We might want to switch the phase of a single state. This is where, the controlled ZZ ...