# Diffusion Monte Carlo

Diffusion Monte Carlo (DMC) is a quantum Monte Carlo method that uses a Green's function to solve the Schrödinger equation. DMC is potentially numerically exact, meaning that it can find the exact ground state energy within a given error for any quantum system. When actually attempting the calculation, one finds that for bosons, the algorithm scales as a polynomial with the system size, but for fermions, DMC scales exponentially with the system size. This makes exact large-scale DMC simulations for fermions impossible; however, DMC employing a clever approximation known as the fixed-node approximation can still yield very accurate results.[1] What follows is an explanation of the basic algorithm, how it works, why fermions cause a problem, and how the fixed-node approximation resolves this problem.

## The Projector Method

To motivate the algorithm, let's look at the Schrödinger equation for a particle in some potential in one dimension:

${\displaystyle i{\frac {d\Psi (x,t)}{dt}}=-{\frac {1}{2}}{\frac {d^{2}\Psi (x,t)}{dx^{2}}}+V(x)\Psi (x,t).}$

We can condense the notation a bit by writing it in terms of an operator equation, with

${\displaystyle H=-{\frac {1}{2}}{\frac {d^{2}}{dx^{2}}}+V(x)}$.

So then we have

${\displaystyle i{\frac {d\Psi (x,t)}{dt}}=H\Psi (x,t),}$

where we have to keep in mind that H is an operator, not a simple number or function. There are special functions, called eigenfunctions, for which ${\displaystyle H\Psi (x)=E\Psi (x)}$, where E is a number. These functions are special because no matter where we evaluate the action of the H operator on the wave function, we always get the same number E. These functions are called stationary states, because the time derivative at any point x is always the same, so the amplitude of the wave function never changes in time. Since the overall phase of a wave function is not measurable, the system does not change in time.

We are usually interested in the wave function with the lowest energy eigenvalue, the ground state. We're going to write a slightly different version of the Schrödinger equation that will have the same energy eigenvalue, but, instead of being oscillatory, it will be convergent. Here it is:

${\displaystyle -{\frac {d\Psi (x,t)}{dt}}=(H-E_{0})\Psi (x,t)}$.

We've removed the imaginary number from the time derivative and added in a constant offset of ${\displaystyle E_{0}}$, which is the ground state energy. We don't actually know the ground state energy, but there will be a way to determine it self-consistently which we'll introduce later. Our modified equation(some people call it the imaginary-time Schrödinger equation) has some nice properties. The first thing to notice is that if we happen to guess the ground state wave function, then ${\displaystyle H\Phi _{0}(x)=E_{0}\Phi _{0}(x)}$ and the time derivative is zero. Now suppose that we start with another wave function(${\displaystyle \Psi }$), which is not the ground state but is not orthogonal to it. Then we can write it as a linear sum of eigenfunctions:

${\displaystyle \Psi =c_{0}\Phi _{0}+\sum _{i=1}^{\infty }c_{i}\Phi _{i}}$

Since this is a linear differential equation, we can look at the action of each part separately. We already determined that ${\displaystyle \Phi _{0}}$ is stationary. Suppose we take ${\displaystyle \Phi _{1}}$. Since ${\displaystyle \Phi _{0}}$ is the lowest-energy eigenfunction, the associate eigenvalue of ${\displaystyle \Phi _{1}}$ satisfies the property ${\displaystyle E_{1}>E_{0}}$. Thus the time derivative of ${\displaystyle c_{1}}$ is negative, and will eventually go to zero, leaving us with only the ground state. This observation also gives us a way to determine ${\displaystyle E_{0}}$. We watch the amplitude of the wave function as we propagate through time. If it increases, then decrease the estimation of the offset energy. If the amplitude decreases, then increase the estimate of the offset energy.

## Stochastic Implementation

Now we have an equation that, as we propagate it forward in time and adjust ${\displaystyle E_{0}}$ appropriately, we find the ground state of any given Hamiltonian. This is still a harder problem than classical mechanics, though, because instead of propagating single positions of particles, we must propagate entire functions. In classical mechanics, we could simulate the motion of the particles by setting ${\displaystyle x(t+\tau )=x(t)+\tau v(t)+0.5F(t)\tau ^{2}}$, if we assume that the force is constant over the time span of ${\displaystyle \tau }$. For the imaginary time Schrödinger equation, instead, we propagate forward in time using a convolution integral with a special function called a Green's function. So we get ${\displaystyle \Psi (x,t+\tau )=\int G(x,x',\tau )\Psi (x',t)dx'}$. Similarly to classical mechanics, we can only propagate for small slices of time; otherwise the Green's function is inaccurate. As the number of particles increases, the dimensionality of the integral increases as well, since we have to integrate over all coordinates of all particles. We can do these integrals by Monte Carlo integration.

## References

1. ^ Anderson, James B. (1976). "Quantum chemistry by random walk. H 2P, H+3 D3h 1Aʹ1, H2 3Σ+u, H4 1Σ+g, Be 1S". The Journal of Chemical Physics. 65: 4121. Bibcode:1976JChPh..65.4121A. doi:10.1063/1.432868.
• Grimm, R.C; Storer, R.G (1971). "Monte-Carlo solution of Schrödinger's equation". Journal of Computational Physics. 7: 134–156. Bibcode:1971JCoPh...7..134G. doi:10.1016/0021-9991(71)90054-4.
• Anderson, James B. (1975). "A random-walk simulation of the Schrödinger equation: H+3". The Journal of Chemical Physics. 63: 1499. Bibcode:1975JChPh..63.1499A. doi:10.1063/1.431514.
• [1] B.L. Hammond, W.A Lester, Jr. & P.J. Reynolds "Monte Carlo Methods in Ab Initio Quantum Chemistry" (World Scientific, 1994)s by Monte Carlo.