English

tntorch: Tensor Network Learning with PyTorch

Machine Learning 2022-09-22 v2 Mathematical Software

Abstract

We present tntorch, a tensor learning framework that supports multiple decompositions (including Candecomp/Parafac, Tucker, and Tensor Train) under a unified interface. With our library, the user can learn and handle low-rank tensors with automatic differentiation, seamless GPU support, and the convenience of PyTorch's API. Besides decomposition algorithms, tntorch implements differentiable tensor algebra, rank truncation, cross-approximation, batch processing, comprehensive tensor arithmetics, and more.

Keywords

Cite

@article{arxiv.2206.11128,
  title  = {tntorch: Tensor Network Learning with PyTorch},
  author = {Mikhail Usvyatsov and Rafael Ballester-Ripoll and Konrad Schindler},
  journal= {arXiv preprint arXiv:2206.11128},
  year   = {2022}
}
R2 v1 2026-06-24T12:00:17.584Z