Qubit Bloch Sphere: Gates, Rabi Driving and T1/T2 Decoherence

A glass Bloch sphere: press gates, drive the qubit with a field (Rabi flopping, detuning) and watch T1 and T2 shrink the arrow into the sphere. Drag to orbit.

Switch to 2D
Controls

Presets

Parameters

Quality

Camera

Gates

Prepare state

Model checks

The science

Idea. A pure qubit state a|0> + b|1> is a point on the Bloch sphere, r = (⟨σx⟩, ⟨σy⟩, ⟨σz⟩); gates are rotations of that point, a resonant drive turns it at the Rabi frequency, and decoherence pulls it into the ball: T1 relaxes z towards equilibrium, T2 shrinks the transverse part.

Model. In the rotating frame dr/dt = Ω × r - (x/T2, y/T2, (z - r0)/T1) with Ω = (W cosφ, W sinφ, Δ), integrated by RK4. Without decay this is exactly the Schrödinger equation with H = ½Ω·σ (ħ = 1). Gate buttons rotate the vector: X, Y, Z by π about their axes, H by π about (x+z)/√2, S and T by π/2 and π/4 about z, √X by π/2 about x. Under a continuous drive the steady state is zss = r0(1+Δ²T2²)/(1+Δ²T2²+W²T1T2), a Lorentzian with half-width √(1+W²T1T2)/T2 (power broadening). Positivity needs 1/T2 = 1/(2T1) + 1/Tφ, so the page caps T2 at 2T1.

Simplifications. One isolated qubit, Markovian Bloch-type relaxation with constant rates, instantaneous ideal gates, rotating-wave drive, no leakage levels, measurement or control noise; values are illustrative (microsecond scale like some superconducting or spin qubits, not a specific device). r0 = tanh(hf/2kBT) is the thermal polarisation (1 = zero temperature). Checks: textbook gate matrices vs rotations, Bloch ODE vs exact Schrödinger evolution and the generalised Rabi formula, free-decay closed forms, steady state by linear solve vs long integration with the power-broadened line width, and |r| ≤ 1.

Loading model...
Loading Blender model...
-
-
Made with 🟠 Blender · Three.js