[Paper Review] A model project for reproducible papers: critical temperature for the Ising model on a square lattice
This paper presents a fully reproducible computational study of the critical temperature for the 2D Ising model on a square lattice using large-scale Monte Carlo simulations and finite-size scaling analysis. It achieves a precise estimate of $T_c/J = 2.26934(6)$ via Binder cumulant crossing points and provides a complete virtual machine environment with source code, data, and analysis scripts to reproduce all results, serving as a model for reproducible computational physics research.
In this paper we present a simple, yet typical simulation in statistical physics, consisting of large scale Monte Carlo simulations followed by an involved statistical analysis of the results. The purpose is to provide an example publication to explore tools for writing reproducible papers. The simulation estimates the critical temperature where the Ising model on the square lattice becomes magnetic to be Tc /J = 2.26934(6) using a finite size scaling analysis of the crossing points of Binder cumulants. We provide a virtual machine which can be used to reproduce all figures and results.
Motivation & Objective
- To demonstrate a practical, end-to-end workflow for writing reproducible computational physics papers.
- To provide a complete, self-contained example of a simulation study with full provenance tracking and reproducibility.
- To establish a benchmark for critical temperature in the 2D Ising model using finite-size scaling and Binder cumulant analysis.
- To promote community adoption of reproducibility tools and best practices in computational science through a real-world example.
- To enable researchers to reproduce all figures, data, and results using a pre-configured virtual machine environment.
Proposed method
- Conduct large-scale Monte Carlo simulations using Wolff cluster updates and the MT19937 random number generator on square lattices of varying sizes $L$.
- Perform $>1.28 \times 10^6$ measurements per simulation after discarding 10% thermalization steps to ensure statistical convergence.
- Compute the Binder cumulant $U_2 = \langle m^2 \rangle / \langle |m| \rangle^2$ and susceptibility $\chi$ as functions of inverse temperature $\beta$ for each system size.
- Identify crossing points of the Binder cumulant curves across different system sizes $L$ and $L/2$ to estimate $T_c^*(L)$.
- Apply weighted least-squares fitting to the relation $T_c^*(L) = T_c^* + A L^{-1/\nu}$ with $\nu = 1$ in 2D, minimizing $\chi^2$ using error bars from Jackknife resampling with at least 78 bins.
- Use Python scripts in the `figures/` directory to process raw data, generate plots in PDF and text formats, and perform data collapse analysis with adjustable $T_c$ and $\nu$ parameters.
Experimental results
Research questions
- RQ1How can a computational physics study be made fully reproducible using modern tools and workflows?
- RQ2What is the critical temperature $T_c$ for the 2D Ising model on a square lattice, as determined by finite-size scaling of Binder cumulant crossings?
- RQ3How do choices in fitting procedures (e.g., polynomial vs. linear fit for crossing points) affect the final estimate of $T_c$?
- RQ4What is the impact of varying the range of system sizes used in the finite-size extrapolation on the estimated $T_c$ and its error?
- RQ5To what extent can data collapse of Binder cumulants validate the critical temperature estimate and critical exponent $\nu$?
Key findings
- The critical temperature for the 2D Ising model on a square lattice is estimated as $T_c^*/J = 2.26934(6)$, consistent with the exact Onsager result of $2.269185$.
- The Binder cumulant crossing method provides a robust and accurate approach to extract $T_c$ from finite-size simulations.
- Systematic error in $T_c$ estimation is sensitive to the functional form used to fit the crossing points, with cubic fits yielding more stable results than linear fits.
- Finite-size extrapolation using system sizes from $L=16$ to $L=128$ yields a stable and precise estimate of $T_c^*$ with a small error margin.
- A successful data collapse of Binder cumulants is achieved when $T_c = 2.26934$ and $\nu = 1$, confirming the expected critical behavior.
- The provided virtual machine and full codebase enable complete, automated reproduction of all results, including figures and numerical data, within a single, isolated environment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.