- Introduced by
- Nicholas Metropolis and colleagues
- Year
- 1953
- Type
- Monte Carlo simulation
- Family
- Stochastic Method
What does it do?
Quantum Monte Carlo (QMC) is a family of stochastic methods for estimating ground-state properties of quantum many-body systems, such as electrons in atoms, molecules and solids.
It evaluates expectation values by random sampling of particle configurations rather than by direct integration over the full wave function. Its two main variants, variational Monte Carlo (VMC) and diffusion Monte Carlo (DMC), differ in whether they rely on an explicit trial wave function alone or use that function as a starting point for projecting toward the ground state.
The intuition behind the method
QMC replaces an intractable quantum calculation with an average over randomly sampled configurations. In variational QMC (VMC), a trial wave function with adjustable parameters is chosen, configurations are sampled from its probability density, and the energy is estimated as an average over those samples; the parameters are then adjusted to lower this energy. In diffusion QMC (DMC), the imaginary-time Schrödinger equation is rewritten so that sampled configurations (walkers) diffuse and branch, meaning they are copied or removed according to a weight, and their long-time distribution approaches the ground state. Energies are therefore obtained as statistical averages with an associated uncertainty, but accuracy is limited by the trial wave function and by sampling noise.
History
Metropolis et al. (1953) describe a modified Monte Carlo integration over configuration space; their paper applies it to a two-dimensional rigid-sphere system, and the sampling approach was later adapted to quantum many-body problems. Reynolds, Tobochnik and Gould (1990) present diffusion Monte Carlo in Computers in Physics. Needs et al. (2020) review the variational and diffusion QMC methods as implemented in the CASINO code.
When to use it
Choose QMC when a high-accuracy ground-state energy or property is needed for a system of modest size, and a reasonable trial wave function can be constructed for it. DMC is typically chosen when the trial wave function alone is not sufficient and the computational budget can absorb the extra cost; the typical cases are correlation energies and point defects, as described under applications, with the fixed-node bias taken into account. Avoid QMC when the excited-state spectrum is the main goal, when many structures must be screened quickly, or when a mean-field or DFT calculation already answers the question at the required accuracy. QMC is applied to a specified many-body Hamiltonian, so the question must be framed in those terms.
Limitations and considerations
- Statistical noise: reducing the error bar requires many independent samples, so accuracy is bought with computation.
- Standard DMC targets the lowest-energy state within the symmetry sector of the trial function, so it does not give excited states directly.
- VMC accuracy is capped by the flexibility of the chosen ansatz; more sampling reduces noise but does not correct a poor functional form.
- The fixed-node approximation in DMC imposes the nodes of the trial function, and the resulting bias depends on how far those nodes are from the exact ones.
- Cost grows steeply with the number of electrons, so practical system size is limited and depends on the implementation.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Stochastic sampling provides statistical error bars alongside the energy estimate, so the sampling uncertainty is reported rather than hidden.
- Can treat strong electron correlation that mean-field methods such as Hartree–Fock do not capture.
- Correlation is built directly into the wave function through explicit terms such as Jastrow factors, rather than added as a separate correction step.
- Applicable to many-electron systems; computational cost rises steeply with the number of electrons, which sets the practical system size.
Applications
- Correlation energies: quantifying electron correlation effects beyond mean-field theory.
- Point defects in materials: total energies of defects such as vacancies.
- Quantum antiferromagnets: ground-state properties and spin correlations.
- Semiconductors and solids: band gaps and excitonic effects, including periodic DMC for crystals.
- Excited states: accessible only through specialised extensions, since standard DMC targets the ground state.
How it works
How it works
A population of walkers, each a set of particle coordinates, is sampled from a trial probability density derived from a trial wave function. The density is chosen so that sampling concentrates where the trial wave function is large.
In VMC, the free parameters of the trial wave function are adjusted to minimise the Monte Carlo estimate of the variational energy. In DMC, the optimised trial function supplies both the starting walkers and the nodal surface that is imposed during projection.
In DMC, walkers move by random displacements (diffusion) and are duplicated or removed according to a weight that depends on the energy of each configuration relative to a reference energy (branching). Over long imaginary times this projects out the lowest-energy state compatible with the nodes of the trial function.
The energy is estimated as an average of local energies over walker configurations, and its statistical uncertainty is estimated from the sampled values. Successive walkers are correlated, so the effective number of independent samples is smaller than the raw number of walkers, and the error bar decreases only roughly as the square root of that effective number.
Common pitfalls
- Using a poor trial wave function: in VMC the result is only as good as the ansatz, and in DMC the nodal surface of the trial function sets the fixed-node bias.
- Reading a small statistical error bar as evidence of accuracy: sampling error can be small while systematic errors from the ansatz, the time step or finite-size effects remain.
- Neglecting time-step errors in DMC: compute the energy at several time steps and extrapolate to zero time step rather than taking a single step size.
- Treating fixed-node DMC energies as exact: by the variational principle they are upper bounds on the ground-state energy, so the bias is one-sided.
- Assuming the walker population is converged: check the energy and error bar against longer runs and larger walker populations, because correlated walkers give fewer effective independent samples than the raw count.
- Neglecting finite-size effects in solids: periodic DMC results depend on supercell size and k-point sampling, so convergence with cell size should be tested before results are compared with other calculations or experiment.
Frequently asked questions
What is the difference between VMC and DMC?
VMC uses importance sampling with a trial wave function to compute expectation values, so its accuracy depends on the quality of the ansatz. DMC projects out the ground state by evolving walkers in imaginary time; it is asymptotically exact in the absence of the fixed-node constraint, but it is biased by that constraint.
What is the fixed-node approximation?
In DMC, walkers are prevented from crossing nodes (zero surfaces) of the trial wave function. This avoids the fermion sign problem but introduces a systematic bias: the DMC energy is an upper bound to the true ground-state energy, by the variational principle. The bias decreases as the nodes of the trial function approach the exact ones.
How do I choose a trial wave function for VMC?
Trial functions are often built from a Hartree–Fock or DFT reference combined with explicit correlation terms such as Jastrow factors. Choices informed by known correlations tend to improve efficiency and accuracy, and comparing several ansätze is a common check.
How accurate is QMC compared to DFT?
QMC can be more accurate than DFT for some properties and systems, but the size of the advantage depends on the system and the property, so it should be benchmarked against the quantity of interest. QMC is also much more computationally expensive, so for large systems DFT often remains the practical choice.
Can QMC handle periodic systems (solids)?
Yes. Periodic DMC (PDMC) extends DMC to infinite crystals using supercells and k-point sampling. It has produced benchmark results for many materials but requires careful treatment of finite-size effects.
Related methods
Sources
Metropolis, N., Rosenbluth, A. W., et al. (1953). Equation of state calculations by fast computing machines. Journal of Chemical Physics, 21, 1087–1092.
Open DOI referenceReynolds, P. J., Tobochnik, J., Gould, H. (1990). Diffusion quantum Monte Carlo. Computers in Physics, 4, 662–668.
Open DOI referenceNeeds, R. J., et al. (2020). Variational and diffusion quantum Monte Carlo calculations with the CASINO code. The Journal of Chemical Physics, 152, 154106.
Open DOI reference