COndensed Matter Physics Numerical Analytics Library (COMPNAL) is a numerical calculation library in the field of condensed matter physics. This library aims to provide a comprehensive set of numerical methods and algorithms tailored for analyzing various condensed matter systems.
COMPNAL can calculate the following models on the following lattices by the following solvers.
- One-dimensional chain
- Two-dimensional square lattice
- Three-dimensional cubic lattice
- Fully-connected lattice
- Ising model
- Polynomial Ising model
- Classical Monte Carlo method
- Single spin flip
- Parallel tempering
We are actively working on expanding COMPNAL with the following upcoming features.
- Two-dimensional triangular lattice
- Two-dimensional honeycomb lattice
- User-defined lattice
-
Classical model
- Potts model
-
Quantum model
- Transverse field Ising model
- Heisenberg model
- Hubbard model
- Kondo Lattice model
- Classical Monte Carlo method
- Suwa-Todo algorithm
- Wolff algorithm
- Swendsen-Wang algorithm
- Exact Diagonalization
- Lanczos method
- Locally Optimal Block Preconditioned Conjugate Gradient method
- Density Matrix Renormalization Group
Only for Linux and MacOS.
pip install compnalTo install the latest release of compnal from the source, use the following command:
pip install git+https://github.com/K-Suzuki-Jij/compnal.gitBefore installation, make sure that the following dependencies are installed.
COMPNAL depends on the following libraries.
First, install the dependencies using Homebrew.
brew install cmake libompThen, clone this repository and install COMPNAL.
python -m pip install . -vvvRun the test to check if the installation is successful.
python -m pytest testsFirst, install the dependencies using apt.
sudo apt install cmakeThen, clone this repository and install COMPNAL.
python -m pip install . -vvvRun the test to check if the installation is successful.
python -m pytest tests