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.

Suppose the DMC simulation is equilibrated, so that f(R, t) = Ψ(R)φ 0 (R). Then<br />

∫ ∫<br />

W (t + τ) = G(R ← R ′ , τ)f(R ′ , τ) dR ′ dR<br />

∫ ∫<br />

= Ψ(R)〈R| exp[−τ(Ĥ − E T )]|R ′ 〉Ψ −1 (R ′ )Ψ(R ′ )φ 0 (R ′ ) dR dR ′<br />

= 〈Ψ| exp[−τ(Ĥ − E T )]|φ 0 〉 = W (t) exp[−τ(E 0 − E T )].<br />

So<br />

E 0 = − 1 ( )<br />

W (t + τ)<br />

τ log exp(−τET )<br />

W (t)<br />

≈ − 1 τ log ( exp[−ET (m + 1)τ]M tot (m + 1)<br />

M tot (m)<br />

)<br />

. (54)<br />

This is the single-iteration growth estimator.<br />

By taking the expectation value <strong>of</strong> the argument <strong>of</strong> the logarithm and using our estimate <strong>of</strong> the<br />

effective time step, we obtain a much less noisy estimate <strong>of</strong> the ground state 22 :<br />

⎛∑ ( )<br />

m<br />

1<br />

E growth (m) = −<br />

τ EFF (m) log m<br />

⎝<br />

′ =1 Π(m′ , T p )M tot (m ′ ) exp[−ET<br />

⎞<br />

(m ′ +1)τ EFF(m ′ )]M tot(m ′ +1)<br />

M tot(m ′ )<br />

∑ m<br />

⎠<br />

m ′ =1 Π(m′ , T p )M tot (m ′ )<br />

(∑ m<br />

1<br />

= −<br />

τ EFF (m) log m ′ =1 Π(m′ , T p ) exp[−E T (m ′ + 1)τ EFF (m ′ )]M tot (m ′ )<br />

+ 1)<br />

∑ m . (55)<br />

m ′ =1 Π(m′ , T p )M tot (m ′ )<br />

Equation (55) is used to evaluate the growth estimator <strong>of</strong> the energy in casino if the<br />

growth estimator flag is set to T in the input file. The error bar on the growth estimator is always<br />

much larger than the error on the mixed estimator in practice, so we do not normally use the growth<br />

estimator.<br />

13.9 Automatic block-resetting<br />

Numerous schemes for preventing population control catastrophes due to the occurrence <strong>of</strong> ‘persistent<br />

electrons’ have been investigated. Of these, the one that seems to perform best in practice involves<br />

returning to an earlier point in the simulation and changing the random number sequence.<br />

If the dmc trip weight input variable is set to a nonzero value, then a config.backup file will be<br />

created. This contains a copy <strong>of</strong> the config.out file from the beginning <strong>of</strong> the previous block. If the<br />

total weight at any given iteration exceeds dmc trip weight, then the data from config.backup<br />

will be read in, the last block <strong>of</strong> lines will be erased from the dmc.hist file and the random number<br />

generator will be called a few times so that the configurations go <strong>of</strong>f on new random walks, hopefully<br />

avoiding the catastrophe that led to the population explosion in the first place. (If dmc trip weight<br />

is exceeded in the first or second blocks, then the initial config.in file will be read in instead <strong>of</strong><br />

config.backup.)<br />

Note that if the accumulation <strong>of</strong> expectation values other than the energy is flagged in input, and<br />

the calculation is in a DMC statistics accumulation phase, then the resulting expval.data file will be<br />

subject to the same treatment (through a saved ‘expal.backup’ file).<br />

If a block has to be reset more than max rec attempts times then the program will abort with an<br />

error.<br />

Great care should be taken when choosing a value for dmc trip weight. It should be sufficiently large<br />

that it cannot interfere with normal population fluctuations: this would lead to population control<br />

biasing. (Note that the population <strong>of</strong>ten grows rapidly at the start <strong>of</strong> equilibration: again, it must<br />

be ensured that automatic block resetting does not interfere with this natural process.) On the other<br />

hand, dmc trip weight should be sufficiently small that persistence is dealt with quickly and that<br />

there is insufficient time for a population <strong>of</strong> configurations containing a persistent electron to stabilize.<br />

Choosing larger block lengths (by decreasing the value <strong>of</strong> dmc equil nblock and dmc stats nblock)<br />

allows the program to return to an earlier point in the simulation, increasing the likelihood that the<br />

catastrophe will be avoided.<br />

22 Note that by bringing the average inside the logarithm we introduce a small bias into E growth .<br />

130

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

Saved successfully!

Ooh no, something went wrong!