The repository contains the code for the first computer project of the course Random Simulation Method at Peking University, 2023. The project is about the simulation of the 2D Potts model. The code is written in Python with numpy,numba
. The code and report is written by Xiaoxuan Yu.
.
├── README.md
├── simulation (source code for simulation)
│ ├── Potts-Metropolis.py (Metropolis algorithm)
│ └── Post-Simulation.ipynb (Data analysis)
├── report (source code for report)
└── report.pdf (report)