Impossible Memory: a Bilayer Ising Ratchet You Can Poke

Two coupled Ising layers, each locked to its own heat bath. Push a symmetry-breaking field on both and watch the equilibrium copy forget while the ratchet copy — driven only by a steady heat current between its two baths — refuses to.
Demonstrating a result from “Brownian ratchets and pumps universally simulate many-body active dynamics” — Stahl, Lake & Khemani, arXiv:2607.01231. The paper shows that a static Hamiltonian coupled to a hot bath and a cold bath (a “many-body Brownian ratchet”) can drive genuinely active, non-equilibrium dynamics — and its headline example is a ferromagnetic Ising bilayer whose steady-state heat current stabilizes a magnetized memory even under a symmetry-breaking field, something the authors note is impossible for any equilibrium system. This demo is a simplified continuous-time Metropolis/Glauber rendition of that same two-temperature bilayer built to make the effect watchable, not a reproduction of the paper's exact cellular-automaton construction.

Equilibrium SAME BATH

Both layers coupled to a single bath at Thot. No heat current between them — this is a genuine equilibrium system.
layer A up layer A down layer B up (dot) layer B down (dot)
MA: 1.00 MB: 1.00 sweeps: 0

Ratchet SPLIT BATH

Layer A on the hot bath, layer B on the cold bath, coupled by J. A steady heat current flows A → B — a genuine non-equilibrium steady state.
layer A up layer A down layer B up (dot) layer B down (dot)
MA: 1.00 MB: 1.00 sweeps: 0

Net magnetization vs. time

Average of both layers, both modes. Set a negative field and hit “Kick field” — equilibrium collapses toward −1, the ratchet holds near +1.