[MPNUM]
A matrix product representation library for Python
mpnum is a flexible, user-friendly, and expandable toolbox for the matrix product state/tensor train tensor format. mpnum provides:
support for well-known matrix product representations, such as:
matrix product states (MPS), also known as tensor trains (TT)
matrix product operators (MPO)
local purification matrix product states (PMPS)
arbitrary matrix product arrays (MPA)
arithmetic operations: addition, multiplication, contraction etc.
compression, canonical forms, etc.
finding extremal eigenvalues and eigenvectors of MPOs (DMRG)
flexible tools for new matrix product algorithms
To install the latest stable version run
pip install mpnum
If you want to install mpnum from source, please run (on Unix)
git clone https://github.com/dseuss/mpnum.git cd mpnum pip install .
In order to run the tests and build the documentation, you have to install the development dependencies via
pip install -r requirements.txt
For more information, see:
Introduction to mpnum
Notebook with code examples
Library reference
Contribution Guidelines
Required packages:
six, numpy, scipy
Supported Python versions:
2.7, 3.4, 3.5, 3.6
Alternatives:
TT-Toolbox for Matlab
ttpy for Python
ITensor for C++
How to contribute
Contributions of any kind are very welcome. Please use the issue tracker for bug reports. If you want to contribute code, please see the section on how to contribute in the documentation.
Contributors
Daniel Suess, daniel@dsuess.me, University of Cologne
Milan Holzaepfel, mail@mholzaepfel.de, Ulm University
License
Distributed under the terms of the BSD 3-Clause License (see LICENSE).
Citations
mpnum has been used and cited in the following publications:
Dhand et al. (2017), arXiv 1710.06103
Schwartz, J. Scheuer et al. (2017), arXiv 1710.01508
Scheuer et al. (2017), arXiv 1706.01315
Lanyon, Ch. Maier et al, Nat. Phys. (2017), arXiv 1612.08000
Metadata
Release files for mpnum 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mpnum-1.0.2.tar.gz | 116.6 kB | Without provenance | Details for mpnum-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mpnum-1.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for mpnum-1.0.2-py2.py3-none-any.whl |
Total release size: 195.0 kB
Release files / mpnum-1.0.2.tar.gz
| Download URL | mpnum-1.0.2.tar.gz |
|---|---|
| Size | 116.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f19abf9ad196a5b45c4a6244dfddaf4edad3e7d56e650cb09f7a648dda61841
|
|
BLAKE2b-256 checksum How to use checksums |
86643f7014f9c3fcd54aa37d3d5db7f9a5dcdc69574ab20fc5f49c265175e69b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mpnum-1.0.2-py2.py3-none-any.whl
| Download URL | mpnum-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 78.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
643d6fa65c7541e3cb5b92b101ae7758c0212d55ac0127d5533f0e0b73eb503d
|
|
BLAKE2b-256 checksum How to use checksums |
a0c6849372e4881b6d8ee18fd0a6e678ce08e9a5a67b3d6e182d5cec290ba047
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mpnum 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.