Example scripts

For a detailed tutorial on how to use the package, check out these papers:

The following Python scripts demonstrate basic and advanced functionality of QuSpin. In many cases, we have chosen to exhibit QuSpin’s functionality, and there may exist a more efficient approach to obtain the same result using QuSpin.

To run the example scripts, besides QuSpin, you have to also install matplotlib (e.g. by using pip or anaconda):

Getting started

Parallel computing in QuSpin

Basic usage

Non-interacting systems

Interacting systems

Advanced usage

Algorithms and routines