Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Computational Quantum Field Theory

    Numerical results in field theory depend on the observable, regulator, discretization and sampling procedure. This volume begins with a detector bin whose exact weight is known. From there, choose a problem in perturbative scattering, field evolution, correlated measurements, inverse problems or variational many-body states.

    Preparation. The opening calculation uses a free scalar oscillator, a one-dimensional integral and elementary error estimates. Later routes introduce their field-theory inputs at the calculation that uses them.

    Put an error on a field-theory measurement

    Specify the spectral weight in a detector bin. The exact residue gives a reference even when a numerical rule misses the narrow line. Keep the instrument fixed, change the field grid and then vary the quadrature. These comparisons distinguish physical, discretization and integration errors.

    Enter through a calculation

    Integrating a Field-Theory Observable

    A free scalar of known energy produces a line a detector can miss entirely. Start with the measured bin weight and compute its exact value. Vary the field’s spatial regulator and the integration rule separately. Then use the same narrow Gaussian to see what an adaptive rule’s error indicator can detect. For an integral over several variables, compare deterministic, random and randomized low-discrepancy samples at a recorded evaluation budget. This gives an independent standard for deciding whether the quoted error belongs to the physical quantity of interest.

    Preparation. Use a Fourier mode, a one-dimensional integral and the mean of independent samples. The first calculation supplies its field normalization.

    1. Designing a Numerical Field-Theory Calculation
    2. Adaptive Quadrature and Numerical Precision
    3. Multidimensional and Quasi-Monte Carlo Integration

    From a Lagrangian to Executable Amplitudes

    Can a symbolic expression survive the steps from a Lagrangian to compiled amplitudes? Give Lorentz, spin and color indices their types before simplifying products. The scalar-QED Compton tensor makes a missing contact graph visible through its Ward identity. Then count the diagrams with distinguishable external labels, preserve cancellations in a numerical representation and check the compiled amplitude at physical momenta. Loop integration and its independent analytic checks follow in the next chapter.

    Preparation. Use Feynman rules, invariant amplitudes and the distinction between a free and a dummy index.

    1. Tensor and Index Algebra by Computer
    2. Dirac and Color Algebra
    3. From a Lagrangian to Feynman Diagrams
    4. Simplifying Amplitudes without Losing Cancellations
    5. Generating Fast Numerical Amplitude Code

    Reducing and Evaluating Loop Integrals

    What data are needed to turn a routed loop into a physical number? Define the propagator family and reduce its relations to master integrals. Finite-field reconstruction checks the rational coefficients. Endpoint subtraction and sector decomposition expose the regulator poles; contour deformation and transport of a master specify its value on the physical edge. A practical exit is the one-loop four-scalar amplitude. Its real part checks the crossed channels, and the two-body cut independently checks the forward imaginary part. The accompanying small-remainder experiment shows why one should propagate covariances when loop estimates share samples.

    Preparation. Use Feynman parameters, dimensional regularization and the +i0+i0 prescription; the numerical examples give their normalizations.

    1. Integral Families and Automated IBP Reduction
    2. Finite-Field Reconstruction of Rational Functions
    3. Endpoint Singularities and Subtraction
    4. Sector Decomposition in Practice
    5. Contour Deformation and Physical Thresholds
    6. Numerical Differential Equations for Master Integrals
    7. Combining Integral Errors into Amplitude Errors

    From Generated Events to an Inferred Coupling

    When can weighted events answer a question about a coupling? Start with a two-body phase-space map and track the Jacobian through channel selection and unweighting. Shower evolution and fixed-order matching change what a generated event represents. Preserve negative weights and shared statistical fluctuations when filling a histogram or reweighting a sample. Finish with a count-and-shape likelihood whose exact maximum can test a learned likelihood ratio.

    Preparation. Use invariant phase space, elementary probability and a normalized differential cross section.

    1. Phase-Space Maps and Weighted Events
    2. Adaptive Channels and Event Unweighting
    3. Parton Showers as Stochastic Evolution
    4. NLO Matching, Merging, and Signed Weights
    5. Histograms, Reweighting, and Correlated Predictions
    6. Likelihoods from Simulated Observables
    7. Learning Likelihood Ratios and Posteriors

    Solving Boundary and Evolution Equations

    Which error remains after the residual of a discretized equation is small? Finite differences give a sparse baseline; collocation, shooting and mapped endpoints change how boundary data are satisfied. Nonlinear continuation, elliptic equations and integral kernels extend the comparison. Test a learned trial field against the same boundary-value problem and its independent quadrature. At a thin static layer the smallest training loss can coexist with a poor physical residual. The last two articles introduce time evolution, comparing energy and phase first with a known Hamiltonian, then with a fitted one.

    Preparation. Use linear algebra, an ordinary differential equation with specified boundary data, and the distinction between an initial value and a boundary value.

    1. Finite Differences and Sparse Linear Systems
    2. Spectral Collocation
    3. Coordinate Maps and Singular Endpoints
    4. Shooting and Boundary Matching
    5. Nonlinear Solvers and Continuation
    6. Elliptic Field Equations in Several Dimensions
    7. Integral Equations and Singular Kernels
    8. Physics-Informed Residual Minimization
    9. Variational Neural Solvers
    10. Resolving Thin Boundary Layers with Learned Solvers
    11. Time Evolution and Stability
    12. Conserved Quantities in Learned Dynamics

    Computing and Following Spectra

    When does a computed eigenvalue belong to the intended field problem? Start from a Hermitian double well, where the splitting must exceed the discretization and solver errors. For outgoing waves impose the boundary conditions before counting complex roots, then test shooting and collocation against a known resonance. A pseudospectrum measures sensitivity in the chosen physical norm. The final boundary response shows how a source can miss a genuine mode even when the eigenproblem is solved correctly.

    1. Sparse Hermitian Eigenproblems
    2. Generalized and Non-Hermitian Eigenproblems
    3. Spurious Modes and Spectral Convergence
    4. Complex Root Finding and Argument-Principle Searches
    5. Quasinormal Modes by Shooting and Collocation
    6. Pseudospectra and Non-Normal Sensitivity
    7. Mode Tracking and Exceptional Points
    8. Neural Solvers for Spectral and Boundary Response

    Sampling Measures and Estimating Free Energies

    How many updates buy a reliable expectation value or a free-energy difference? Specify the target measure and proposal first. An exactly soluble process gives the error of a correlated mean. At the critical Ising coupling, a single-cluster update spends more work per proposed move than a single-spin flip but changes even observables much faster. Compare costs and independent-run errors before introducing field identities and conditional averages. Tempering and free-energy calculations finally test whether the sampled ensembles visit the sectors needed for a ratio of partition functions.

    1. Importance Sampling and Reweighting
    2. Markov Chains and Hamiltonian Proposals
    3. Autocorrelation and Effective Sample Size
    4. Cluster Updates and Critical Slowing Down
    5. Control Variates from Field Identities
    6. Multilevel and Multigrid Estimation
    7. Rare Events, Tempering, and Umbrella Sampling
    8. Partition Functions and Free-Energy Differences

    What Euclidean Data Can Resolve

    Which spectral observable survives a finite set of noisy Euclidean measurements? First construct two positive spectra that generate the same data. A thermal-current example then chooses a spectral average and computes its frequency resolution and uncertainty from the lattice covariance. With the estimable target fixed, compare regularization, Bayesian priors, entropy, rational continuation and learned reconstructions. A fit to Euclidean points can succeed while its proposed fine structure depends on an assumption that the data cannot test.

    1. Ill-Conditioned Inverse Problems
    2. Smeared Spectral Densities and Resolution Kernels
    3. Correlated Least Squares and Regularization
    4. Bayesian Spectral Inference
    5. Maximum Entropy and Positive Reconstructions
    6. Analytic Continuation and Rational Approximants
    7. Learned Spectral Reconstruction

    Differentiating and Optimizing Field Calculations

    What derivative or bound does the finite computation actually produce? Follow a sourced calculation through forward and reverse differentiation, a fixed-charge extremum and a converged implicit solve. For field evolution, the adjoint accumulates the response to many parameters in one backwards pass. Optimization noise then adds a statistical error even with correct derivatives. Finish by certifying a quartic lower bound and checking its precision and basis dependence. The numerical conformal bootstrap uses additional positivity conditions over a continuous spectrum.

    1. Forward and Reverse Automatic Differentiation
    2. Constrained Optimization and Physical Parameters
    3. Implicit Differentiation through Solvers
    4. Adjoint Methods for Field Evolution
    5. Stochastic Gradients and Optimization Noise
    6. Semidefinite Programming for Field Theory
    7. Precision and Conditioning in Semidefinite Optimization

    Predicting Observables across Parameters

    What accuracy does a predictor buy at a fixed budget of reference labels? Start with the two-site susceptibility and five baselines, then change the model, the test distribution, or the allocation of new labels. A reduced basis predicts parameter dependence and a neural operator maps functions to functions. For phase data ask which observable the learned coordinate measures. The final optional article changes the question by using random network weights to define a field measure.

    1. Predicting a Field-Theory Observable with Simple Baselines
    2. Neural Networks and Training Objectives
    3. Generalization and Distribution Shift
    4. Uncertainty and Active Learning
    5. Reduced-Basis and Gaussian-Process Surrogates
    6. Neural Operators
    7. Learning Phases and Collective Variables
    8. When Does a Random Network Define a Field Theory?

    Learning to Sample Field Configurations

    A proposal for a field configuration must carry the probability measure, including its Jacobian. Establish how translations and rotations act on a lattice layer, then impose gauge covariance and track the group integration measure. Training against an action supplies a proposal; a Metropolis-corrected transition can preserve the target while still mixing poorly. Compare physical errors and effective cost after including training, autocorrelation and determinant evaluations.

    1. Normalizing Flows for Fields
    2. Invariant and Equivariant Maps on a Lattice
    3. Gauge-Equivariant Networks
    4. Lie-Group Flows and Matter Fields
    5. Training against an Action
    6. Metropolis-Corrected Learned Proposals
    7. Autoregressive Field Models
    8. Diffusion and Score-Based Field Models
    9. Continuous and Stochastic Normalizing Flows
    10. Fermionic Determinants and Learned Proposals
    11. Scaling Learned Samplers

    Variational Monte Carlo and Neural Quantum States

    Begin with the sampled local energy of six product spins. Its mean gives the variational energy and its fluctuations give the cost of estimating that mean. A neural amplitude then changes which states are available to optimize. Check nodes, relative phases and symmetry sectors before drawing conclusions from an energy variance. For real time, a variational trajectory also has a projection error independent of the Monte Carlo error.

    1. Variational Monte Carlo and the Local Energy
    2. Neural Wavefunction Representations
    3. Stochastic Reconfiguration and Natural Gradients
    4. Fermions, Nodes, and Antisymmetry
    5. Continuous Scalar-Field Wavefunctionals
    6. Excited States and Symmetry Sectors
    7. Variational Real-Time Evolution

    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.