Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Tensor Train Toolbox

This is a pure python library that handles Tensor Train decomposition of tensors. This library. The module contains two main classes Tensor, and TensorTrain. Both of these inherit from an abstract base class BaseTensor that provides a common API.

Author: Tim Molteno tim@elec.ac.nz. Elec Research Group, Department of Physics. University of Otago.

The Tensor Class

This class is a wrapper around a numpy ndarray.

The TensorTrain Class

This class is a Tensor Train Decomposition of a tensor (see reference [1])/ The magic property of these decompositions is that their storage requirements and their computation requirements to not scale exponentially with the tensor dimension N. Thus for high-dimensional or very find grids, TensorTrain decompositions of tensors are far more efficient.

The tradeoff is accuracy. Creating a TT representation of a tensor does not preserve perfect accruacy for high rank tensors.

Will have a class Heirarchy so that Tensors are a class, and TensorTrain is a subclass.

References

[1] I. V. Oseledets. "Tensor-Train Decomposition" SIAM J. Sci. Comput., 33(5), 2295–2317. https://doi.org/10.1137/090752286

Metadata

Release files for tttb 0.0.2a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tttb 0.0.2a1
File Size Uploaded Provenance Actions
tttb-0.0.2a1.tar.gz 4.9 kB Without provenance Details for tttb-0.0.2a1.tar.gz

Release files / tttb-0.0.2a1.tar.gz

Download URL tttb-0.0.2a1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fe35840629e513f9df5115f208f2c13d9d350600ae50c704dbf89a7d1da8edeb
BLAKE2b-256 checksum
How to use checksums
ef0f232bd3514e31925ab3a17aa6eac5525d706d0a7e8ddd19ee3e3b61f88d98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2+

Security for tttb 0.0.2a1

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page