Quantum Lab
Quantum Lab

An interactive quantum mechanics learning platform and cryostat wiring co-design tool. From plain-language intuition to formal mathematics.

contact@quantumcircuitsimulator.com

Product

  • Circuit Lab
  • Learn
  • Hardware Studio
  • Pricing

Legal

  • Privacy Policy
  • Terms of Service

© 2026 Quantum Lab. All rights reserved.

This site, including its original quantum simulations, cryostat reference systems, 3D models, and interface design, contains protected proprietary material.

Home/Quantum Physics/Lessons/Phase Kickback
{λ}

Phase Kickback

intermediate2 qubits~8 min

The hidden mechanism behind quantum algorithms

The question

How can a controlled gate leave the target qubit unchanged while secretly writing information onto the control qubit?

Why this matters

Phase kickback is the engine behind nearly every quantum speedup. It is the mechanism by which Deutsch’s algorithm, the Bernstein-Vazirani algorithm, Grover’s search, Shor’s factoring algorithm, and quantum phase estimation all work. Understanding kickback is the single most important step between “I know what gates do” and “I understand how quantum algorithms think.” Without it, quantum algorithms seem like magic. With it, they become engineering.

Intuition

Normally, a controlled gate acts on the target qubit while the control just decides whether the gate fires. But if you prepare the target in an eigenstate of the controlled gate, something surprising happens: the target does not change (it is already in an eigenstate), but the eigenvalue shows up as a phase on the control qubit. The information flows “backward” — from the target’s eigenvalue onto the control’s phase. A later Hadamard can convert that phase into a measurable outcome.

Key insight

When the target is in an eigenstate of the gate being controlled, the gate’s eigenvalue becomes a phase on the control qubit. The target is unchanged, but the control now carries information about the target’s eigenvalue.

Circuit
Open in simulator →
q0q1HXHCXH
▶ Try it in the simulator
Step-by-step walkthrough
1

Put control in superposition

Apply H to qubit 0. It becomes |+⟩ = (|0⟩+|1⟩)/√2. This creates two branches that can later interfere.

2​∣0⟩+∣1⟩​⊗∣0⟩
2

Prepare target in |−⟩

Apply X then H to qubit 1, creating |−⟩ = (|0⟩−|1⟩)/√2. This is an eigenstate of the X gate (which CNOT applies) with eigenvalue −1.

2​∣0⟩+∣1⟩​⊗2​∣0⟩−∣1⟩​
3

Apply CNOT

CNOT applies X to the target when the control is |1⟩. But X|−⟩ = −|−⟩, so the target stays in |−⟩ while the control’s |1⟩ branch picks up a −1 phase.

2​∣0⟩−∣1⟩​⊗2​∣0⟩−∣1⟩​
4

Apply H to control

Hadamard converts the phase on the control into a measurable bit flip. The control was in |−⟩ = (|0⟩−|1⟩)/√2, and H|−⟩ = |1⟩. The hidden phase becomes visible.

∣1⟩⊗∣−⟩
5

Measure the control

The control reads |1⟩ with certainty, confirming that the phase kickback happened. The target stays in |−⟩, unchanged from step 2.

What the measurement tells you

Measuring the control as |1⟩ proves that the CNOT kicked a −1 phase back onto the control. If the target had been in the other eigenstate (|+⟩, eigenvalue +1), the control would have stayed |0⟩.

Precise explanation

Consider a controlled-U gate where U|ψ⟩ = e^{iθ}|ψ⟩ (the target is in an eigenstate of U). The action on |+⟩|ψ⟩ is: (|0⟩|ψ⟩ + |1⟩U|ψ⟩)/√2 = (|0⟩ + e^{iθ}|1⟩)/√2 ⊗ |ψ⟩. The target is unchanged, but the control has picked up the phase e^{iθ}. For CNOT with target in |−⟩ (eigenstate of X with eigenvalue −1), the phase is e^{iπ} = −1, giving (|0⟩ − |1⟩)/√2 = |−⟩ on the control.

Classical approach

Classically, if-then logic only affects the target. The control bit is read but never modified by the operation it controls.

Quantum approach

Quantumly, a controlled operation can write the target’s eigenvalue as a phase onto the control’s superposition. This backward flow of information has no classical analog.

Common misconception

Kickback is not an extra physical effect or a special rule. It is just unitary evolution viewed in the eigenbasis of the controlled gate. The math is the same CNOT — the insight is in how you prepare the target.

Where this leads

Phase kickback is the core mechanism behind Deutsch’s algorithm (where the oracle’s answer kicks back as a phase) and quantum phase estimation (where you extract an arbitrary eigenvalue bit by bit).

Prerequisites
H gate →X gate →CNOT gate →
Test your understanding

What must be true about the target qubit for phase kickback to work?

▶ Try it in the simulator↗ Nielsen and Chuang, Quantum Computation and Quantum Information↗ MIT OCW 8.06: quantum computing notes
←
Previous
Bell State Preparation
Next
Deutsch’s Algorithm
→
← Back to all lessons