Quantum Gate Simulator
Build quantum circuits gate by gate. Watch the qubit state evolve in real time.
Initial Qubit State
Quantum Gates
Circuit & State Evolution
|0⟩
← Click gates above to build your circuit
Initial StateStep 0
|ψ⟩ = (1.0000)|0⟩ + (0.0000)|1⟩
P(|0⟩) = 100.0%
P(|1⟩) = 0.0%
About Quantum Gates
Quantum gates are unitary operations that transform qubit states. Unlike classical logic gates, quantum gates are reversible and can create superposition and entanglement.
The Hadamard gate (H) maps |0⟩ → |+⟩ = (|0⟩+|1⟩)/√2, creating an equal superposition. Pauli gates (X, Y, Z) perform rotations on the Bloch sphere. The S and T gates apply phase rotations of π/2 and π/4 respectively.
This simulator applies each gate sequentially as matrix multiplication on the state vector, showing the exact amplitudes and measurement probabilities at every step.