Skip to content

GiggleLiu/pymps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MPS in Python

Description

Tensor, Matrix Product State, Matrix Product Operator utilities in python.

Install

prerequisites

Python 2.7 It is highly recomended to use Anaconda https://www.continuum.io/downloads/ to get numpy and scipy installed. Also, package tba and blockmatrix are needed as supports, both could be found in my repositories.

Run in a terminal

  $ git clone https://github.com/GiggleLiu/pymps.git
  $ cd pymps & python setup.py

Run Samples

Run in a terminal

  $ python sample_tensor.py
  $ python sample_mps.py
  $ python sample_bmps.py  #the block version.

Documentation

See project_root/doc/PyMPS.pdf

Warning

- This project is under development, so is poorly maintained, think before using it!