QUANTUM COMPUTING SIMULATION

The stock phrase that a quantum computer tries every possibility at once falls apart at the end: n qubits really do carry 2ⁿ amplitudes, but a measurement returns exactly one outcome, with probability equal to the squared amplitude, so an algorithm has to funnel amplitude onto the answer before measuring. A Hadamard gate takes |0⟩ to (|0⟩+|1⟩)/√2, swinging the state from the north pole of the Bloch sphere out to the equator; add CNOT and the two qubits become a Bell pair (|00⟩+|11⟩)/√2, perfectly correlated yet still unable to signal faster than light. The advantage exists only for a few problems such as Shor and Grover.

▸ Initializing qubit |0⟩ & the Bloch sphere…
▸ Loading quantum gates H · X · Z · CNOT
▸ Calibrating superposition α|0⟩+β|1⟩ (|α|²+|β|²=1)
▸ Building the circuit & measurement (Born rule)
▸ Cooling, isolating noise (decoherence)…
▸ Ready — Online. ✅
0%
⌂ Mind & Machine

Simulation room Quantum computing

Quantum Computing — qubit · gates · entanglement
Online
qubit · superposition · gate · measure
Measurement probability
🔵 Qubit state
Qubit state—
Probability |0⟩—
Probability |1⟩—
Qubits—
Gate applied—
Measurement result—
Viewing—
Notes
A qubit is a superposition α|0⟩+β|1⟩ (|α|²+|β|²=1). Measuring makes it "collapse" to 0 or 1 with probability |amplitude|². n qubits ↔ 2ⁿ amplitudes — powerful, but only for a few problems (Shor, Grover).
—
Apply gates H/X/Z/CNOT to rotate the Bloch arrow · click Measure to collapse the state · pick a "Scenario" (superposition / entanglement / measure) · click a concept for details
Your browser has canvas disabled.
Distribution of measurement results over many runs (histogram) ratio 0ratio 1
About Quantum Computing

The stock phrase that a quantum computer tries every possibility at once falls apart at the end: n qubits really do carry 2ⁿ amplitudes, but a measurement returns exactly one outcome, with probability equal to the squared amplitude, so an algorithm has to funnel amplitude onto the answer before measuring. A Hadamard gate takes |0⟩ to (|0⟩+|1⟩)/√2, swinging the state from the north pole of the Bloch sphere out to the equator; add CNOT and the two qubits become a Bell pair (|00⟩+|11⟩)/√2, perfectly correlated yet still unable to signal faster than light. The advantage exists only for a few problems such as Shor and Grover.

Related topics in Mind & Machine