◆ Quantum Circuit Simulator

Build a circuit. Watch the state vector move.

Drag gates onto the wires below. Every placement runs a real complex-amplitude simulation underneath — no lookup tables, no pre-baked answers — up to 4 qubits and 8 columns deep.

1–4 Qubits Real State-Vector Engine Live Measurement Shots Histogram
Controls
Gate Palette — Drag onto a Wire
Single-qubit gates drop directly. CNOT / CZ / SWAP need two clicks: drop on the control wire, then click the target wire in the same column.
Circuit
single-qubit gate rotation gate two-qubit gate measurement
Quantum State 3 qubits · 8 basis states
phase 0° phase 120° phase 240° bar height = probability, color = phase
Last Measurement
Total Probability
1.000
Most Likely Outcome
New to this? Angle encoding from Module 8 is exactly a single Ry(θ) gate on one qubit — try dragging one onto wire q0 and clicking it to change the angle. The full variational loop from Module 9 is this same circuit, plus a classical optimizer choosing the angles for you.