# Difference between revisions of "ALPS 2 Tutorials:MC-01 Equilibration"

From ALPS

(→Quantum Monte Carlo simulations) |
(→Using command line) |
||

Line 6: | Line 6: | ||

=== Using command line === | === Using command line === | ||

+ | |||

+ | |||

+ | LATTICE="square lattice" | ||

+ | MODEL="boson Hubbard" | ||

+ | |||

+ | L=20 | ||

+ | Nmax=20 | ||

+ | |||

+ | t=1. | ||

+ | U=16. | ||

+ | mu=32. | ||

+ | |||

+ | THERMALIZATION=10000 | ||

+ | SWEEPS=100000 | ||

+ | SKIP=400 | ||

+ | |||

+ | {T=1.0} |

## Revision as of 15:52, 27 August 2013

# Equilibration

**Rule of thumb: All Monte Carlo simulations have to be equilibrated before taking measurements.**

## Example: Quantum Monte Carlo (directed worm algorithm) simulations

### Using command line

LATTICE="square lattice" MODEL="boson Hubbard" L=20 Nmax=20 t=1. U=16. mu=32. THERMALIZATION=10000 SWEEPS=100000 SKIP=400 {T=1.0}