Skip to main content

Matrix Product State library for quantum simulation and numerical analysis

Project description

SeeMPS

Introduction

SeeMPS is a state of the art library for quantum-inspired algorithms based on matrix product states (MPS), also known as tensor trains (TT) or quantized tensor trains (QTT).

SeeMPS provides a complete linear and nonlinear algebra package that operates with vectors represented as MPS/TT and with matrices represented as matrix product operators (MPO). More precisely, the library includes

  • Vector and matrix operations
  • Essential tasks, such as MPS and MPO compression.
  • Solvers of linear equations A x = b with MPO (A) and MPS (x, b).
  • Eigensolvers

This linear algebra package is used to implement both quantum and quantum-inspired solutions. The first domain includes:

  • Algorithms to construct Hamiltonians for many-body quantum systems
  • Search of ground and excited states
  • Simulation of time evolution
  • Emulation of quantum registers and variational quantum circuits

The quantum-inspired subpackage includes:

  • Tools to represent n-dimensional functions as MPS including
    • Exact representations
    • Polynomial expansions
    • Tensor cross interpolation algorithms
  • Algorithms for differentiation, integration and interpolatoin
  • Algorithms to solve static and time-dependent PDEs in MPS/TT representation

These methods have shown exponential improvements over classical versions of the same tools thanks to the memory and time compression offered by the MPS formalism.

Intended audience

The library is a performant tool that is suitable for the design and evaluation of algorithms in the quantum many-body systems, quantum computing and quantum inspired numerical analysis. However, the library also allows users to quickly develop applications in all of these domains, using the tens of algorithms that are already provided.

The library as it stands has been used in some heavy-duty simulations involving tens and hundreds of qubits, and, in particular, its current iteration arises from the following works on quantum-inspired algorithms for numerical analysis:

  • Quantum-inspired algorithms for multivariate analysis: from interpolation to partial differential equations, Juan José García-Ripoll, Quantum 5, 431 (2021), https://doi.org/10.22331/q-2021-04-15-431

  • Global optimization of MPS in quantum-inspired numerical analysis, Paula García-Molina, Luca Tagliacozzo, Juan José García-Ripoll, https://arxiv.org/abs/2303.09430

  • Chebyshev approximation and composition of functions in matrix product states for quantum-inspired numerical analysis, Juan José Rodríguez-Aldavero, Paula García-Molina, Luca Tagliacozzo, Juan José García-Ripoll https://arxiv.org/abs/2407.09609

  • Pseudospectral method for solving PDEs using matrix product states, Jorge Gidi, Paula García-Molina, Luca Tagliacozzo, Juan José García-Ripoll https://arxiv.org/abs/2409.02916

Usage

The library is developed in a mixture of Python 3 and Cython, with the support of Numpy, Scipy and h5py. The library is provided in binary format for a selection of platforms and can be installed using

pip intall seemps

Other installation and development instructions are provided in the documentation, together with extensive information about the algorithms. Examples are also provided in a separate folder as well as in the documentation.

Bugs and feature requests can be reported using GitHub's issues. We also accept contributions as pull requests via GitHub.

