HomeArticlesPhysics & Mechanics

Spin Glasses: When Every Spin Wants Two Contradictory Things

Random ferromagnetic and antiferromagnetic bonds create frustration, a rugged landscape of metastable states, and a relaxation so slow it barely looks like it is happening at all.

mysimulator teamUpdated June 2026≈ 8 min read▶ Open the simulation

Ordinary magnets pick a side; spin glasses can't

A ferromagnet's ground state is simple: every spin aligns with every other spin, minimising the energy of every bond simultaneously. A spin glass is what happens when a real material — physically, a dilute magnetic alloy like Cu-Mn where magnetic ions sit at random positions — has bonds of both signs: some pairs of spins want to align (ferromagnetic, J > 0) and some want to anti-align (antiferromagnetic, J < 0), scattered randomly through the lattice. There is no longer any single configuration that satisfies every bond at once, and that impossibility is the whole story of a spin glass.

live demo · a frustrated spin lattice slowly relaxing● LIVE

The Edwards-Anderson model

The minimal model, introduced by Edwards and Anderson in 1975, takes the familiar Ising Hamiltonian and simply lets the coupling J_ij between each pair of neighbouring spins be an independent random variable — usually drawn from a Gaussian or a ±J coin flip — instead of a single fixed constant:

H = - Σ  J_ij · s_i · s_j        (sum over neighbouring pairs i,j)

s_i = ±1   (spin up or down)
J_ij = random, some positive (ferromagnetic), some negative (antiferromagnetic)

Nothing about this Hamiltonian looks unusual — it is the same form as an ordinary Ising ferromagnet — but the randomness and mixed sign of J_ij changes the physics completely, because it makes frustration essentially unavoidable.

Frustration: a loop that can never be fully happy

Consider the simplest possible frustrated unit: a triangle of three spins with one antiferromagnetic bond and two ferromagnetic bonds. Try to satisfy all three simultaneously and you cannot — flip any spin to fix one unhappy bond and you break another. At least one bond around that triangle is always left in its higher-energy, unsatisfied state, no matter which of the eight possible spin configurations you choose, and which specific bond ends up unsatisfied differs from configuration to configuration. Tile a whole lattice with a random mixture of such loops and the system is left with an enormous number of configurations that are all nearly equally frustrated — none of them able to satisfy every bond, and none of them dramatically better than the others.

A rugged landscape with countless valleys

Because there is no single dominant lowest-energy configuration, the energy landscape of a spin glass, plotted as a function of the full spin configuration, is rugged: an astronomical number of local minima (metastable states) separated by energy barriers of wildly different heights, rather than the smooth single-basin landscape of an ordinary ferromagnet. Below a characteristic freezing temperature, thermal fluctuations are no longer strong enough to hop the system between these basins on any observable timescale, and the spins lock into a configuration that looks disordered in space — no simple periodic pattern — but is completely frozen in time. This distinguishes a spin glass sharply from both an ordinary paramagnet (disordered in space AND fluctuating in time) and an ordinary ferromagnet (ordered in space AND frozen in time).

Slow, logarithmic relaxation

The rugged landscape has a direct experimental signature: after a perturbation, a spin glass does not relax back toward equilibrium with the clean exponential decay of an ordinary magnet. It relaxes agonisingly slowly, often well fit by a logarithmic or stretched-exponential form over many decades of time, because each downhill hop the system makes only reveals a new set of nearby barriers that are, statistically, no lower than the ones just crossed — low-energy states become progressively rarer and harder to reach as the system settles, and the search for them slows correspondingly. This slow relaxation, together with striking memory and aging effects (a spin glass "remembers" how long it was held at a given temperature before being perturbed), is one of the most direct experimental fingerprints of the underlying rugged energy landscape, and it has become a template for thinking about slow dynamics far beyond magnetism — in the folding kinetics of proteins, in combinatorial optimisation landscapes, and in some models of neural network memory.

Frequently asked questions

What exactly is frustration in a spin glass?

It is a loop of bonds, most simply a triangle, where the ferromagnetic and antiferromagnetic couplings around the loop cannot all be simultaneously satisfied no matter how the spins are arranged. At least one bond is always left in its higher-energy, unsatisfied configuration, and it is a different bond depending on the local spin arrangement, which is why frustration produces so many nearly-equal-energy configurations instead of one clear winner.

How is a spin glass different from an ordinary ferromagnet or antiferromagnet?

A ferromagnet has a single, simple ground state (all spins aligned) and a clean phase transition to it on cooling. A spin glass has a random mixture of ferromagnetic and antiferromagnetic bonds, which creates frustration and an enormous number of nearly-degenerate metastable states with no simple global order. Below the freezing temperature the spins lock into a random-looking but time-frozen configuration rather than a uniform aligned one.

Why does a spin glass relax so slowly compared to an ordinary magnet?

Because its energy landscape is rugged, riddled with countless local minima separated by barriers of many different heights. The system does not fall smoothly to one bottom; it hops between metastable states, and every downward hop takes progressively longer to find because the remaining barriers get statistically higher as low-energy states become rarer, producing a relaxation that follows roughly logarithmic rather than exponential decay.

Try it live

Everything above runs in your browser — open Spin Glass and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Spin Glass simulation

What did you find?

Add reproduction steps (optional)