QuSpin: a Python package for dynamics and exact diagonalisation of quantum many body systems part I: spin chains

Phillip Weinberg, Marin Bukov

SciPost Phys. 2, 003 (2017) · published 13 February 2017


We present a new open-source Python package for exact diagonalization and quantum dynamics of spin(-photon) chains, called QuSpin, supporting the use of various symmetries in 1-dimension and (imaginary) time evolution for chains up to 32 sites in length. The package is well-suited to study, among others, quantum quenches at finite and infinite times, the Eigenstate Thermalisation hypothesis, many-body localisation and other dynamical phase transitions, periodically-driven (Floquet) systems, adiabatic and counter-diabatic ramps, and spin-photon interactions. Moreover, QuSpin's user-friendly interface can easily be used in combination with other Python packages which makes it amenable to a high-level customisation. We explain how to use QuSpin using four detailed examples: (i) Standard exact diagonalisation of XXZ chain (ii) adiabatic ramping of parameters in the many-body localised XXZ model, (iii) heating in the periodically-driven transverse-field Ising model in a parallel field, and (iv) quantised light-atom interactions: recovering the periodically-driven atom in the semi-classical limit of a static Hamiltonian.

Cited by 16

Crossref Cited-by

Ontology / Topics

See full Ontology or Topics database.

Adiabatic ramps Counter-diabatic ramps Dynamical phase transitions Dynamical spin correlations Eigenstate thermalization hypothesis (ETH) Exact diagonalization Many-body localization (MBL) Periodically-driven (Floquet) systems Quantum many-body systems Quantum quenches Quantum spin chains Spin-photon interactions Transverse-field Ising chain XXZ model

Authors / Affiliation: mappings to Contributors and Organizations

See all Organizations.
Funders for the research work leading to this publication