Giter Site home page Giter Site logo

hexi-uestc / quimb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jcmgray/quimb

1.0 1.0 0.0 7 MB

A python library for quantum information and many-body calculations including tensor networks -

Home Page: http://quimb.readthedocs.io

License: Other

Shell 0.23% TeX 0.44% Python 99.32%

quimb's Introduction

Travis-CI Code Coverage Code Quality Documentation Status JOSS Paper

quimb is an easy but fast python library for quantum information and many-body calculations, including with tensor networks. The code is hosted on github, do please submit any issues or pull requests there. It is also thoroughly unit-tested and the tests might be the best place to look for detailed documentation.

The core quimb module:

  • Uses straight numpy and scipy.sparse matrices as quantum objects
  • Accelerates many operations using numba and numexpr
  • Makes it easy to construct operators in large tensor spaces (e.g. 2D lattices)
  • Uses efficient methods to compute various quantities including entanglement measures
  • Has many built-in states and operators, including those based on fast, parallel random number generation
  • Can perform evolutions with several methods, computing quantities on the fly
  • Has an optional slepc4py interface for easy distributed (MPI) linear algebra. This can massively increase the performance when seeking, for example, mid-spectrum eigenstates

The tensor network submodule quimb.tensor:

  • Uses a geometry free representation of tensor networks
  • Uses opt_einsum to find efficient contraction orders for hundreds or thousands of tensors
  • Can perform those contractions on various backends, including with a GPU
  • Can plot any network, color-coded, with bond size represented
  • Can treat any network as a scipy LinearOperator, allowing many decompositions
  • Can perform DMRG1, DMRG2 and DMRGX, in matrix product state language
  • Has tools to efficiently address periodic problems (transfer matrix compression and pseudo-orthogonalization)
  • Can perform MPS time evolutions with TEBD

The full documentation can be found at: http://quimb.readthedocs.io/en/latest/. Contributions of any sort are very welcome - please see the contributing guide.

quimb's People

Contributors

jcmgray avatar

Stargazers

 avatar

Watchers

James Cloos 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.