Skip to content

Python interface to Lanczos Algorithm for Spin Models

Notifications You must be signed in to change notification settings

matte462/pylasm

Repository files navigation

PyLasm

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.

Table of Contents

Installation

  1. Clone the project repository by the command

git clone https://github.com/matte462/pylasm.git

  1. Install all the required packages using PIP as follows

pip install -r requirements.txt

  1. Create a working directory
  2. Copy the script that suits you from the Scripts sub-folder
  3. Prepare the input files as suggested in the available examples
  4. Enjoy the results!

Usage

Examples with an extensive description of the main practical details can be found here.

Contact

Find more info about the author here.

About

Python interface to Lanczos Algorithm for Spin Models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published