Q(t) trace (precessing pole) t₁ t₂ t₃

Leggett–Garg Inequality (2D): Testing Macrorealism in Time

The Leggett–Garg inequality is the temporal cousin of Bell's inequality: instead of asking whether two distant particles can share correlations no local hidden-variable theory allows, it asks whether a single system can have a definite, undisturbed value at every moment in time. This 2D simulator draws a qubit's dichotomic observable Q(t) = ±1 as a strip chart while its underlying Bloch vector precesses under a fixed drive, and measures at three sequential instants t₁, t₂, t₃. Switch between running each pair of measurements as a separate, non-invasive two-time experiment — which lets the Leggett–Garg parameter K climb past the classical bound of 1, up to the quantum maximum of 3/2 — and running all three measurements in a single sequence, where the invasive projective collapse at t₂ forces a classical Markov chain and pins K ≤ 1. A Monte Carlo trial button samples real random outcomes to confirm the analytic prediction empirically.