Qubit Lab

Step inside a quantum computer. Two live qubits — apply gates and watch superposition bloom, entanglement fuse them, and measurement collapse it all.

◉ cyan orb = leaning |0⟩  ·  ◉ magenta orb = leaning |1⟩  ·  shimmer = superposition  ·  lightning tether = entangled

Quantum gates

Circuit

Empty — add a Hadamard to wake the qubits up.

Measurement probabilities

q₀
q₁

What's happening in there

Superposition

Hit H on a qubit and its orb starts shimmering — it's holding |0⟩ and |1⟩ at once, exploring both paths simultaneously. The shimmer is the quantum-ness made visible.

Entanglement

Hit ⚡ Bell state: a lightning tether fuses the orbs. They stop being two things — one inseparable system. Measure one and the other instantly snaps to match. The orbs pulse in sync because, mathematically, they are one object now.

Measurement

Press MEASURE: flash — the quantum world collapses into one classical answer, picked by the probability bars. The shimmer dies. Observing the system destroys the superposition. That irreversibility is the price of answers — and the whole game of quantum algorithms is choreographing everything before this moment.