# TensorKrowch: Smooth integration of tensor networks in machine learning

arXiv: https://arxiv.org/abs/2306.08595 · HTML: https://mlsanity.com/paper/2306.08595/

## Key facts

- Cited by 5 papers in the map (data through 14 Oct 2026).
- Builds on 9 of its 42 references that are in the map.
- First posted on arXiv 14 Jun 2023.

## Builds on (most cited first, 9 of 9)

- [Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms](https://mlsanity.com/paper/1708.07747/) (2017)
- [Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decomposition](https://mlsanity.com/paper/1412.6553/) (2014)
- [Machine Learning by Unitary Tensor Network of Hierarchical Tree Structure](https://mlsanity.com/paper/1710.04833/) (2017)
- [Anomaly Detection with Tensor Networks](https://mlsanity.com/paper/2006.02516/) (2020)
- [Entanglement and Tensor Networks for Supervised Image Classification](https://mlsanity.com/paper/2007.06082/) (2020)
- [Generative modeling with projected entangled-pair states](https://mlsanity.com/paper/2202.08177/) (2022)
- [On-FPGA Training with Ultra Memory Reduction: A Low-Precision Tensor Method](https://mlsanity.com/paper/2104.03420/) (2021)
- [Explainable Natural Language Processing with Matrix Product States](https://mlsanity.com/paper/2112.08628/) (2021)
- [The minimal canonical form of a tensor network](https://mlsanity.com/paper/2209.14358/) (2022)

## Built on by (most cited first, 5 of 5)

- [tn4ml: Tensor Network Training and Customization for Machine Learning](https://mlsanity.com/paper/2502.13090/) (2025)
- [Tensorization of neural networks for improved privacy and interpretability](https://mlsanity.com/paper/2501.06300/) (2025)
- [Quantum-inspired Techniques in Tensor Networks for Industrial Contexts](https://mlsanity.com/paper/2404.11277/) (2024)
- [Private and interpretable clinical prediction with quantum-inspired tensor train models](https://mlsanity.com/paper/2602.06110/) (2026)
- [Quantum-inspired tensor networks in machine learning models](https://mlsanity.com/paper/2604.14287/) (2026)

## Abstract (arXiv)

Tensor networks are factorizations of high-dimensional tensors into networks of smaller tensors. They have applications in physics and mathematics, and recently have been proposed as promising machine learning architectures. To ease the integration of tensor networks in machine learning pipelines, we introduce TensorKrowch, an open source Python library built on top of PyTorch. Providing a user-friendly interface, TensorKrowch allows users to construct any tensor network, train it, and integrate it as a layer in more intricate deep learning models. In this paper, we describe the main functionality and basic usage of TensorKrowch, and provide technical details on its building blocks and the optimizations performed to achieve efficient operation.
