Quantum Data Re-uploading Classifier — 2D Bloch Disk
2D-native re-imagining of the single-qubit data re-uploading classifier: a draggable flat Bloch-disk projection, a raster decision-boundary heatmap, and a live loss/accuracy strip chart, all driven by the same parameter-shift-rule gradient descent.
A single qubit, reset to |0⟩ and re-encoded with the same 2D input point across several layers, is enough to learn a nonlinear decision boundary — a result from the "data re-uploading" family of quantum machine-learning circuits. This 2D-native build runs the identical single-qubit statevector math and exact parameter-shift-rule gradient as the 3D version, but renders it entirely with flat canvas drawing: a draggable Bloch-disk projection, a raster classification heatmap, and a live-scrolling loss/accuracy chart, so you can watch a genuinely quantum-native optimizer sculpt a decision boundary — and converge — in real time.
2D-native re-imagining of the single-qubit data re-uploading classifier: a draggable flat Bloch-disk projection replaces the 3D sphere, a raster decision-boundary heatmap replaces the tile grid, and a live loss/accuracy strip chart tracks convergence, all driven by the same parameter-shift-rule gradient descent.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install