Affiliation:
1. Departamento de Análisis Matemático, Universidad Complutense de Madrid, 28040 Madrid, Spain
2. Instituto de Ciencias Matemáticas (CSIC-UAM-UC3M-UCM), 28049 Madrid, Spain
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.
Funder
Spanish State Research Agency
Comunidad de Madrid
Universidad Complutense de Madrid
Consejo Superior de Investigaciones Científicas
Ministry for Digital Transformation and of Civil Service of the Spanish Government
Publisher
Verein zur Forderung des Open Access Publizierens in den Quantenwissenschaften