Neural quantum states in continuous space
In brief. In first quantization a configuration is the list of particle positions, and the wavefunction is a function of
real coordinates instead of a table over a discrete basis. Everything on the lattice pages carries over: the network gives , variational Monte Carlo samples , and the same optimizers apply. Four things change. Fermionic antisymmetry is built from determinants whose orbitals depend on all positions through permutation-equivariant networks. The kinetic energy puts the Laplacian of the network in the local energy. Coulomb singularities impose cusp conditions on the wavefunction. A periodic system needs periodic inputs and Ewald sums. Ketboard compares energies per electron for extended systems such as the electron gas and total energies for finite ones such as molecules and quantum dots.
Notation follows the conventions page.
Configurations and Hamiltonian
A configuration of
In Hartree atomic units (
with
Antisymmetry: determinants of equivariant orbitals
A Slater determinant
where
The architectures differ in how the equivariant features are built:
- FermiNet runs a one-electron stream (positions relative to the nuclei and their norms) and a two-electron stream (relative positions
and distances), and at each layer concatenates each electron's features with the means over the electrons of each spin (Pfau, Spencer, Matthews, Foulkes, arXiv:1909.02487, Sec. II A). Orbitals are multiplied by exponentially decaying envelopes so that the state is normalizable. A JAX implementation with a simplified network cut the training cost by an order of magnitude (Spencer, Pfau, Botev, Foulkes, arXiv:2011.07125). - PauliNet starts from a multireference Hartree–Fock expansion, adds a neural backflow and a neural Jastrow factor, and builds the cusp conditions in: the nuclear cusps through corrected molecular orbitals and the electronic cusps through a fixed cusp function, with cuspless networks on top (Hermann, Schätzle, Noé, arXiv:1909.08423).
- Psiformer replaces the FermiNet layers by self-attention over the electrons (von Glehn, Spencer, Pfau, arXiv:2211.13672).
- Message passing. For the electron gas, graph networks pass messages along all electron pairs and produce backflow coordinates for plane-wave orbitals (Pescia et al., arXiv:2305.07240).
The determinant fixes the cost:
Cusps
The Coulomb potential diverges when two particles meet. The local energy stays finite only if the wavefunction has a cusp there that cancels the divergence (Kato, Commun. Pure Appl. Math. 10, 151 (1957)). For two electrons of opposite spin in three dimensions the spherically averaged wavefunction behaves as
The local energy
With
which is the continuum version of the sum over connected configurations on the variational Monte Carlo page. There is no sum over matrix elements; instead each local energy needs the gradient and the Laplacian of the network with respect to its
The zero-variance property holds as on the lattice. Because the local energy can be heavy-tailed, optimizers usually clip outliers when they compute the gradient. FermiNet clips local energies further than five times the mean absolute deviation from the median, and only in the gradient, "but not when evaluating the total energy of the system" (arXiv:1909.02487, Appendix A). The distinction matters for Ketboard: a mean of clipped local energies is not the variational energy, and an entry must come from an unclipped evaluation of the final state.
Sampling
The configuration space is continuous, so the Metropolis proposals are continuous too: typically a Gaussian displacement of all electrons, with a width adjusted during the run to keep the acceptance rate near a target, and many walkers in parallel. In a periodic cell positions are wrapped back into the cell after each move. The autocorrelation analysis on the variational Monte Carlo page applies unchanged; with all-electron moves and a fixed width, the autocorrelation time grows with
Periodic systems
A crystal or a homogeneous fluid is simulated in a cell with lattice vectors
for every particle and lattice vector, with the twist
The Coulomb energy of a periodic array of charges is conditionally convergent and is computed by Ewald summation. Two conventions must be fixed: a uniform neutralizing background cancels the
A finite cell has finite-size errors: the kinetic energy depends on which plane waves are occupied, so the energy per particle oscillates with
Optimization and pretraining
The optimizers are the same as on the lattice. FermiNet introduced a Kronecker-factored approximation to natural gradient (KFAC, Martens and Grosse, arXiv:1503.05671) adapted to unnormalized densities (arXiv:1909.02487, Sec. II); stochastic reconfiguration in its kernel form (Chen and Heyl, arXiv:2302.01941) and the SPRING optimizer (Goldshlager, Abrahamsen, Lin, arXiv:2401.10190) handle networks with many parameters. Molecular ansätze are often pretrained to match Hartree–Fock orbitals before the energy is minimized. In FermiNet this was needed for numerical stability: without it the determinants of large systems underflowed and the optimization failed, and pretraining started the minimization from a region of low variance (arXiv:1909.02487, Appendix A).
Systems on Ketboard
- The homogeneous electron gas in two and three dimensions, in finite periodic cells at the
point, compared per electron: see its benchmark page. - Molecules with fixed nuclei, compared as all-electron total energies at fixed geometries: see the molecules page.
- Quantum dots (electrons in a harmonic trap), compared as total energies. The submission form describes these from the particles, the space, the external potential and the interaction; no instance is on the board yet.
Neural states in continuous space are also used for ultracold Fermi gases (Kim et al., arXiv:2305.08831) and, at finite temperature, for the electron gas (Xie, Zhang, Wang, arXiv:2105.08644). Results computed in a finite basis set (second quantization) solve a different problem and are not compared with first-quantized ones.
References
- D. Pfau, J. S. Spencer, A. G. D. G. Matthews, W. M. C. Foulkes, Ab initio solution of the many-electron Schrödinger equation with deep neural networks, arXiv:1909.02487 (2019). FermiNet; KFAC for unnormalized densities; clipping in the gradient only.
- J. S. Spencer, D. Pfau, A. Botev, W. M. C. Foulkes, Better, faster fermionic neural networks, arXiv:2011.07125 (2020).
- J. Hermann, Z. Schätzle, F. Noé, Deep neural network solution of the electronic Schrödinger equation, arXiv:1909.08423 (2019). PauliNet.
- I. von Glehn, J. S. Spencer, D. Pfau, A self-attention ansatz for ab-initio quantum chemistry, arXiv:2211.13672 (2022). Psiformer.
- R. Li et al., Forward Laplacian: a new computational framework for neural network-based variational Monte Carlo, arXiv:2307.08214 (2023).
- T. Kato, On the eigenfunctions of many-particle systems in quantum mechanics, Commun. Pure Appl. Math. 10, 151 (1957). Cusp conditions.
- R. J. Needs, M. D. Towler, N. D. Drummond, P. López Ríos, J. R. Trail, Variational and diffusion quantum Monte Carlo calculations with the CASINO code, arXiv:2003.06506 (2020). Cusp conditions in
dimensions. - J. Martens, R. Grosse, Optimizing neural networks with Kronecker-factored approximate curvature, arXiv:1503.05671 (2015).
- A. Chen, M. Heyl, Empowering deep neural quantum states through efficient optimization, arXiv:2302.01941 (2023). minSR.
- G. Goldshlager, N. Abrahamsen, L. Lin, A Kaczmarz-inspired approach to accelerate the optimization of neural network wavefunctions, arXiv:2401.10190 (2024). SPRING.
- M. Wilson, S. Moroni, M. Holzmann, N. Gao, F. Wudarski, T. Vegge, A. Bhowmik, Neural network ansatz for periodic wave functions and the homogeneous electron gas, arXiv:2202.04622 (2022).
- G. Cassella, H. Sutterud, S. Azadi, N. D. Drummond, D. Pfau, J. S. Spencer, W. M. C. Foulkes, Discovering quantum phase transitions with fermionic neural networks, arXiv:2202.05183 (2022).
- X. Li, Z. Li, J. Chen, Ab initio calculation of real solids via neural network ansatz, arXiv:2203.15472 (2022). DeepSolid.
- G. Pescia, J. Nys, J. Kim, A. Lovato, G. Carleo, Message-passing neural quantum states for the homogeneous electron gas, arXiv:2305.07240 (2023).
- J. Kim, G. Pescia, B. Fore, J. Nys, G. Carleo, S. Gandolfi, M. Hjorth-Jensen, A. Lovato, Neural-network quantum states for ultra-cold Fermi gases, arXiv:2305.08831 (2023).
- H. Xie, L. Zhang, L. Wang, Ab-initio study of interacting fermions at finite temperature with neural canonical transformation, arXiv:2105.08644 (2021).