Unlike the Ising model, the XY model and the Heisenberg model have a continuous spectrum. So one need discretize them for a numerical simulation. But how to make sure the discretization procedure reliable?
For example, for the XY model with variables \(\theta_i\) if \(\theta_i\) is discretized by choosing a unit 2πN, how to make sure the N is large enough?