HomeQuantum Physics3D Quantum Compiler Gate Decomposition

3D Quantum Compiler Gate Decomposition — Bloch Sphere Rotation Path

Visualize single-qubit unitary transformations on a 3D Bloch sphere, proving Euler-angle decomposition through animated state vector rotations.

Quantum Physics3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
3d-qe-topic-57 ↗ Open standalone

The 2D decomposer computes the same numbers a quantum compiler computes; this 3D companion shows what those numbers actually do. Set a target unitary U by axis and angle (or a preset gate) and the tool runs the identical Euler-angle (ZYZ) matrix decomposition to get real α, β, γ angles for Rz(α)·Ry(β)·Rz(γ) — then Play animates the qubit's Bloch-sphere state vector through the genuine 3-step rotation path this sequence describes: first a real rotation about the z-axis by γ, then about the y-axis by β, then z again by α. A gold marker fixed at U|0⟩ never moves; watching the animated white arrow land exactly on it, orbit-able from any camera angle, is a visual proof that the decomposition is correct, backed by the same numerical matrix-error check as the 2D version.

⚙ Under the hood

Visualize single-qubit unitary transformations on a 3D Bloch sphere, proving Euler-angle decomposition through animated state vector rotations.

quantumquantum computingquantum programminggate decompositionEuler anglescompilerSU(2)Three.jsphysicssimulation

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)