TensorKrowch: Smooth integration of tensor networks in machine learning

José Ramón Pareja Monturiol, David Pérez-García, Alejandro Pozas-Kerstjens
6/14/2023
cs.LGcond-mat.stat-mechcond-mat.str-el

No official code found. Best implementation: joserapa98/tensorkrowch (50 stars, MIT, PyTorch, last commit 2026-04-21).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Smooth integration of tensor networks in machine learning

503PythonJan 31, 20226 months agoMIT
machine-learningpytorchtensor-networks

Cite this paper

@article{monturiol2023tensorkrowch,
  title  = {TensorKrowch: Smooth integration of tensor networks in machine learning},
  author = {José Ramón Pareja Monturiol and David Pérez-García and Alejandro Pozas-Kerstjens},
  year   = {2023},
  eprint = {2306.08595},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.08595v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.08595.svg)](https://codeofpaper.com/paper/2306.08595)

Discussion