PyLasm is meant to be a Python interface to Lanczos Algorithm for the exact diagonalization of generalized Spin Models. In particular, it allows to estimate the first few low-energy eigenvectors and eigenvalues of the associated spin Hamiltonian matrix with a remarkable precision. Hence the ground-state eigenstates are used to compute the spin-spin correlation functions and the magnetization strength.
- Clone the project repository by the command
git clone https://github.com/matte462/pylasm.git
- Install all the required packages using PIP as follows
pip install -r requirements.txt
- Create a working directory
- Copy the script that suits you from the Scripts sub-folder
- Prepare the input files as suggested in the available examples
- Enjoy the results!
Examples with an extensive description of the main practical details can be found here.
Find more info about the author here.