Push a large machine and the work it costs is a single, reliable number. Push a few quanta — drive a small system between two configurations — and the work is a distribution: repeat the protocol and each run costs something different, and some runs cost less than the free-energy difference, as if they cheated the second law. They did not. The Jarzynski equality shows that the right average of that fluctuating work recovers the equilibrium free energy exactly, and that what is wasted is never negative once you average properly. Drive one below.
For a protocol driven at finite speed, the work $W$ has a distribution. The Jarzynski equality ties its exponential average to the equilibrium free-energy change: $\langle e^{-\beta W}\rangle=e^{-\beta\Delta F}$. The ordinary average obeys the second law, $\langle W\rangle\ge\Delta F$, and the gap is the dissipated work — the energy irreversibly lost to the bath. Drive slowly and the distribution narrows toward $\Delta F$ with nothing dissipated; drive hard and it broadens, wasting more. For a Gaussian work distribution the whole story is closed-form.
The left panel is the work distribution; the green line is the free energy the exponential average recovers, always to the left of the mean $\langle W\rangle$, and the orange tail is the fraction of runs that cost less than $\Delta F$ — the apparent second-law violations the equality accounts for. The right panel plots the dissipated work against the drive strength: it is a parabola through the origin, so slowing the protocol toward equilibrium ($\sigma\to0$) drives the waste to zero, the reversible ideal. It never goes negative — that is the second law, recovered from fluctuations.
Every gate and every pulse in the rest of the portal has a thermodynamic cost, and at the few-qubit scale that cost fluctuates. Fluctuation theorems are how the platform reasons about that cost honestly — not as a single efficiency number but as a distribution with a floor set by the free energy — and how it separates the work a protocol must spend from the work it merely wastes. It is the same coherence budget seen from the energy side.
| Quantity | Meaning |
|---|---|
| $\langle W\rangle$ | average work to run the protocol |
| $\Delta F$ | equilibrium free-energy change — the unavoidable minimum |
| $W_{\rm diss}=\langle W\rangle-\Delta F$ | dissipated work, $\ge 0$, zero only if reversible |
| Jarzynski $\langle e^{-\beta W}\rangle$ | recovers $e^{-\beta\Delta F}$ exactly, from fluctuations |
Evidence boundary: the panel computes the exactly-solvable Gaussian case of the Jarzynski equality live in your browser — the closed-form free energy and dissipated work checked against a numerical evaluation of the work average to better than $10^{-12}$. It illustrates the fluctuation theorem and the second law; it is not a hardware measurement, and the library's thermodynamics surface is explicit that it is a readiness estimate only.