3. Boltzmann machine
Keep the energy. Replace descent with sampling.
A Boltzmann machine is an energy-based model with stochastic updates. Temperature means that higher-energy states remain possible rather than being rejected outright.
Exact distribution
All four spin configurations
spins are +1 or -1
Stochastic trajectory
Gibbs sampling at the chosen temperature
Current state: (+1, +1)
Aligned: yes
Press sample to update one randomly selected spin.
At finite temperature, a higher-energy move can still occur.