Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sylvialee12/SelfLearning-MonteCarlo
https://github.com/sylvialee12/SelfLearning-MonteCarlo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sylvialee12/SelfLearning-MonteCarlo
- Owner: sylvialee12
- Created: 2017-04-06T06:16:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-18T04:02:05.000Z (over 7 years ago)
- Last Synced: 2024-07-04T02:18:41.876Z (4 months ago)
- Language: Python
- Size: 394 KB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MonteCarloIntro
This is a introduction project to simulate spin models(2D Ising model, four body interacting Ising model) with self learning Monte Carlo method.
For the details of the method, please refer to the paper: Phys.Rev.B 90, 041101(R)
1. swendsenwang.py is the implementation of Swendsen Wang algorithm for 2D spin model. Here we provide it as a reference. The self learning Monte Carlo Method does not include it.
2. Wolff.py module is the implementation of Wolff cluster update algorithm for 2D spin model. We apply this update for proposing global update in the effectiveHamiltonian.
3. Ising2D.py module provides the constructor of 2D square lattice.
4. GetEffectiveH.py is the file constructing effective Hamiltonian for given original Hamiltonian
5. originalH.py module provides the constructor of original Hamiltonian with four body interaction. It also concludes a simple local update Monte Carlo method.
6. slmc.py is the main module of the whole project. To use it, one may refer to the file itself.
The data folder is the basic results for our testing model(J=1,K=0.2)