Ising Model Problem
Ising Model Problem
Ising model
Consider a 2D square lattice of N × N atoms. They have a spin σ = ±1,
either pointing up or down. The lattice sites can be labelled with some index.
Take N = 50. The energy of this system is defined as
X
E = −J σi σj (1)
i,j
Here σi , σj are the spins at nearest neighbor lattice sites i and j. Take
J = 1. Each neighboring pair is counted only once, each site has four nearest
neighbors. Take periodic boundary conditions for the grid.
Start with a random initialization of the spins on the lattice. The prob-
ability of finding a particular configuration of spins, denoted by s, depends
on it’s energy Es by the Boltzmann relation
Es
P (s) ∝ exp − (2)
kB T