The simplest case of the interacting model is the Ising model, where the spin can only take on one of two values, s n ∈ {−1, 1} and only nearest neighbor spins interact. The interaction potential is given by