- Home
- Library
- Computational Quantum Field Theory
- Variational Monte Carlo and Neural Quantum States
- Fermions, Nodes, and Antisymmetry
Fermions, Nodes, and Antisymmetry
A neural network can improve a fermion wavefunction's amplitudes while being unable to change its signs. It can also represent a perfectly antisymmetric state and still give a poor energy. These are different limitations. We will separate them by building two variational states for the same six-orbital Hamiltonian: a positive factor multiplying a fixed Slater determinant, and a network that changes the determinant's orbitals.
Preparation: The normalized Rayleigh quotient and neural wavefunctions. The occupation-register construction explains the Jordan–Wigner signs used below.
Antisymmetry is already present in an ordered Fock basis
For six spinless orbitals, let and choose
An occupation string has a fixed ordering. Its coefficient is an ordinary complex number; it is not required to be antisymmetric under a permutation of the bits. Exchanging occupied particle coordinates in a first-quantized wavefunction is a different operation. Equivalently, reordering the creation operators in (1) supplies the fermion sign. This separation between Fock-space amplitudes and operator signs is explained in §8, Eqs. (51)–(53), of Vicentini et al..
Acting on (1), an annihilator passes through every earlier occupied mode:
A creator has the same prefix sign and the factor . In a product, apply the rightmost operator first and update the occupation before computing the next sign. In particular, hopping over an occupied mode changes the sign. An independent matrix realization is
with occupied. The accompanying calculation orders basis states by the integer , so site zero is the least significant bit. The tensor-product array axes consequently run from site five to site zero. This storage convention changes no operator algebra.
A finite interacting problem with a physical reflection
Set the nearest-neighbor hopping to one and take the open-chain Hamiltonian
We retain three particles, giving states. The next-neighbor term makes the intervening signs in (2) matter. There is no periodic seam, chemical potential, or background-density subtraction in this example.
Physical reflection acts on the operators, not just their bit labels: and . Restoring increasing order requires exchanges. Thus, for ,
We work in the ten-dimensional sector . Its coefficient vectors obey . Bare reversal without the minus sign would attach the wrong physical label to precisely the same vector.
A useful reference determinant comes from the first three orbitals of the open nearest-neighbor free chain:
where are the occupied sites and the three columns in the last determinant are those specified before it. A common overall sign is chosen once. Since , Cauchy–Binet gives . The one-particle reflection signs are , so this three-particle state has physical reflection . Its free energy is the sum of the first three levels , with .
Positive factors and movable determinant zeros
Write the network input as . A bounded positive-factor ansatz is
The symmetrization occurs before multiplication. It preserves the reference's reflection eigenvalue as well as every sign and zero. Projecting a generic, nonsymmetric product afterwards could instead introduce cancellations and change its zeros. The bound on is an additional restriction of this particular model; even unlimited hidden width would not remove that bound or alter a reference zero.
To move the zeros, let a network change the orbitals themselves:
and project onto the desired reflection sector,
This is neural orbital backflow: the orbital value at one occupied site depends on the entire configuration. The occupation input is unchanged by relabeling the particles. Interchanging two labeled particle coordinates therefore exchanges two determinant rows, changing the sign. The sector projection is linear and preserves antisymmetry. In contrast to (7), the zeros of (8)–(9) can change as parameters change. Luo and Clark develop configuration-dependent neural orbitals in their Eqs. (1), (2), and (5), with the network construction immediately following Eq. (5); see their paper.
For continuum fermions, the same principle requires that each orbital's dependence on the other particle coordinates respect their permutations. Pfau et al. explain this structure in §II.1 of their paper. Their Appendix B also shows why an abstract single-determinant universality construction is not a finite smooth-network guarantee: its sorting and indicator functions are discontinuous. Neither that construction nor our small lattice fit proves that a specified architecture captures arbitrary fermion nodes.
Differentiating through a node
Let be the complete amplitude vector and . For real parameters and Hermitian , direct differentiation gives
No division by an individual configuration amplitude appears. For a matrix , the polynomial identity
holds even when is singular. The familiar inverse-matrix formula is valid only when is invertible. For example, has determinant and derivative at its node. Replacing an inverse by a numerical cutoff is not the same derivative.
Away from zeros, (10) can be rewritten using the Born measure, local energy, and logarithmic derivatives. At a moving discrete node, a term with can nevertheless have and . Removing that configuration loses a contribution to (10). The analogous support condition for the logarithmic quantum-metric estimator is stated explicitly in §3.5, footnote 14, of Vicentini et al.. Complete enumeration lets this example use the direct derivative throughout; the second exercise isolates the failure of the support-only expression.
What the fitted comparison actually finds
The retained calculation fits both families with hidden widths and , using three fixed initializations at each width. The Jastrow and backflow parameter counts are respectively and . All twelve optimizations minimize the enumerated energy of (4), with no exact eigenvector supplied as training data. Exact diagonalization is used afterward for comparison in the same number and reflection sector.
The reference determinant has energy . The interacting sector ground has
The full twenty-state calculation confirms that this sector ground is also the global three-particle ground. Its occupation coefficients, in the chosen phase convention, are all positive. Consequently, this particular Hamiltonian does not expose a sign obstruction for the positive-factor ansatz. Both families improve the free reference very accurately.
The table uses initialization zero, chosen before fitting. Here and is normalized.
| Family | Width | Residual | Error in |
|---|---|---|---|
| Positive factor | 4 | ||
| Positive factor | 8 | ||
| Orbital backflow | 4 | ||
| Orbital backflow | 8 |
Both fitted families resolve this twenty-state problem well. The positive reference has no wrong signs to correct here. Residuals remain more informative than differences between nearly equal floating-point energies; the displayed coefficients use a common overall phase.
Across all starts, residuals range from to . Energy excesses are at or near the binary64 rounding floor; a few computed squared overlaps exceed one by about . These are arithmetic limits, not super-unit fidelity or a meaningful ranking of the families. One positive-factor fit reports optimizer success but misses the separately recorded gradient criterion of . No failed criterion is repaired by extra starts.
The result is reproducible from fermion_backflow.py,
fermion_neural_checks.py, and fermion-neural-results.json in the
chapter's examples/computational-qft/neural-quantum-states/ directory.
The checks independently construct the full Jordan–Wigner matrices,
verify the free three-particle spectrum and Cauchy–Binet normalization,
and compare direct derivatives with finite differences, including a
singular determinant. Default verification reads the saved fits; fresh
training requires new output paths.
A positive Born density does not eliminate the computational difficulty of fermions. Signs or phases still enter Hamiltonian matrix elements, local energies, nodal structure, and sampling efficiency. Conversely, a wavefunction with complex coefficients is not by itself evidence for an auxiliary-field sign problem. This finite calculation tests a variational representation at fixed particle number, orbitals, and boundaries. Increasing network width changes none of those physical regulators.
Summary
Fermionic statistics can be enforced by the ordered creation-operator basis and by determinants in coordinate space. The operator signs and the wavefunction's variational sign restrictions must both be respected. Positive factors preserve reference nodes; configuration-dependent orbitals can move them. Direct amplitude derivatives remain valid at nodes where logarithmic formulas require additional care. A meaningful neural-state comparison checks the same physical sector, observables, and residuals, without inferring a general sign-problem solution from a successful small fit.
Exercises
1. A hop across an occupied site
Use the ordered three-orbital basis to evaluate . Then exchange two particle coordinates in a two-orbital determinant. Explain why these signs do not require an arbitrary occupation coefficient to change sign under every permutation of its bits.
Solution
The initial state is . Anticommuting past gives
The creator is already in increasing order, so the answer is . The same result follows from the occupied prefix at site 2 in (2).
For orbitals , the coordinate amplitude is proportional to . Exchanging reverses its sign. An occupation string instead labels the unordered set of occupied modes through a fixed ordered basis. Swapping two bits usually changes that physical set; it is not simply exchanging two labels of the same particles. Any physical spatial permutation must be represented on the creation operators, including the sign from returning them to the chosen order.
2. The contribution hidden at a moving node
For and , calculate the energy and its derivative at . Compare the direct gradient with a logarithmic estimator that sums only configurations of nonzero Born probability at that point.
Solution
The norm is and the numerator is , hence
At zero, and . Equation (10) gives directly. The only nonzero Born probability is on configuration 1, where both its logarithmic derivative and local energy are zero. A support-only sum therefore returns zero and misses the derivative at configuration 2. Although its amplitude vanishes, its amplitude derivative does not.
For nonzero , the second configuration has probability , logarithmic derivative , and local energy . Their product has a finite limit. The endpoint cannot be evaluated by simply deleting that term. In contrast, multiplying a reference zero by a smooth finite positive factor preserves both the zero and its vanishing parameter derivative there; that restricted family cannot make this particular motion of the node.
References
- D. Luo and B. K. Clark, “Backflow Transformations via Neural Networks for Quantum Many-Body Wave-Functions,” Physical Review Letters 122, 226401 (2019), arXiv:1807.10770v2. Main text, Eqs. (1), (2), (5), and the following network construction.
- D. Pfau, J. S. Spencer, A. G. de G. Matthews and W. M. C. Foulkes, “Ab-Initio Solution of the Many-Electron Schrödinger Equation with Deep Neural Networks,” Physical Review Research 2, 033429 (2020), arXiv:1909.02487v3. §II.1 and Appendix B.
- F. Vicentini et al., “NetKet 3: Machine Learning Toolbox for Many-Body Quantum Systems,” SciPost Physics Codebases 7 (2022), arXiv:2112.10526v2. §8, Eqs. (51)–(53); §3.5, footnote 14. The occupation convention is translated explicitly in (1)–(3).
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.