Giter Site home page Giter Site logo

gharib85 / xxz_spinchain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from christian512/xxz_spinchain

0.0 1.0 0.0 120 KB

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

Python 11.10% Jupyter Notebook 88.90%

xxz_spinchain's Introduction

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.

xxz_spinchain's People

Contributors

christian512 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.