- Home
- Research
- Lattice, Computation, and Machine Learning
- Neural Quantum States for Field Theory
Neural Quantum States for Field Theory
If a neural wavefunction's energy stops improving, is its representation too small, its optimizer stalled, or its sampled configurations incomplete? These mechanisms require different remedies. We isolate the first two using exact finite sums, then identify the additional test needed when sampling replaces enumeration.
Preparation: neural wavefunctions, variational Monte Carlo and stochastic reconfiguration.
Match a solvable physical target
Take the periodic eight-spin transverse-field Ising Hamiltonian in Pauli normalization,
Couplings are one. This is a critical spin-chain benchmark, not a continuum scalar wavefunctional or a frustrated fermion problem. Its ground state can be chosen strictly positive in the basis and is even under flipping every spin. Those facts justify a real positive ansatz for this particular target.
Use a restricted Boltzmann machine with hidden units,
then project to even parity by replacing it with . All parameters are real. This representation follows the traced-hidden-spin construction of Carleo and Troyer, main text and Appendix C. We use a smaller chain, exact sums and a deterministic optimizer rather than reproducing their stochastic large-system benchmarks.
Full diagonalization gives
The ground energy independently agrees with the finite critical-chain expression . This checks the Pauli normalization, periodic bond count and energy reference.
Optimize a genuine variational objective
For the unnormalized amplitude vector , minimize
For real parameters its derivative is
All configurations enter every evaluation. Directional finite differences check the analytic gradient. We use L-BFGS with a maximum of iterations, three initialization seeds for each of , and initial parameter standard deviation . Increasing width changes capacity; keeping the iteration budget fixed does not guarantee equally complete optimization.
The retained energy-error ranges across seeds are:
| Hidden units | Energy error | Optimizer outcome |
|---|---|---|
| 2 | All three met stopping rule | |
| 4 | to | One reached iteration limit |
| 8 | to | All reached iteration limit |
At , the best run has ground-state fidelity , energy variance and transverse magnetization , compared with the exact . The nonzero variance shows it is not an exact eigenstate despite its high fidelity. The repeated energy plateau is evidence about these runs, not a proof of the global optimum of that ansatz.
A stationary point that has nothing to do with sampling
Initialize every parameter to zero. The projected amplitude is constant. Its first derivative with respect to each parameter vanishes after parity projection or because . The energy gradient is exactly zero, yet the energy is only .
This is an explicit optimizer obstruction: all configurations are included, so more Monte Carlo samples cannot fix it. Random nonzero initialization escapes the flat first-order tangent at this point. Conversely, the iteration limits at larger width indicate unresolved optimization error, so the best observed energy should not be called a representation limit.
The spectral gap gives a further diagnostic for a normalized trial state. Expanding in exact energy eigenstates yields
For the lowest-energy eight-unit run, the ratio on the right is . The direct overlap gives an infidelity of , within the bound. At criticality the gap shrinks with system size, weakening an inference from the energy alone.
Energy variance answers a different question. If and , the probability outside is at most . That window can contain several levels. For example, an equal superposition of levels separated by has variance and squared overlap with each. Identifying a particular eigenstate requires spectral separation.
What changes when enumeration is removed
For large systems the energy gradient is estimated from the Born distribution. If physically relevant configurations have tiny model probability, a finite batch can omit them repeatedly. A numerically stable sampled gradient may then optimize a restricted effective support. This problem is distinct from the zero-initialization obstruction above.
Zhou et al. analyze this loss of sampled support and modify the gradient update to give greater weight to sampled low-probability configurations. Their tests include molecules and frustrated spins. On the eight-spin ring the exact gradient is available, so one can directly measure which components a finite batch misses. Zhou et al., §§II.1–II.4
A controlled extension takes one of our saved parameter vectors and compares exact and sampled gradients at that same state. Vary batch size and sampler separately; measure the error in the energy-lowering direction, not merely the energy estimate. Only then compare optimizers with matched samples and computational cost. Moving directly to a larger network changes too many variables at once.
For field theory, add the field regulator and constraints before scaling the architecture. Fermionic antisymmetry, gauge invariance and complex dynamical phases require different representations from this positive Ising ground state. A successful eight-spin fit establishes neither a solution of the sign problem nor efficient real-time evolution.
References
- G. Carleo and M. Troyer, Solving the quantum many-body problem with artificial neural networks, main neural-state definition, Appendix A and Appendix C: representation, variational optimization and derivatives.
- S. Zhou, Y. Huang, X. Yuan and X. Cai, Enhanced Neural Quantum State via Annealed Gradient Descent, §§II.1–II.2 and IV.1: finite-sample obstruction and the stated modification of training.
Extract the Ising wavefunctions, optimization code and results (ZIP) and run python3 examples/research/matter-computation/neural.py. All nine trained parameter sets, stopping outcomes, variances, correlations and fidelities are retained. The inspected Library's finite-spin and real-even RBM kernels are reused; the new width-and-seed comparison is performed explicitly.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.