Statistical mechanics of the $N$-queens problem
Zong-Yue Liu, Hai-Jun Liao, Lei Wang

TL;DR
This paper models the $N$-queens problem using statistical mechanics, deriving entropy, analyzing phase behavior, and confirming the combinatorial constant $\gamma$ through Monte Carlo simulations and tensor network methods.
Contribution
It introduces a statistical mechanics framework for the $N$-queens problem, deriving entropy, analyzing thermodynamic properties, and providing new computational approaches.
Findings
Entropy per queen $s_0 \,\approx\, \ln N - \gamma$ with $\\gamma \approx 1.944$
No thermodynamic phase transition occurs in the model
Monte Carlo simulations accurately recover the combinatorial constant $\\gamma$
Abstract
We investigate the -queens problem as a lattice gas -- a model in which queens are placed on an chessboard with pairwise repulsive interactions along shared rows, columns, and diagonals -- from the perspective of statistical mechanics. The ground states are exactly the solutions of the classical -queens problem, with entropy per queen (). This entropy reflects a characteristic constraint hierarchy: each successive geometric constraint -- columns, then diagonals -- reduces the entropy from the free-placement value by a definite constant. We derive the exact high-temperature energy as . Extensive Monte Carlo simulations with sweeps per temperature point for -- reveal that the specific heat per queen converges to a universal function of as $N…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
