14.09.2014 Views

CASINO manual - Theory of Condensed Matter

CASINO manual - Theory of Condensed Matter

CASINO manual - Theory of Condensed Matter

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

which cannot lie beyond the nucleus.<br />

The drift in the radial direction over one time step is<br />

ρ ′′ = 2¯v ρτz ′′<br />

z ′ . (43)<br />

+ z<br />

′′<br />

The new radial coordinate is approximately ¯v ρ τ when far from the nucleus, but it is forced to go to<br />

zero as the nucleus is approached. Hence, if the electron attempts to overshoot the nucleus, it will<br />

end up on top <strong>of</strong> it. So time-step errors caused by drifting across nuclei are eliminated.<br />

Let the electron position at the end <strong>of</strong> the drift process be r ′′ = z ′′ e z + ρ ′′ e ρ .<br />

13.6.3 Diffusion close to a bare nucleus<br />

Close to a nucleus, f is proportional to the square <strong>of</strong> the hydrogenic 1s orbital (assuming the trial<br />

wave function has the correct behaviour). This cusp cannot be reproduced by Gaussian diffusion at<br />

finite time steps. In fact, starting from the nucleus, we would like our electron to take a random step<br />

w distributed according to exp(−2Z|w|).<br />

However, we only want to diffuse in this fashion when the electron is likely to cross the nucleus. Let Π<br />

be the plane with normal e z that contains the nucleus. For the usual Gaussian diffusion process, the<br />

probability that an electron drifts (assuming that nuclear overshoot is permitted) and diffuses across<br />

Π, is<br />

˜q = 1 − ˜p = 1 ( ) z +<br />

2 erfc ¯vz τ<br />

√ . (44)<br />

2τ<br />

So, with probability ˜p, we sample w from<br />

g 1 (w) = (2πτ) −3/2 exp<br />

) (− |w|2 , (45)<br />

2τ<br />

and set the new electron position to be r = r ′′ + w; otherwise, we sample 21 w from<br />

g 2 (w) = ζ3<br />

π<br />

and set r = R Z + w. We have defined ζ by<br />

ζ =<br />

√<br />

exp(−2ζ|w|), (46)<br />

Z 2 + 1 τ , (47)<br />

which reduces to Z for large time steps, giving the desired cusp; however, this choice <strong>of</strong> ζ causes the<br />

second moments <strong>of</strong> g 1 and g 2 to be equal to O(τ). Hence the Green’s function remains correct to<br />

O(τ).<br />

The single-electron Green’s function for the move from r ′ to r is given by<br />

g(r ← r ′ ) = ˜pg 1 (r − r ′′ ) + ˜qg 2 (r − R Z ). (48)<br />

In order to calculate the Green’s function for the reverse move, need to perform all <strong>of</strong> the steps above<br />

(apart from the random diffusion), starting at point r and ending up at r ′ .<br />

13.6.4 Using the modifications in <strong>CASINO</strong><br />

These three modifications to the DMC Green’s function are applied if the nucleus gf mods keyword<br />

is set to T. Note that they can only be used if bare nuclei are actually present!<br />

21 In order to sample w from g 2 (w), we sample the cosine <strong>of</strong> the polar angle uniformly on [−1, 1], the azimuthal angle<br />

uniformly on [0, 2π] and the magnitude w from 4ζ 3 w 2 exp(−2ζw). This is achieved by sampling r 1 , r 2 and r 3 uniformly<br />

on [0, 1] and setting w = − log(r 1 r 2 r 3 )/2ζ; see reference [29] for further information.<br />

128

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!