Sixteen coupled spins with nearest-neighbour ferromagnetic coupling. Hot, the spins fluctuate independently; cooled, they settle into the uniform ground state. Drag the temperature and watch the chain decide — every spin below is simulated live, and you can click any spin to flip it yourself.
Thermal energy overwhelms the coupling. Spins flip freely, neighbours ignore each other, magnetisation hovers near zero and the energy stays high.
The coupling wins. Flips that break alignment are rejected, domains merge, and the chain locks into one uniform direction at the exact ground state, E = −2.0. Simulated benchmark result, results may vary (not customer results).
Teal = spin up, orange = spin down. The links between spins are the ferromagnetic bonds — teal when neighbours agree, orange where a domain wall sits. The chain wraps around: spin 16 is also coupled to spin 1. Click any spin to flip it.
Cool the chain and watch live ⟨E⟩ sink toward the ground state at −2.0 — and compare it against the published benchmark in the card below (simulated benchmark result, results may vary (not customer results)).
All figures on this card: simulated benchmark result, results may vary (not customer results).
Each spin wants to point the same way as its two neighbours — that is the ferromagnetic coupling J. A pair that agrees lowers the energy; a pair that disagrees raises it.
uv run thrml-bench run --exp 1
Runs Experiment 1 — the 1D ferromagnetic Ising chain, 16 spins, 1,000 sweeps — and reports ⟨E⟩ against the exact ground state of −2.0.
Reported figures: simulated benchmark result, results may vary (not customer results).