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.
energy. In the limit <strong>of</strong> perfect sampling, the reweighted variance is equal to the actual variance, and<br />
is therefore independent <strong>of</strong> the configuration distribution, so that the optimized parameters would<br />
not change over successive cycles <strong>of</strong> reweighted variance minimization. This is not the case for unreweighted<br />
variance minimization; nevertheless, by carrying out a number <strong>of</strong> cycles, a ‘self-consistent’<br />
parameter set may be obtained.<br />
In casino the minimization <strong>of</strong> the variance is carried out by the routine nl2sno in module nl2sol,<br />
which performs an unconstrained minimization (without requiring derivatives) <strong>of</strong> a sum <strong>of</strong> m squares<br />
<strong>of</strong> functions which contain n variables, where m ≥ n. (Information on the minimization routine can<br />
be found in Ref. [52]).<br />
Before carrying out this process, the user must decide how they wish to parametrize the trial wave<br />
function, and with how many parameters. They must also decide on the number <strong>of</strong> configurations to<br />
be used in the optimization. These choices are system specific, and depend on the level <strong>of</strong> accuracy<br />
to which the user wishes to work.<br />
A systematic approach to deciding on an appropriate number <strong>of</strong> variational parameters is to start by<br />
optimizing a few parameters, then to add more and re-optimize, and so on, until the decrease in energy<br />
resulting from the inclusion <strong>of</strong> additional parameters is small compared with the energy difference that<br />
the user wishes to resolve. Note that the error bars on the VMC energy must be smaller still, so that<br />
the user can make accurate judgements about the energy differences.<br />
It is clearly desirable for the VMC-generated configurations to be completely uncorrelated. This can<br />
be achieved by giving vmc decorr period a large value (e.g., 10). Reblocking VMC energies in<br />
a preliminary VMC run will allow the user to determine the correlation period for VMC energies,<br />
which in turn suggests a suitable value for vmc decorr period. It is also essential that the VMC<br />
configuration-generation run is fully equilibrated. Since VMC equilibration is usually computationally<br />
inexpensive, this should be straightforward enough. The utility plot hist can be used to verify that<br />
the VMC energies have equilibrated.<br />
The user may choose whether to optimize the Jastrow factor, determinant-expansion coefficients,<br />
or the pairing parameter and orbital coefficients, by setting the opt jastrow, opt detcoeff and<br />
opt orbitals flags as appropriate. For most applications, it is only necessary to optimize the Jastrow<br />
factor. If only linear parameters in casino’s Jastrow factor are to be optimized then the ‘varmin-linjas’<br />
method should be used: see Sec. 25.2.<br />
The user may choose between the reweighted or unreweighted variance-minimization algorithms by<br />
choosing the vm reweight keyword to be T or F, respectively. As shown in Ref. [53], the unreweighted<br />
variance-minimization has several desirable properties, which <strong>of</strong>ten make it a more useful technique<br />
than reweighted variance minimization: (i) the unreweighted algorithm is numerically more stable; (ii)<br />
in general the unreweighted variance has a simple functional form and only a single minimum in the<br />
space <strong>of</strong> linear Jastrow parameters; (iii) for a large number <strong>of</strong> model systems it can be demonstrated<br />
that the wave functions generated by unreweighted variance minimization iterated to self-consistency<br />
have a lower variational energy than wave functions optimized by reweighted variance minimization.<br />
If reweighted variance minimization is performed then it is possible to limit the values that the weights<br />
can take, in an attempt to improve the stability. The vm w max and vm w min parameters can<br />
be used to specify the maximum and minimum values that the weights can take.<br />
When optimizing parameters that affect the nodal surface, the local energies <strong>of</strong> configurations may<br />
diverge as the nodal surface is moved. The affected configurations will then have a disproportionate<br />
effect on the value <strong>of</strong> the unreweighted variance. It is therefore desirable to remove configurations<br />
from the optimization procedure when their local energies deviate substantially from the mean local<br />
energy. This can be achieved by introducing an effective weight for each configuration, which is a<br />
function <strong>of</strong> the deviation <strong>of</strong> the local energy from the mean local energy,<br />
⎧<br />
⎪⎨<br />
1<br />
∣ EL − Ē∣ ∣<br />
[<br />
/σEL < T<br />
( ) ] 2<br />
f(E L ) =<br />
|EL<br />
⎪⎩ exp −<br />
−Ē|/σ E L −T ∣∣EL<br />
W<br />
− Ē∣ ∣ , (201)<br />
/σEL > T<br />
where T is a user-defined threshold, W is a user-defined filter width, E L is the local energy <strong>of</strong> a<br />
configuration, Ē is the average energy, and σ EL is the square root <strong>of</strong> the unreweighted variance. To<br />
activate the configuration-filtering scheme, turn vm filter to T in input; the T parameter corresponds<br />
to the keyword vm filter thres and W corresponds to vm filter width. The default values <strong>of</strong> T = 4<br />
and W = 2 are found to work well in most cases.<br />
156