Giter Club home page Giter Club logo

mpskit.jl's Introduction

MPSKit.jl

docs codecov CI

Contains code for tackling 1 dimensional quantum (and 2d classical) problems using tensor network algorithms. While it is still in beta, exported algorithms should just work. If you encounter an issue, feel free to open a bug report.

We implemented different algorithms for finding the groundstate (both finite and infinite systems), performing time evolution, finding excitations and much more. Check out the tutorials or examples (the documentation itself is still quite terse).

Installation

First, install this package by opening julia and pressing "]". Then type

pkg> add MPSKit

MPSKit works on Tensormap objects, which are defined in another package. You will have to add this pacakge as well to create the basic building blocks.

pkg> add TensorKit

Last but not least, we have already implemented a few hamiltonians in MPSKitModels.jl. It is recommended to install this package too.

pkg> add MPSKitModels

Quickstart

After following the installation process, you should now be able to call

julia> using MPSKit,MPSKitModels,TensorKit

You can create a random 1 site periodic infinite mps (bond dimension 10) by calling

julia> state = InfiniteMPS([ℂ^2],[ℂ^10]);

We can use a pre-defined hamiltonian from MPSKitModels

julia> hamiltonian = nonsym_ising_ham();

And find the groundstate

julia> (groundstate,_) = find_groundstate(state,hamiltonian,Vumps());

mpskit.jl's People

Contributors

maartenvd avatar jutho avatar gertian avatar lkdvos avatar mhauru avatar daanmaertens 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.