Home▸Quantum Computing▸Multi-Qubit Quantum Circuit Builder

🧪 Multi-Qubit Quantum Circuit Builder

Build a real 2-3 qubit quantum circuit gate by gate — H, X, Z and CNOT applied to a full 2^n complex state vector via tensor-product matrix multiplication — and watch genuine entanglement emerge (a Bell or GHZ state) in the live amplitude and purity readouts.

Quantum Computing2DModerate60 FPS📱 Mobile-adapted
quantum-computing-quantum-gates-simulation ↗ Open standalone

This simulator maintains a genuine 2- or 3-qubit quantum state as a full 2ⁿ-dimensional complex amplitude vector, not a shortcut approximation. Placing an H, X or Z gate on a wire expands that gate's real 2×2 matrix into the full register via a tensor-product update; placing a CNOT applies its real 4×4 two-qubit matrix across whichever pair of qubits you choose as control and target. Build a circuit gate by gate, watch every basis-state amplitude and probability update live, and use the Bell-state or GHZ-state presets to see the state-vector engine produce genuine entanglement — verified here by partial-tracing the state down to a single qubit's reduced density matrix and reporting its purity, which drops to exactly 0.5 for a real Bell pair.

⚙ Under the hood

Build circuits with H/X/Z/CNOT on 2-3 qubits; visualize amplitudes & purity.

quantum computingqubitsentanglementquantum gatesbell statestate vectorquantum circuit

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)