Microcanonical simulated annealing: Massively parallel Monte Carlo simulations with sporadic random-number generation
Numerical simulations of models and theories that describe complex systems such as spin glasses are becoming increasingly important. Beyond fundamental research, these computational methods also find practical applications in fields like combinatorial optimization. However, Monte Carlo simulations, an important subcategory of these methods, are plagued by a major drawback: they are extremely greedy for (pseudo) random numbers. The total fraction of computer time dedicated to random-number generation increases as the hardware grows more sophisticated, and can get prohibitive for special-purpose computing platforms. We propose here a general-purpose microcanonical simulated annealing (MicSA) formalism that dramatically reduces such a burden. The algorithm is fully adapted to a massively parallel computation, as we show in the particularly demanding benchmark of the three-dimensional Ising spin glass. We carry out very stringent numerical tests of the new algorithm by comparing our results, obtained on GPUs, with high-precision standard ( i.e. , random-number-greedy) simulations performed on the Janus II custom-built supercomputer. In those cases where thermal equilibrium is reachable ( i.e. , in the paramagnetic phase), both simulations reach compatible values. More significantly, barring short-time corrections, a simple time rescaling suffices to map the MicSA off-equilibrium dynamics onto the results obtained with standard simulations.
Authors
- Massimo Bernaschi (ORCID: https://orcid.org/0000-0003-3661-9836)
- I. González-Adalid Pemartín (ORCID: https://orcid.org/0000-0003-4640-0125)
- David Yllanes (ORCID: https://orcid.org/0000-0001-7276-2942)
- V. Martı́n-Mayor (ORCID: https://orcid.org/0000-0002-3376-0327)
- J. J. Ruiz-Lorenzo (ORCID: https://orcid.org/0000-0003-0551-9891)
- Federico Ricci‐Tersenghi (ORCID: https://orcid.org/0000-0003-4970-7376)
- L. A. Fernández (ORCID: https://orcid.org/0000-0001-9102-7652)
- Enzo Marinari (ORCID: https://orcid.org/0000-0002-3464-4133)
- G. Parisi (ORCID: https://orcid.org/0009-0007-9853-4869)
Institutions
- Zhejiang International Studies University (CN)
- Universidad Complutense de Madrid (ES)
- Universidad de Zaragoza (ES)
- Government of Extremadura (ES)
- Fundacion Agencia Aragonesa para la Investigacion y el Desarrollo (ES)
- Istituto per le Applicazioni del Calcolo Mauro Picone (IT)
- Zaragoza Logistics Center (ES)
- Istituto Nazionale di Fisica Nucleare, Sezione di Roma I (IT)
- Universidad de Extremadura (ES)
- Sapienza University of Rome (IT)
Publication Details
- Journal
- Computer Physics Communications
- Published
- 2026-04-27
- DOI
- https://doi.org/10.1016/j.cpc.2026.110182
- Citations
- 1
- Primary Topic
- Theoretical and Computational Physics
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Ministerio de Ciencia, Innovación y Universidades
- Junta de Extremadura
- European Regional Development Fund
- Agencia Estatal de Investigación
- Ministero dell'Istruzione e del Merito