Python
Python copied to clipboard
Add 2D Ising model Monte Carlo simulation
This implementation adds the 2D Ising model using the Metropolis algorithm. Includes proper type hints, docstrings, and visualization option. Reference: https://en.wikipedia.org/wiki/Ising_model