It is common knowledge that the microcanonical, canonical, and grand-canonical ensembles are equivalent in thermodynamically large systems. Here, we study finite-size effects in the latter two ensembles. We show that contrary to naive expectations, finite-size errors are exponentially small in grand canonical ensemble calculations of translationally invariant systems in unordered phases at finite temperature. Open boundary conditions and canonical ensemble calculations suffer from finite-size errors that are only polynomially small in the system size. We further show that finite-size effects are generally smallest in numerical linked cluster expansions. Our conclusions are supported by analytical and numerical analyses of classical and quantum systems.
Highly precise numerical calculations using a variation of the Lanczos method devised by Paige were performed for s=1/2 antiferromagnetic Heisenberg finite chains up to sizes N=28. Several interesting physical quantities, including the ground-state energy, the mass gap, and the spin-wave velocity, were computed and fitted for logarithmic finite-size corrections, as suggested by conformal invariance and Bethe ansatz calculations. A crossover size for a maximum of the spin-wave velocity is predicted for N\ensuremath{\sim}50, well above the current available sizes in a typical Lanczos simulation. A list of our numerical results is given along with extrapolated values using standard algorithms.
The zero-temperature, classical
XY model on an $L\ifmmode\times\else\texttimes\fi{}L$ square lattice is studied by exploring the distribution ${\mathrm{\ensuremath{\Phi}}}_{L}(y)$ of its centered and normalized magnetization
y in the large-
L limit. An integral representation of the cumulant generating function, known from earlier works, is used for the numerical evaluation of ${\mathrm{\ensuremath{\Phi}}}_{L}(y)$, and the limit distribution ${\mathrm{\ensuremath{\Phi}}}_{L\ensuremath{\rightarrow}\ensuremath{\infty}}(y)={\mathrm{\ensuremath{\Phi}}}_{0}(y)$ is obtained with high precision. The two leading finite-size corrections ${\mathrm{\ensuremath{\Phi}}}_{L}(y)\ensuremath{-}{\mathrm{\ensuremath{\Phi}}}_{0}(y)\ensuremath{\approx}{a}_{1}(L)\phantom{\rule{0.16em}{0ex}}{\mathrm{\ensuremath{\Phi}}}_{1}(y)+{a}_{2}(L)\phantom{\rule{0.16em}{0ex}}{\mathrm{\ensuremath{\Phi}}}_{2}(y)$ are also extracted both from numerics and from analytic calculations. We find that the amplitude
a1(L) scales as
ln(L/L0)/L2 and the shape correction function ${\mathrm{\ensuremath{\Phi}}}_{1}(y)$ can be expressed through the low-order derivatives of the limit distribution, ${\mathrm{\ensuremath{\Phi}}}_{1}(y)={[\phantom{\rule{0.16em}{0ex}}y\phantom{\rule{0.16em}{0ex}}{\mathrm{\ensuremath{\Phi}}}_{0}(y)+{\mathrm{\ensuremath{\Phi}}}_{0}^{\ensuremath{'}}(y)\phantom{\rule{0.16em}{0ex}}]}^{\ensuremath{'}}$. Thus, ${\mathrm{\ensuremath{\Phi}}}_{1}(y)$ carries the same universal features as the limit distribution and can be used for consistency checks of universality claims based on finite-size systems. The second finite-size correction has an amplitude ${a}_{2}(L)\ensuremath{\propto}1/{L}^{2}$ and one finds that ${a}_{2}\phantom{\rule{0.16em}{0ex}}{\mathrm{\ensuremath{\Phi}}}_{2}(y)\ensuremath{\ll}{a}_{1}\phantom{\rule{0.16em}{0ex}}{\mathrm{\ensuremath{\Phi}}}_{1}(y)$ already for small system size (
L>10). We illustrate the feasibility of observing the calculated finite-size corrections by performing simulations of the
XY model at low temperatures, including
T=0.