Viewnitary
Unitary matrices produced by familiar quantum circuits, shown as static images.
Encoding
fixed absolute scale
Each pixel represents z = ⟨y|U|x⟩, or a state amplitude where noted. Output states run down the rows and input states across the columns.
For z = reiθ, phase sets the HSV hue to θ / 2π, while magnitude sets brightness to 0.9r1/6 at saturation 8/9; zero is black. Basis states run lexicographically from |00…0⟩ to |11…1⟩, with the first qubit most significant. Images share one scale and are not normalized independently.
CNOT gates
4 qubits · 16 × 16
Hadamard gates
1 and 5 qubits · 2 × 2 and 32 × 32
S gate on the first qubit
2 qubits · 4 × 4
Random Clifford circuit
4 qubits · 16 × 16
T gate on the first qubit
4 qubits · 16 × 16
Random Clifford + T circuit
4 qubits · 16 × 16
Haar-random unitaries
2, 4, and 5 qubits · 4 × 4, 16 × 16, and 32 × 32
Grover search
4 qubits · 16 × 16 operator and 16 × 1 state
Quantum Fourier transform
4 and 8 qubits · 16 × 16 and 256 × 256, plus an 8 × 8 detail