Authors and contributors

  • Juan José García Ripoll (Institute of Fundamental Physics, IFF-CSIC, Spain)
  • Paula García Molina (Institute of Fundamental Physics, IFF-CSIC, Spain)
  • Juan José Rodríguez Aldavero (Institute of Fundamental Physics, IFF-CSIC, Spain)
  • Jorge Gidi (Universidad de Concepción, Chile)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seemps-3.0.0.tar.gz (260.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

seemps-3.0.0-cp314-cp314-win_amd64.whl (238.1 kB view details)

Uploaded CPython 3.14Windows x86-64

seemps-3.0.0-cp314-cp314-musllinux_1_2_x86_64.whl (556.2 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

seemps-3.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (560.7 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

seemps-3.0.0-cp314-cp314-macosx_15_0_arm64.whl (244.0 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

seemps-3.0.0-cp313-cp313-win_amd64.whl (236.1 kB view details)

Uploaded CPython 3.13Windows x86-64

seemps-3.0.0-cp313-cp313-musllinux_1_2_x86_64.whl (559.0 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

seemps-3.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (564.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

seemps-3.0.0-cp313-cp313-macosx_15_0_arm64.whl (243.6 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

seemps-3.0.0-cp312-cp312-win_amd64.whl (236.8 kB view details)

Uploaded CPython 3.12Windows x86-64

seemps-3.0.0-cp312-cp312-musllinux_1_2_x86_64.whl (564.4 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

seemps-3.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (569.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file seemps-3.0.0.tar.gz.

File metadata

  • Download URL: seemps-3.0.0.tar.gz
  • Upload date:
  • Size: 260.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for seemps-3.0.0.tar.gz
Algorithm Hash digest
SHA256 d8789898246936a52123b94ff7e5f8a826b264c0eee4fe6a8f0467b55a5941b6
MD5 98a2032eddc697ed16f2c85602d64e5e
BLAKE2b-256 27b2a59e2b5865ce8a969ca4c5975bea1430988565b18e4fb4e098cee22212d8

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: seemps-3.0.0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 238.1 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for seemps-3.0.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 3926ca288778b80eb7b749db86a917d7c7ed8c76d75eb4f321f64c542831099c
MD5 3e942f45876a57dc3eec956f7349349f
BLAKE2b-256 55cddf702247f797887fd6e8d033e97159722c8bbba10db7d5bf5eadef6bfa04

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for seemps-3.0.0-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 03a8cddeb37a4eef6ac44d2ac3d266c8d64cfd0a93faf1168b228f4e36c43fb3
MD5 ccfa53188086f75bcbce7f11ee823786
BLAKE2b-256 6d5a596dfad6e9da928baa7a05ae64b0e0603d2edd4608e12225d3e9cb8f83d3

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for seemps-3.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fbdac49e14f9faecb8da0222e33e2a8beef2f08fed9b2611359d282a357afb86
MD5 acda1c8c4fbb3270eb451c6297af0aaf
BLAKE2b-256 1792bf77580bbfa6c635e7aa12d1257ea1c9842a9b511402c721a6b0060365c9

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for seemps-3.0.0-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 bc7736c196d1d722b78d00ea3a3287656ffce79c729cdf9e23a21c43f9b497ee
MD5 09ee46e38faafd971788b59cfccbd036
BLAKE2b-256 fa1f197c84c98bbb9e029c64871cca83b1f99e4fe988b86f0b4475fcc1dc7db0

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: seemps-3.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 236.1 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for seemps-3.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0d6c5936860e6d6cd8217743ac7caa79fefb211a2e4d61edb13fb315b360c564
MD5 9c2c2e54eed03899f63add6cfefce5d9
BLAKE2b-256 cf4c216f385ce0429131c25c70e68c97b9451a9134343bf56addc2682859f33f

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for seemps-3.0.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8ac98e262b97e16130f58e3dff1bfca79842eb0eff07cf1c473ade706764f463
MD5 b3bc5f27d44fdc541793cf9f22e7f186
BLAKE2b-256 a33fb62c96bb28c559c6935d655d72260f1359b848e3554510f4962a5e2c303c

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for seemps-3.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 81905ae100330a82a99f8a017dfa7ad3b7a8440cfe944a1bcdd0bf80dcc83fe4
MD5 703b1bcff01a8e31b7bc0014a9df528b
BLAKE2b-256 291dba9577f72c0ba403cc6513a5fc5fa07d6a48f7df85139e805908bfdf40ad

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for seemps-3.0.0-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 12d2bf3ebec19b8d68a36cae9f17bb932c6c4f8bc73cf1ebe7ed932e9ea106b4
MD5 21f2422aada966388c5c998c9fac20c6
BLAKE2b-256 7e1e5cf5f976693ecf04ddcb900d0f054c1e195dafc3f6d7d4a0235d962ec53c

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: seemps-3.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 236.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for seemps-3.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 bce4b6935ea7ff991a6e69ed06321c7edfbdf8265b93a554391cbb31c6aa8ef9
MD5 f899bb99ef45d019b6a6d1b175253eb4
BLAKE2b-256 c3efc7cf50748f92acf38d81452ae678dbacdfaf7e5c8eb37b6316b5986490d5

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for seemps-3.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a2cfa47d3f96a7c6c170ef31b7bf19c4f9f6ec234b4281a9c825fd70d423d581
MD5 33538b2c2ebfe4f9ee63b69fc9df1881
BLAKE2b-256 3c3e9c54a599fbdb674970e1f5c3360103032df2b0de727dd0ac255fd97e5b34

See more details on using hashes here.

File details

Details for the file seemps-3.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for seemps-3.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43fed07912b9171263bb1d42ea87641928ca3e0e155b4e7a904deff7da14f906
MD5 e884648e435afe92ca105cd46895e332
BLAKE2b-256 a6f74ac8f895961bdb07ca1623299ae18e52ff6121125664363877d467700a0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page