The grammar of the Ising model: A new complexity hierarchy
Tobias Reinhart, Gemma De les Coves
TL;DR
The paper introduces a language-based complexity measure for Ising models by encoding the Hamiltonian's function graph into a formal language ${\sf L}_{\mathcal{M}}$ and associating an edge-language ${\sf E}_{\mathcal{M}}$ to the interaction graphs. It proves a complete classification: ${\sf L}_{\mathcal{M}}$ is regular iff the model is finite; constructive context free iff the model is linear and ${\sf E}_{\mathcal{M}}$ is regular; constructive context sensitive iff ${\sf E}_{\mathcal{M}}$ is context sensitive; and decidable iff ${\sf E}_{\mathcal{M}}$ is decidable. The framework is applied to 1d, circular, ladder, layerwise complete, 2d, all-to-all, and perfect binary-tree Ising models, yielding constructive context-free classifications for the former group and constructive context-sensitive classifications for the latter. This grammar-based lens reveals how local interaction structure governs a hierarchy of representational complexities, offering a new angle on universality and the grammar of physical interactions. The work lays groundwork for extending grammar-based analyses to broader spin models and graph-grammar formulations, linking physical specification to formal-language complexity.
Abstract
How complex is an Ising model? Usually, this is measured by the computational complexity of its ground state energy problem. Yet, this complexity measure only distinguishes between planar and non-planar interaction graphs, and thus fails to capture properties such as the average node degree, the number of long range interactions, or the dimensionality of the lattice. Herein, we introduce a new complexity measure for Ising models and thoroughly classify Ising models with respect to it. Specifically, given an Ising model we consider the decision problem corresponding to the function graph of its Hamiltonian, and classify this problem in the Chomsky hierarchy. We prove that the language of this decision problem is (i) regular if and only if the Ising model is finite, (ii) constructive context free if and only if the Ising model is linear and its edge language is regular, (iii) constructive context sensitive if and only if the edge language of the Ising model is context sensitive, and (iv) decidable if and only if the edge language of the Ising model is decidable. We apply this theorem to show that the 1d Ising model, the Ising model on generalised ladder graphs, and the Ising model on layerwise complete graphs are constructive context free, while the 2d Ising model, the all-to-all Ising model, and the Ising model on perfect binary trees are constructive context sensitive. This work is a first step in the characterisation of physical interactions in terms of grammars.
