Feynman Lab
- 1Drag gates onto the wires
- 2Watch the quantum state update live
- 3Measure to collapse it, like real hardware
“Nature isn't classical, dammit — if you want to simulate nature, you'd better make it quantum mechanical.” — Richard Feynman
Circuit canvas
Drag gates from the palette onto a qubit line. Multi-qubit gates (CNOT, SWAP, CCNOT) act on the line you drop them on plus the line(s) below. Click a placed gate to remove it.
q0 · |0⟩
q1 · |0⟩
Drag a gate here, or load an experiment from the right
State probabilities (live)
The exact quantum state, updated as you build. Press Measure to sample it like a real quantum computer would.
|00⟩
100.0%
Measurement results
No measurement yet. Build a circuit and press Measure.
Tip: load the Bell Pair experiment and measure — the two qubits always agree.
Take it with you
Your circuit as real code — copy it into an actual quantum framework and run it there.
circuit.py
from qiskit import QuantumCircuit
from qiskit_aer import AerSimulator
qc = QuantumCircuit(2)
# (empty circuit)
qc.measure_all()
result = AerSimulator().run(qc, shots=1024).result()
print(result.get_counts())Gate palette
Drag gates onto the canvas. Hover for what each does.
H
X
Y
Z
S
T
I
CNOT
SWAP
CCNOT
Experiments to try
One-click classics — loaded and measured instantly.