arXiv:2608.24307cs.DCAug 2026

Manuscript Offprint

arXiv:2608.24307

An HPC Approach to Accelerate Tensor Decompositions

Markus Hellgren, Erna Begovic Kovac, Hans O. Karlsson, Roman Iakymchuk

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Markus Hellgren 1^{1}, Erna Begović Kovač 2^{2}[0000-0002-3213-1465], Hans O. Karlsson 1^{1}[0000-0002-5366-4949], and Roman Iakymchuk 1,3^{1,3}[0000-0003-2414-700X]

1^{1} Uppsala University, Department of Information Technology, Sweden

markus.hellgren@gmail.com, hans.karlsson@it.uu.se,

roman.iakymchuk@it.uu.se

2^{2} University of Zagreb, Faculty of Chemical Engineering and Technology, Croatia

ebegovic@fkit.unizg.hr

3^{3} Umeå University, Department of Computing Science, Sweden

Abstract. Quantum systems grow in complexity so rapidly that even modest models become difficult to simulate, creating a strong need for methods that can handle high-dimensional data, also known as tensors. In this work, we investigate a novel Jacobi-type tensor algorithm for tensor decomposition and develop a CUDA-based algorithm that supports tensors of arbitrary order on a single GPU. We test the implementation on NVIDIA H100 GPUs and show that the algorithm converges correctly for diagonalizable tensors up to nine dimensions, with runtime scaling in a predictable way as tensor order grows. Finally, our general algorithm outperforms the original MATLAB reference by more than two orders of magnitude.

Keywords: Tensors · Tucker decomposition · Jacobi-type method · GPUs · Quantum Computing.

1 Introduction

The curse of dimensionality appears across many fields of science and engineering, and quantum physics is no exception. As the number of particles increases, the dimensionality of the Hilbert space grows exponentially, making even relatively small quantum systems difficult to treat. For example, an N-qubit quantum computer has a state space of dimension 2N2^N, which increases exponentially with each additional qubit. Tensor decomposition techniques are essential for describing strongly correlated systems in condensed matter [17], quantum dynamics of high-dimensional molecular vibrations [9] as well as quantum simulations of spin transport in one-dimensional Heisenberg chains [10].

This challenge is driving development and evaluation of new algorithms and implementations that can handle high-dimensional problems more efficiently, particularly in high performance computing (HPC) environments where large-scale simulations are carried out. In the context of quantum physics, representative examples of such studies are presented in [14] and [3]. In particular, there is strong motivation for tools that support spectral analysis, which plays a central role.

M. Hellgren et al.

role in understanding the properties of quantum systems. Many of the relevant models, operators, and data structures in this context can naturally be expressed as higher-order tensors (multidimensional arrays), making tensor-based methods appealing.

Tensor decompositions are surveyed in [8]. Tucker methods such as HOSVD and HOOI [5,4] produce a generally dense core, whereas orthogonal tensor diagonalization maximizes the norm of its diagonal. Jacobi-type algorithms have been developed for symmetric and general third-order tensors [11,12,18,2,1]. The present work extends the third-order approach of [2] to arbitrary-order tensors and develops a GPU implementation based on parallel pivot sets. Although parallel and GPU-accelerated Jacobi methods are well established for matrix problems [13,6,15], comparable implementations for diagonalizing general dense tensors of arbitrary order appear to be unavailable.

Our main contributions:

– based on the theoretical derivation with the corresponding Matlab implementation for the third order tensors [2], we designed a general algorithm for the Jacobi-type tensor decomposition, see Sect. 3.2, that is capable of handling tensors of an arbitrary order.

– we developed a high performing implementation of the algorithm on Nvidia H100 GPUs leveraging their enormous performance, see Sects. 3.3 and 4.

– we evaluated the implementation on the arbitrary order and increasingly large tensors, yielding to good predictable scalability, see Sect. 5, and compared against the Matlab reference implementation, showing more than two orders of magnitude speedup.

The remainder of the article is organized as follows: Sect. 2 contains theoretical background plus an introduction to tensors, while Sect. 3 dives into our general Jacobi-type algorithm for tensor decomposition. Sect. 4 provides an overview of tensor representation and our high performing implementation. Sect. 5 presents convergence and performance results, and Sect. 6 discusses the main outcomes and outlines future work.