QuantumSimulator
Interactive Course
Interactive chapters from intuition to mastery
Structured Lessons
Eight modules with formulas and self-checks
Quantum Brain
Navigate lessons, laws, gates, devices, and tools
Guided Experiments
Hands-on circuits that teach one idea each
Circuit Lab
Build circuits, run them, and see the results
Gate Reference
Quick reference for all quantum gates
Cryostat Studio
3D cryostat design and simulation
Component Catalog
Browse all cryostat components
System Checks
Check your design for errors
Menu
physics
Interactive Course
Interactive chapters from intuition to mastery
Structured Lessons
Eight modules with formulas and self-checks
Quantum Brain
Navigate lessons, laws, gates, devices, and tools
Guided Experiments
Hands-on circuits that teach one idea each
simulator
Circuit Lab
Build circuits, run them, and see the results
Gate Reference
Quick reference for all quantum gates
wiringStudio
Cryostat Studio
3D cryostat design and simulation
Component Catalog
Browse all cryostat components
System Checks
Check your design for errors
Home/Quantum Physics/Lessons/Phase Kickback
▶

Phase Kickback

Watch information flow backward through a controlled gate

intermediate2 qubits·~2 min
The question

How can a controlled gate change the control qubit instead of the target?

Before you start

In a controlled gate, the control qubit decides whether the gate fires on the target. Normally, the target changes and the control stays the same. But if you prepare the target in a special state called an eigenstate, something surprising happens: the target stays the same and the control picks up a phase instead. This experiment shows you that effect step by step.

What you will see

The CNOT gate applies an X (bit flip) to the target when the control is ∣1⟩. If the target is in |−⟩, which is an eigenstate of X with eigenvalue −1, then flipping it just multiplies the state by −1. That −1 factor appears on the control's ∣1⟩ branch as a phase. The target does not change at all. A final Hadamard on the control converts this hidden phase into a measurable bit, proving the information flowed backward.

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

Apply H to qubit 0 (control)

Put the control qubit into superposition: (∣0⟩+∣1⟩)/2​. This creates the two branches that will later pick up different phases. The Bloch sphere for qubit 0 moves to the equator.

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

Apply X to qubit 1 (target)

Flip qubit 1 from ∣0⟩ to ∣1⟩. This is the first step of preparing the eigenstate. The Bloch sphere for qubit 1 moves to the south pole.

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

Apply H to qubit 1 (target)

H converts ∣1⟩ into |−⟩ = (∣0⟩−∣1⟩/2​. This is the eigenstate of X with eigenvalue −1. The target is now ready for kickback. Its Bloch sphere arrow points along −X.

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

Apply CNOT (control: q0, target: q1)

CNOT applies X to the target when the control is ∣1⟩. Since X|−⟩ = −|−⟩, the target stays in |−⟩ and the control's ∣1⟩ branch picks up a −1 phase. The control is now in |−⟩ = (∣0⟩−∣1⟩/2​. Watch carefully: the target's Bloch sphere does not move, but the control's arrow has rotated.

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

Apply H to qubit 0 (control)

The final Hadamard converts the phase on the control into a visible bit. H maps |−⟩ = (∣0⟩−∣1⟩/2​ to ∣1⟩. The control qubit is now deterministically ∣1⟩, proving the phase kickback happened. Without the Z-phase on the control, H would have returned it to ∣0⟩.

∣1⟩⊗2​∣0⟩−∣1⟩​
What to notice
  • After the CNOT, the target qubit's Bloch sphere does not move. It was in |−⟩ before and it is still in |−⟩ after.
  • The control qubit's Bloch sphere rotates after the CNOT, even though the gate nominally acts on the target.
  • The final H on the control produces ∣1⟩ with certainty. Without kickback, it would have returned to ∣0⟩.
  • The information about the target's eigenvalue (−1) has been written onto the control as a phase.
Tempting but wrong

It is tempting to think the target qubit must change because that is where the CNOT gate applies its operation. When the target is in an eigenstate of the controlled gate, the eigenvalue appears as a phase on the control instead. The gate is doing exactly what it always does; the surprising result comes from the choice of input state.

Expected result

The control qubit (q0) measures ∣1⟩ with certainty. The target qubit (q1) remains in |−⟩. Every shot returns 1 on the control, confirming that the phase kickback occurred.

Connection to the theory

This experiment demonstrates the central mechanism of the Phase Kickback lesson. That lesson explains how eigenvalues become phases, and why this backward flow of information is the engine behind Deutsch's algorithm, quantum phase estimation, and essentially every quantum speedup. Seeing it happen in the simulator makes the abstract idea tangible.

Read the full lesson →
Test your understanding

Why does the target qubit stay unchanged after the CNOT in this experiment?

▶ Load in simulator↗ Nielsen and Chuang, Quantum Computation and Quantum Information↗ MIT OCW 8.06: quantum computing notes
Previous
GHZ State
Next
Deutsch’s Algorithm
← Back to all lessons