← All 16 Stations Station 01 · Experiment 1 · Thermo Lab Live simulation running in your browser

The 1D Ferromagnetic Ising Chain

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.

Hot — disordered

Thermal energy overwhelms the coupling. Spins flip freely, neighbours ignore each other, magnetisation hovers near zero and the energy stays high.

Cold — the ground state

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).

The chain — live

T = 1.20 · Fluctuating

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.

T = 1.20 · β = 0.83

Live readouts

0.00 energy E now
Live ⟨E⟩ · last 200 sweeps
—
Magnetisation M
0.00
Domain walls
0 / 16
Sweeps run
0
Flips accepted
—
Spins up
8 / 16
Alignment |M|

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)).

Energy trace — every sweep, as it happens

dashed line: exact ground state −2.0 · simulated benchmark result, results may vary (not customer results)0 sweeps recorded

Published benchmark · Exp 1

Mean energy ⟨E⟩−0.965
Exact ground state−2.0
Runtime0.210 s
Sweeps1,000
System16 spins

All figures on this card: simulated benchmark result, results may vary (not customer results).

The physics

H = −J Σi si si+1 ,  si = ±1,  J > 0

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.

  • Sampler: Metropolis — propose a single spin flip, always accept it if it lowers the energy, accept it with probability e−ΔE/T if it raises it.
  • A sweep is 16 flip attempts — one per spin, on average.
  • Ground state: all 16 spins aligned, every bond satisfied. There are two of them: all up, or all down.
  • Why 1D is special: a single domain wall costs the same energy anywhere on the chain, so at any nonzero temperature walls wander freely — which is why this chain orders only as T → 0, and why it makes such a clean first benchmark.

Run it yourself

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).