Quantum Gate Visualizer
Every single-qubit gate is a unitary matrix. Acting on the basis states and , the columns of the matrix tell you exactly where each basis state goes.
Select a gate to see its matrix and its action:
Gate H
0.7070.7070.707−0.707Hadamard — creates equal superposition.
| Input | Output |
|---|---|
| |0⟩ | (|0⟩+|1⟩)/√2 |
| |1⟩ | (|0⟩−|1⟩)/√2 |
The gate cheat-sheet
- X, Y, Z — the Pauli gates. is the quantum NOT, flips the phase of , and does both.
- H (Hadamard) — turns basis states into superpositions and back. It maps the -axis to the -axis on the Bloch sphere.
- S and T — phase gates. adds a phase; adds . The set is universal — it can approximate any quantum computation.
Unitarity
A matrix is a valid quantum gate iff . This guarantees the total probability stays and the operation is reversible.
Now build multi-qubit circuits in the Circuit Builder.