Trotterized Quantum Time Evolution (2D)
A flat 2D orthographic recreation of a digital quantum simulator's Bloch sphere: watch a qubit's exact Hamiltonian precession against a Trotter-Suzuki gate-sequence approximation, drag to orbit the sphere, scroll to zoom, and see the Trotter error shrink as step count and decomposition order increase.
Real quantum computers cannot apply an arbitrary Hamiltonian directly — they build up continuous-time evolution from short bursts of elementary gates, using the Trotter–Suzuki product formula. This 2D companion evolves a single qubit under H = hxX + hzZ exactly the same two ways as the 3D simulator: analytically, via the closed-form Rabi precession solution (a smooth cyan circle on the Bloch sphere), and digitally, by chaining first- or second-order Trotter gate sequences (a jagged magenta path) — only the rendering is different, a flat orthographic projection you orbit by dragging instead of a full WebGL scene. Adjust the field strengths and the number of Trotter steps to watch the gate-based approximation converge onto the true trajectory, and read the live infidelity between the two quantum states as the gap closes.
A flat 2D orthographic recreation of a digital quantum simulator's Bloch sphere: watch a qubit's exact Hamiltonian precession against a Trotter-Suzuki gate-sequence approximation, drag to orbit the sphere, scroll to zoom, and see the Trotter error shrink as step count and decomposition order increase.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install