Qubit state r(t) Target state Trajectory trail
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Quantum Feedback Controller — Lyapunov State Stabilization

A qubit's Bloch vector is under constant attack from T1 relaxation and T2 dephasing, which relentlessly pull it toward the ground state and wash out its phase. This simulator renders that fight in real time: a Lyapunov-based feedback controller measures the gap between the current state and a target you choose, computes a corrective microwave drive field, and rotates the state back on course every frame. Tune the feedback gain against the decoherence rate to find the line between sluggish drift and unstable overshoot, switch the controller off to see the raw uncontrolled decay, and watch fidelity, control effort and the live trajectory trail on the Bloch sphere the whole time.