yomichi / mptensor

Parallel Library for Tensor Network Methods

Home Page:http://kawashima.issp.u-tokyo.ac.jp/people/morita/mptensor/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mptensor v0.2

GitHub Build Status DOI

"mptensor" is parallel C++ libarary for tensor calculations. It provides similar interfaces as Numpy and Scipy in Python.

Requirements

How to Use

  1. Compile mptensor
    • Modify Makefile.option as your environment and then make.
    • or use cmake
  2. Include src/mptensor.hpp in your codes.
  3. Complie your applications with src/libmptensor.a .

Documents

The HTML documents are available in here.

By make doc, HTML and LaTeX documents are generated in doc/doxygen.

Examples

#include <mptensor.hpp>
using namespace mptensor;
typedef Tensor<scalapack::Matrix,double> ptensor;
ptensor A(Shape(3,4,5));

Example codes of TRG and HOTRG for the 2D Ising model are in examples/Ising_2D.

License

GNU Lesser General Public License v3.0 (see LICENSE)

Links

About

Parallel Library for Tensor Network Methods

http://kawashima.issp.u-tokyo.ac.jp/people/morita/mptensor/

License:GNU Lesser General Public License v3.0


Languages

Language:C++ 96.6%Language:CMake 2.4%Language:Python 0.5%Language:Makefile 0.4%Language:C 0.1%