Related Experiment Videos
Statistical mechanics of the N-queens problem
Zong-Yue Liu1, Hai-Jun Liao1, Lei Wang1
1Institute of Physics, Chinese Academy of Sciences, Beijing 100190, China.
Abstract:
The N-queens problem asks for the number Q(N) of ways to place N mutually nonattacking queens on an N×N chessboard. Simkin [M. Simkin, Adv. Math. 427, 109127 (2023)0001-870810.1016/j.aim.2023.109127] proved Q(N)∼(N/e^{γ})^{N}, and subsequent work [P. Nobel, A. Agrawal, and S. Boyd, Optim. Lett. 17, 1229 (2023)1862-447210.1007/s11590-022-01933-2] refined the constant to γ=1.94400(1), settling the asymptotic behavior of this classical combinatorial problem. In this work, we pursue a thermodynamic-integration route in an unrestricted lattice-gas ensemble. We map the N-queens problem to a lattice gas with pairwise repulsive interactions along shared rows, columns, and diagonals, and we perform extensive Monte Carlo simulations for N=8-1024 with 10^{8} sweeps per temperature point. The specific heat per queen C_{v}/N converges to a size-independent function with a broad, nondivergent maximum at T^{*}≈0.235J, associated with a defect-proliferation crossover. This convergence, combined with the trivially exact high-temperature entropy S(∞)/N=1/Nln(N^{2}/N), enables a thermodynamic integration of C_{v}/T that extracts the ground-state entropy and yields γ_{MC}=1.946±0.003 at N=1024, within 0.1% of the precise combinatorial value. The Simkin-Nobel value enters only as a benchmark; the thermodynamic route requires no prior knowledge of Q(N). We further present a transfer-matrix-based tensor-network formulation that encodes the nonattacking constraints into a rank-9 site tensor with 17 nonzero elements, providing a complementary exact-enumeration route.
Related Concept Videos
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Stability of Equilibrium Configuration: Problem Solving
Problem-solving in the context of the stability of equilibrium configuration...
Maxwell-Boltzmann Distribution: Problem Solving
This distribution function f(v) is defined by saying that the expected number N (v1,v2) of particles with speeds between v1 and v2 is given by
Binomial Probability Distribution
The outcomes of a binomial experiment fit a binomial probability distribution. A statistical experiment can be classified as a binomial experiment if the following conditions are met:
There are a fixed number of trials. Think of trials as repetitions of an experiment. The letter n denotes the number of trials.
There are only two possible outcomes,...
First Law: Particles in Two-dimensional Equilibrium
Newton's first law tells us about the...
Alternative Sets of Equilibrium Equations
One example of such a situation can be observed in a...