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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

27.1.2 ‘Standard’ QMC<br />

Let the number <strong>of</strong> electrons in our system be N. In ‘standard’ QMC the orbitals are HF or DFT<br />

eigenfunctions extending over the entire system. On the other hand, the basis functions used to<br />

represent those orbitals are usually localized functions. Each time an electron is moved, all O(N)<br />

occupied orbitals must be evaluated; however, only the O(1) basis functions in the vicinity <strong>of</strong> the<br />

electron need to be computed to evaluate each orbital. So, the time taken to carry out a configuration<br />

move <strong>of</strong> all N electrons in the system is O(N 2 ).<br />

If the orbitals are represented by extended basis functions, such as plane waves, then the time taken<br />

for a configuration move scales as O(N 3 ), because every basis function in every orbital has to be<br />

computed for every electron.<br />

27.1.3 Localized orbitals<br />

It is easy to show that a nonsingular linear transformation <strong>of</strong> a set <strong>of</strong> orbitals can only change<br />

the normalization <strong>of</strong> the Slater determinant <strong>of</strong> those orbitals. For insulating materials there exist<br />

straightforward and efficient algorithms for determining linear transformations to highly localized sets<br />

<strong>of</strong> orbitals [70, 71].<br />

Highly localized orbitals can be truncated to zero at a certain distance from their centres without<br />

introducing a substantial bias. Therefore, each time an electron is moved, only a few orbitals need to<br />

be evaluated; the others must be zero because the electron lies outside their truncation radii. So the<br />

number <strong>of</strong> orbitals to be computed after each electron move is O(1) [72].<br />

The truncation <strong>of</strong> the orbitals results in small discontinuities in the Slater wave function. These are<br />

potentially serious for QMC because they result in the presence <strong>of</strong> Dirac delta functions in the kineticenergy<br />

integrand. The delta functions cannot be sampled, so their contribution to the total energy<br />

is lost. However, in practice the resulting bias is extremely small, provided the truncation radii are<br />

sufficiently large. In fact the bias can be made arbitrarily small by increasing the truncation radii.<br />

The discontinuities can be avoided by bringing the localized orbitals smoothly to zero over a thin,<br />

spherical skin. Surprisingly, it has been shown that the bias resulting from the use <strong>of</strong> smooth truncation<br />

schemes is larger than the bias that occurs if the orbitals are truncated abruptly at their cut<strong>of</strong>f radii<br />

[73]. The reason for this is that the smooth truncation schemes introduce a new, small length scale<br />

(the skin thickness) into the problem, and the local kinetic energy in the truncation region is extremely<br />

large. A time step that is physically reasonable for the system being simulated is much too large for<br />

the length-scale introduced by the truncation region. This results in large time-step bias and frequent<br />

population-explosion catastrophes. We therefore recommend truncating localized orbitals abruptly:<br />

the bsmooth input parameter should be set to F.<br />

27.1.4 Localized bases<br />

Suppose the basis functions are zero outside fixed radii about their centres. Then the only functions<br />

that have to be evaluated when an electron is moved are those with the electron inside their radii. So<br />

the number <strong>of</strong> basis functions to be computed simply depends on the local environment <strong>of</strong> the electron<br />

and is therefore independent <strong>of</strong> system size.<br />

Gaussian basis functions can be regarded as localized if they are truncated to zero outside a certain<br />

radius. This is done by default in casino: Gaussian functions exp(−ar 2 ) are assumed to be zero<br />

when exp(−ar 2 ) < 10 −G T<br />

, where G T is the gautol input parameter. Gaussian basis sets cannot yet<br />

be used in conjunction with localized orbitals, however.<br />

Alternatively, orbitals can be represented numerically using blip functions, which also constitute a<br />

localized basis. If the orbitals are localized then the memory requirements are greatly reduced (by<br />

a factor <strong>of</strong> O(N)), because we only have to store the blip coefficients needed to evaluate the orbital<br />

within its truncation radius.<br />

27.1.5 ‘Linear-scaling’ QMC<br />

If the numbers <strong>of</strong> orbitals and basis functions to be evaluated are both O(1) then the CPU time for<br />

a configuration move scales as O(N). This is what is meant by ‘linear-scaling QMC’. Note, however,<br />

166

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

Saved successfully!

Ooh no, something went wrong!