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.

where the numerator is the average <strong>of</strong> the measured values <strong>of</strong> its arguments over the configurations<br />

indexed by 1 ≤ t ′ ≤ N − t, and ˆσ H 2 is the variance <strong>of</strong> these measures. One possibility for setting the<br />

cut<strong>of</strong>f is to check against the self-consistent inequality t max < 3τ(t max ) while computing the sum, and<br />

truncate it as soon as it stops being true. This allows an estimate <strong>of</strong> the error in above expression to<br />

be calculated:<br />

√<br />

2(2tmax + 1)<br />

ɛ τ (t max ) = τ<br />

. (190)<br />

N<br />

The reblocking method and the correlation time are in principle equally valid methods for estimating<br />

the error in the energy. Each <strong>of</strong> them has its own disadvantages, though: the plot <strong>of</strong> reblocked standard<br />

errors can <strong>of</strong>ten become noisy before the plateau is reached, preventing accurate determination <strong>of</strong> the<br />

optimal reblocking length, whereas the error in the correlation time decays very slowly with the<br />

number <strong>of</strong> energies in the sample. It is recommended that both measures <strong>of</strong> serial correlation be taken<br />

into account for optimal results.<br />

24.3 Estimating equilibration times and correlation periods<br />

The root-mean-square distance diffused by a particle in a period T <strong>of</strong> imaginary time is √ 2N D DAT ,<br />

where A is the move acceptance ratio (which is usually close to 1 in DMC and 1/2 in VMC), N D is the<br />

dimensionality <strong>of</strong> the system (which is usually 3, unless a strict 2D or 1D system is being studied) and<br />

D = 1/2m is the diffusion constant, where m is the particle mass (note that D = 1/2 for electrons).<br />

We expect that correlation effects will disappear when the particles have diffused through distances<br />

in excess <strong>of</strong> the largest physically relevant length-scale λ. Let T = N move × τ, where N move is the<br />

number <strong>of</strong> moves and τ is the time step. Then the number <strong>of</strong> moves over which we expect correlation<br />

effects to be present is<br />

λ 2<br />

N move =<br />

2N D DτA . (191)<br />

The number <strong>of</strong> equilibration moves should be substantially larger than the above estimate <strong>of</strong> the<br />

correlation period in order to ensure that all <strong>of</strong> the transient effects due to the initial distribution die<br />

away. The required equilibration period is <strong>of</strong>ten greater than one might expect by simply examining<br />

the variation <strong>of</strong> the total energy with time.<br />

In practical QMC calculations, with sensible choices <strong>of</strong> time step, we <strong>of</strong>ten find the VMC correlation<br />

period to be about 5 configuration moves and the DMC correlation period to be about 1000 moves.<br />

25 Wave-function optimization<br />

Optimization <strong>of</strong> the trial wave function is a crucial part <strong>of</strong> a VMC or DMC calculation. casino<br />

allows optimization <strong>of</strong> the parameters in the Jastrow factor, the coefficients <strong>of</strong> the determinants in<br />

a multideterminant wave function, the parameters in the backflow functions, pairing parameters in<br />

electron–hole gases and parameters in the orbitals for certain electron and electron–hole phases as<br />

well as modification functions for atomic orbitals. All optimizable parameters are contained in the<br />

file correlation.data. Furthermore, each optimizable parameter is followed by a flag indicating<br />

whether the parameter is fixed (‘0’) or free to be optimized (‘1’). See Sec. 7.4 for information on<br />

correlation.data.<br />

There are two methods available within casino for wave function optimization: variance minimization<br />

and energy minimization. Both methods can be used to optimize any or all <strong>of</strong> the parameters<br />

mentioned above. In addition to the ‘standard’ variance-minimization method, there also exists a<br />

much faster version, which can be used when only parameters which appear linearly in the Jastrow<br />

factor are being optimized.<br />

25.1 Variance minimization: the standard method<br />

Consider a real trial wave function Ψ(R), where R is a point in the electron configuration space. In<br />

VMC the energy is written as<br />

∫<br />

|Ψ(R)| 2 E L (R) dR<br />

E = ∫<br />

|Ψ(R)|2 dR , (192)<br />

154

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

Saved successfully!

Ooh no, something went wrong!