Performing the Wang Landau Algorithm for the Q-State Potts Model on a two-dimensional square lattice.
Note
The Wang Landau algorithm 1 2 estimates the density of states (DOS) by performing random moves, updating probabilities based on energy changes, and iteratively flattening a histogram. It allows uniform energy space sampling, facilitating accurate thermodynamic property calculations over various temperatures, overcoming limitations of traditional Monte Carlo methods dependent on specific temperatures. The Potts model 3 is a generalization of the Ising model in statistical mechanics. It describes interacting spins on a lattice, where each spin can be in one of [0,Q) states. The model is used to study phase transitions, critical phenomena, and various problems in condensed matter physics and materials science.
python main.py -g 10 -f example -z 0.8 -m 0.001 -n 100 -q 2
Parameter | Default | Description |
---|---|---|
-g | 10 | gridsize |
-f | WLA-RUN | directory name |
-z | 0.8 | WLA histogram flatness |
-m | 0.000001 | Final ln(f) value |
-n | 100 | number of bins |
-q | 2 | number of possible q states |
For the
For the
Warning
-
Implement proper energy boundaries (upper and lower energy limits for proper sampling). This currently leads to a small inconsistency at
$E=-1.0$ for the$Q=8$ case. -
Parallelization
-
Include calculations for order parameter depending on the temperature