Skip to content

A simulator for different types of Heisenberg XXZ spin chain with spin 1/2-particles.

Notifications You must be signed in to change notification settings

christian512/xxz_spinchain

Repository files navigation

XXZ - spin chain simulation

A simulator for different types of Heisenberg XXZ spin chains with spin 1/2-particles written in python. For an easy introduction to simulating the dynamics of a spin chain use the introduction.ipynb notebook. If you want to understand the simulation in more detail you can look through the .py files.

Introduction

This is the simulation written for my bachelor thesis. This code is intended to serve as a introduction to spin chain simulations and might be not the fastest code to simulate the dynamics of such a quantum system. However it is easy to extend the code with needed functions or add it to a parallel cluster setup.

Code files

The main code is defined in four python-files ( np_helper.py, permutations.py, qm_helper.py, rungekutta.py), which gives the basic functionality. The simulations are written with Jupyter Notebooks. However all notebooks, analysing the dynamics of a system, share the same general setup, which is introduced in a introduction.ipynb. To evaluate the sturcture of the Hamiltonians (especially their level statistics) you can check levelstatistics.ipynb for an introduction on how to unfold the energy levels of a spin chain and calculate their level spacings.

About

A simulator for different types of Heisenberg XXZ spin chain with spin 1/2-particles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published