CASINO manual - Theory of Condensed Matter
CASINO manual - Theory of Condensed Matter
CASINO manual - Theory of Condensed Matter
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
The input keyword to activate the calculation <strong>of</strong> forces in VMC and DMC is forces. The keyword<br />
forces info may be used to generate different levels <strong>of</strong> output. The default value is 2, which is<br />
recommended for speed. When 5 is chosen, two additional estimates <strong>of</strong> the Hellmann–Feynman force<br />
are calculated, which are only useful for debugging. These two additional estimates pick either the<br />
s-component or the p-component <strong>of</strong> the pseudopotential as the local one (the default is to pick the<br />
d-component as the local one). When calculating forces in DMC, the keyword future walking must<br />
be chosen. See also Sec. 35.<br />
Forces are only implemented for the Gaussian basis set and are only properly tested for molecules.<br />
When the molecule is linear (planar), the force algorithm in casino is optimized for geometries along<br />
the x-axis (x, y plane). See also the casino output. The forces are only implemented and tested<br />
for pseudopotentials. The implementation <strong>of</strong> forces in casino should in principle also work for allelectron<br />
calculations when the zero-variance estimators are chosen. These are the estimators ‘Total<br />
Forces+ZV’ in VMC and ‘Total Forces (mixed)’ in DMC. Also, since the SPLA scheme in DMC<br />
calculations requires an additional approximation in Eq. (431), we may expect that the FPLA scheme<br />
may give better results. For some small molecules and using large Gaussian basis sets, however, we<br />
find that the two localization schemes give very similar total forces. See also Refs. [110, 109].<br />
34.6 Explanation <strong>of</strong> the force estimators printed by <strong>CASINO</strong><br />
In VMC: ‘Total Force(dloc)’ corresponds to Eq. (417) and the d-channel <strong>of</strong> the pseudopotential components<br />
is chosen local (default in casino); ‘HFT Force(dloc)’ is the first term in Eq. (417); ‘Wave<br />
function Pulay term’ is the second term in Eq. (417); ‘Pseudopotential Pulay term’ corresponds to<br />
Eq. (423) calculated in VMC, should have a zero average value, and is evaluated to check whether this<br />
condition is satisfied; ‘Total Force+ZV(dloc)’ is the same as ‘Total Force(dloc)’ with the zero-variance<br />
term added to reduce the statistical error; ‘Zero-variance term’ is the zero-variance term evaluated<br />
separately and should always have a zero average value; ‘VMC NT’ is a part <strong>of</strong> a total force estimator<br />
and should be added to the DMC estimator ‘Total Force(purHFT,purNT,dloc)’; see Ref. [111].<br />
In DMC: ‘Total Force(purHFT, mixNT,dloc)’ corresponds to Eq. (427); ‘Total Force(purHFT,<br />
purNT,dloc)’ is a total force estimator when the VMC estimator ‘VMC NT’ is added, see Ref.<br />
[111]; ‘HFT Force(pur,dloc)’ is the first term in Eq. (427); ‘Nodal Term(mix)’ is the third term<br />
in Eq. (427) calculated as twice times the mixed nodal term, as stated in Eq. (432); ‘Nodal<br />
Term(pur)’ equals the third term in Eq. (427) calculated as a pure estimator and is part <strong>of</strong> ‘Total<br />
Force(purHFT,purNT,dloc)’; ‘Pseudopotential Pulay Term(pur)’ is the second term in Eq. (427);<br />
‘Total Force(mix,dloc)’ corresponds to Eq. (421); ‘HFT Force(mix,dloc)’ is the first term in Eq. (421).<br />
35 The future-walking method<br />
The standard DMC algorithm generates the ‘mixed’ probability distribution Ψ T Φ which can be used<br />
to calculate unbiased estimates <strong>of</strong> an operator A that commutes with the Hamiltonian, Ĥ. If, however,<br />
the operator A does not commute with Ĥ, the ‘pure’ probability distribution ΦΦ is required to obtain<br />
unbiased estimates. The simplest method to calculate pure estimates is to use the extrapolation<br />
estimator (2 time the mixed estimate minus the variational estimate) which introduces an error in the<br />
pure estimate that is <strong>of</strong> second order in (Ψ T − Φ). Exact pure estimates can be obtained, for example,<br />
by using the future-walking (FW) method which can straightforwardly be implemented in a standard<br />
DMC algorithm and will be discussed here, or by the reptation quantum Monte Carlo method. The<br />
FW method is used in casino with the keyword future walking.<br />
The basic idea <strong>of</strong> FW is to rewrite the pure estimate <strong>of</strong> a local operator A as<br />
〈Φ|A|Φ〉<br />
= 〈Φ| A Φ ∑<br />
Ψ T<br />
|Ψ T 〉<br />
〈Φ|Φ〉 〈Φ 0 | Φ0<br />
Ψ T<br />
|Ψ T 〉 ≃ j A(r j)ω j (r j )<br />
∑<br />
j ω , (434)<br />
j(r j )<br />
with weights<br />
ω j (r j ) = Φ(r j)<br />
Ψ T (r j ) . (435)<br />
For the Eq. (434) to be satisfied, A must be a local operator. Once the weights are known, the pure<br />
estimate can be calculated as an average over the local quantity A j ω j with samples drawn from the<br />
mixed distribution generated by a standard DMC simulation. We will show in the next section, that<br />
201