Quantum image encoding
Amplitude-encoded images
Quantum register
Position qubits
4
Color qubits1
4×4 image5 qubits
Even position qubits → square n×n. 2/4/6/8/10 qubits = 2×2 … 32×32. ρ is 2ⁿ×2ⁿ — at 8+ qubits the stack renders the strongest ρ cells (a full matrix is 4ⁿ).
Source image
Paint in the Source tile, or load a photo — it downsamples to the grid.
ρ colour
Labels and heat cut
Heat ≥0.00
Colour curve matches the Quantum Algorithm Visualizer.
Quantum operations
Decode
Sampling lives on the Reconstruction panel →
State register
Amplitude fieldpaint · split into |0⟩cos + |1⟩sin|ρ|
Source · paint
Ink
Size 1
|0⟩ · cos θ
|1⟩ · sin θ
ρ(t) state stackdensity matrix · scrub the score3D · drag
init
Reconstructionsample · decode · compareidle
shots → P(|1⟩) → tape |i⟩ → image
Shots4000
Time1.2s
Encoding circuitclick to scrub · synced to stack○=0 ●=1