Fig. 2: A toy Ising model with 4 spins.
From: Large-scale Ising emulation with four body interaction and all-to-all connections

The second spin σ2 does not interact with the rest by blocking the input pump wavelet on the corresponding pixel. a The two-body interaction term Jij, with Ji2 = J2j = 0 for any i, j (gray squares) and all other Jij = 1 (white squares). b The four-body interaction term Jijsr by the same color scheme. c, d The probability distribution function (PDF) of the energy and magnetization, respectively.