Skip to main content

A Python package for dealing with quantics tensor trains

Project description

Welcome to trainsum, a Python package designed for working with quantics tensor trains. The development was done by the ZAQC-team at the Fraunhofer Institute for Graphical Data Analysis (IGD). trainsum is licensed under EUPL 1.2 (similar to GPL).

The main features are:

  • easy definition of N-dimensional tensor trains

  • quantization of dimensions independent of their size

  • einsum-operations equivalent to NumPy’s einsum function

  • generic backends for NumPy, Torch and CuPy

  • tensorized solver for eigenvalue equations and linear equation systems

Installation

You can install trainsum using pip:

pip install trainsum

The dependencies are:

  • numpy

  • array_api_compat

  • opt_einsum

  • hdf5

Documentation

The documentation for trainsum can be found at https://trainsum.readthedocs.io.

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

trainsum-0.0.1.tar.gz (84.6 kB view details)

Uploaded Source

Built Distribution

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

trainsum-0.0.1-py3-none-any.whl (121.5 kB view details)

Uploaded Python 3

File details

Details for the file trainsum-0.0.1.tar.gz.

File metadata

  • Download URL: trainsum-0.0.1.tar.gz
  • Upload date:
  • Size: 84.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for trainsum-0.0.1.tar.gz
Algorithm Hash digest
SHA256 073726f1c3f4b53f5938f829f19053515686600729d552eec37dd5a51916980b
MD5 ea5380d9071665a8a20e36e6df665376
BLAKE2b-256 8908437560466df34bbcfd87ba7ad204980a75e9a39e5c6ab500bcefe2091995

See more details on using hashes here.

File details

Details for the file trainsum-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: trainsum-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 121.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for trainsum-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa41089ceec5059b94a4f221818e648f5640c1c5976d06057e9f3fab2dbb9464
MD5 79a4442bd0e179ff1fca95f615ff731f
BLAKE2b-256 1ddc779ae2452572636898ce033859a6962b15ac78d1e3a3304f13cac3450159

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