CASINO manual - Theory of Condensed Matter
CASINO manual - Theory of Condensed Matter
CASINO manual - Theory of Condensed Matter
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
6.3.3 How to a ‘madmin’ calculation<br />
‘Madmin’ is a variant <strong>of</strong> variance minimization where a measure <strong>of</strong> the spread <strong>of</strong> local energies other<br />
than the variance is minimized, one that is less sensitive to outliers (e.g., divergent local energies).<br />
This measure is the mean absolute deviation (MAD) from the median energy,<br />
MAD = 1 ∑<br />
∣<br />
N C<br />
R<br />
∣E {α}<br />
L<br />
(R) − Ēm∣ , (1)<br />
where Ēm is the median <strong>of</strong> the set <strong>of</strong> local energies {E L }. This actually works very well, and minimizing<br />
the MAD generally gives a lower energy than minimizing the variance. Having a ‘robust’ measure <strong>of</strong><br />
the spread turns out to be important when e.g., optimizing parameters that affect the nodal surface<br />
where Ψ = 0 (such as multideterminant expansion coefficients, parameters in orbitals and backflow<br />
functions). Optimization <strong>of</strong> such parameters is difficult because the local energy diverges where the<br />
wave function is zero, and so the unreweighted variance diverges whenever the nodal surface moves<br />
through a configuration.<br />
To use this method, you do essentially the same procedure as in a varmin calculation but set<br />
opt method = ‘madmin’.<br />
6.4 How to do a DMC calculation<br />
DMC calculations are the main point <strong>of</strong> doing QMC. They are generally extremely accurate—<br />
comparable to or better than the best quantum chemistry correlated wave-function techniques—and<br />
yet remain applicable to very large systems. However, they require an accurate trial wave function in<br />
order to be efficient. This is normally taken to be a Slater-Jastrow wave function with the parameters<br />
in the Jastrow factor optimized by one or more <strong>of</strong> the above minimization procedures.<br />
So we begin by assuming we have an input file, an xwfn.data file containing the determinantal<br />
part <strong>of</strong> the wave function and an optimized correlation.data file containing the Jastrow factor.<br />
A DMC calculation then consists <strong>of</strong> three basic steps: (i) VMC configuration generation; (ii) DMC<br />
equilibration; and (iii) DMC statistics accumulation.<br />
The wave function in DMC is not represented analytically, but by the time-dependent distribution <strong>of</strong><br />
a set <strong>of</strong> configurations (or ‘walkers’). The shape <strong>of</strong> the many-electron wave function in configuration<br />
space is built up by moving, killing or duplicating individual walkers according to certain rules, and<br />
thus the population <strong>of</strong> walkers fluctuates.<br />
20