Quantum lab

Circuit simulator

Build a quantum circuit, add noise, measure mid-circuit, optimize gates, and inspect results. 4 qubits, 10 steps, 13 gate types.

!

Noise uses Monte Carlo single-trajectory simulation — correct on average across many shots, not per single run. No density matrix or hardware-specific transpilation. Use the shot histogram tab for noisy results.

Coming in a future version: density matrix simulation, hardware-specific noise models (IBM, IonQ), qubit routing and transpilation, Bloch sphere visualization, circuit export to Qiskit and OpenQASM, and benchmark comparisons across backends.

Circuit metricsupdates live
0
Total gates
0
Single-qubit
0
Two-qubit
0
Three-qubit
0
Measurements
0
Circuit depth

Preset circuits

Gates

·Hadamard - creates superposition
Qubits
Noiseideal (no noise)
Repetitions1024 shots

One shot = one full circuit run = one random measurement outcome. More shots gives a more accurate picture of the true probability distribution.

Circuit

t0
t1
t2
t3
t4
t5
t6
t7
t8
t9
|0>q0
|0>q1

Select a gate then click a cell to place it

Gate reference

H
H
creates superposition
X
X
bit flip (quantum NOT)
Y
Y
bit and phase flip
Z
Z
phase flip
S
S
90 degree phase shift
T
T
45 degree phase shift
CNOT
CNOT
entangles two qubits
SWAP
SWAP
exchanges two qubit states
CCX
CCX
controlled-controlled-NOT
Rx
Rx
X-axis rotation by angle theta
Ry
Ry
Y-axis rotation by angle theta
Rz
Rz
Z-axis rotation by angle theta
M
M
collapses qubit to 0 or 1