DeepPractise
DeepPractise

Phase Kickback

Track: Quantum Algorithms · Difficulty: Intermediate · Est: 13 min

Phase Kickback

Overview

Many quantum algorithms work by storing problem information in phase. But phase is not directly observed by measurement in the computational basis.

Phase kickback is a core primitive that explains how phase becomes useful:

  • a controlled operation can cause a phase factor to appear on the control register,
  • effectively “kicking back” information into where you can later interfere and measure it.

This idea appears repeatedly (in different forms) in algorithms involving oracles, periodicity, and amplitude shaping.

Intuition

A controlled gate is “if control is 1, do something to the target.”

Now imagine the target is prepared in a special state that responds to the “do something” by acquiring only a phase. If the target’s visible state doesn’t change (only a phase does), then the only place the effect can show up is in the relative phase between control branches.

That relative phase is the kickback.

A concrete mental picture:

  • Control in superposition means the circuit explores two branches at once: control=0 and control=1.
  • Only the control=1 branch triggers UU.
  • If triggering UU multiplies the target by a phase eiφe^{i\varphi}, then the control=1 branch picks up that phase relative to control=0.

Later operations can convert that relative phase into amplitude differences that measurement can detect.

Formal Description

Consider a controlled-unitary operation (controlled-UU), acting as:

  • if control is 0|0\rangle, do nothing,
  • if control is 1|1\rangle, apply UU to the target.

Suppose the target is in a state ψ|\psi\rangle such that

Uψ=eiφψ.U|\psi\rangle = e^{i\varphi}|\psi\rangle.

This means ψ|\psi\rangle is an eigenstate of UU with eigenvalue eiφe^{i\varphi}. (You don’t need spectral theory here; just read it as: “UU leaves the state the same up to a phase.”)

Now prepare the control in +=12(0+1)|+\rangle = \tfrac{1}{\sqrt{2}}(|0\rangle+|1\rangle). The joint starting state is

+ψ=12(0ψ+1ψ).|+\rangle\otimes|\psi\rangle = \tfrac{1}{\sqrt{2}}(|0\rangle|\psi\rangle + |1\rangle|\psi\rangle).

Apply controlled-UU:

  • the 0|0\rangle branch stays 0ψ|0\rangle|\psi\rangle,
  • the 1|1\rangle branch becomes 1Uψ=1eiφψ|1\rangle U|\psi\rangle = |1\rangle e^{i\varphi}|\psi\rangle.

So the result is

12(0ψ+eiφ1ψ)=(12(0+eiφ1))ψ.\tfrac{1}{\sqrt{2}}(|0\rangle|\psi\rangle + e^{i\varphi}|1\rangle|\psi\rangle) = \Big(\tfrac{1}{\sqrt{2}}(|0\rangle + e^{i\varphi}|1\rangle)\Big)\otimes|\psi\rangle.

The phase factor is now on the control qubit’s relative phase. That’s phase kickback.

Worked Example

Take a simple unitary: Z. We know

Z1=1.Z|1\rangle = -|1\rangle.

So 1|1\rangle is an eigenstate of Z with phase eiφ=1e^{i\varphi}=-1 (meaning φ=π\varphi=\pi).

Now consider controlled-Z, with target prepared as 1|1\rangle and control prepared as +|+\rangle:

+1=12(01+11).|+\rangle|1\rangle = \tfrac{1}{\sqrt{2}}(|0\rangle|1\rangle + |1\rangle|1\rangle).

Apply CZ:

  • if control is 0, nothing happens,
  • if control is 1, Z is applied to the target, turning 1|1\rangle into 1-|1\rangle.

So:

CZ(+1)=12(0111)=1.\text{CZ}(|+\rangle|1\rangle)=\tfrac{1}{\sqrt{2}}(|0\rangle|1\rangle - |1\rangle|1\rangle) = | - \rangle\otimes|1\rangle.

The target ends unchanged (still 1|1\rangle), but the control flipped from +|+\rangle to | - \rangle. That change is a pure relative phase effect.

Turtle Tip

Turtle Tip

Phase kickback is easiest to spot when the target is an eigenstate: controlled-UU turns “UU on the target” into “phase on the control.”

Common Pitfalls

Common Pitfalls
  • Don’t say “the phase moved as a particle.” Nothing physically travels; it’s a statement about relative phase between branches of a superposition.
  • Don’t forget that phase is only meaningful relative to something. Kickback creates a relative phase between control=0 and control=1 components.

Quick Check

Quick Check
  1. In phase kickback, why is it helpful for the target to be an eigenstate of UU?
  2. In the CZ example, what happens to the control state and why?

What’s Next

Phase kickback is a mechanism for turning hidden phase into controllable structure. Next we build intuition for the Quantum Fourier Transform (QFT), which is a systematic way of converting phase patterns into information about periodicity.