Skip to content
Quantum.world

Research

Quantum Tensor Network Learning with DMRG

Overview Research area: Quantum machine learning / quantum-inspired tensor network methods, specifically matrix product states (MPS) optimized for classification tasks. Technical level: Advanced (requ

Quantum Tensor Network Learning with DMRG
arXiv
2608.18901
Published
2026-08-19
Authors
Gustav J L Jäger, Martin B Plenio, Hans-Martin Rieser

AI summary

Overview

Research area: Quantum machine learning / quantum-inspired tensor network methods, specifically matrix product states (MPS) optimized for classification tasks. Technical level: Advanced (requires familiarity with tensor networks, DMRG, Lanczos methods, and constrained optimization). Scope (one sentence): The paper imposes a global normalization condition on an MPS-based classifier so that the contracted network corresponds to a genuine quantum state, and compares a normalized projected gradient descent against a modified DMRG/Lanczos optimizer on a subset of MNIST.

What This Paper Is About

Tensor networks borrowed from quantum many-body physics are used as classical machine learning models, typically as a matrix product state trained by gradient descent. Deploying such a model on a quantum computer requires the network to output a normalized vector, i.e. an actual quantum state, because quantum probabilities must be conserved. The authors add that normalization constraint, derive two ways to optimize under it (a projected gradient descent and a DMRG-style method built on Lanczos), and measure how the constraint affects loss and accuracy on MNIST.

Key Contributions

  1. A global normalization condition on the MPS classifier. Contracting the tensor network now yields a normalized vector that can be mapped to a quantum state, so the architecture is in principle executable on quantum hardware — either by checking each label state separately or by maximally entangling the output system with a readout site, with the MPS translated into a circuit via an existing translation method.

  2. Projected gradient descent on the unit sphere with an optimized step size. Because simply normalizing the unconstrained optimum $A^{-1}|b\rangle$ does not solve the constrained problem (illustrated with an explicit 2x2 counterexample), the authors update along the negative gradient and renormalize, then choose the step size $\alpha$ by solving a stationarity condition with Newton iterations started at $\alpha = 0$.

  3. A modified DMRG algorithm with a post-processing step. Standard DMRG/Lanczos handles only the quadratic term of the loss. The authors compress the local effective operator as $A'_s = VTV^\dagger$ from Lanczos, diagonalize the tridiagonal $T$, and then impose the normalization constraint analytically, reducing it to a scalar equation solved by Newton iteration.

  4. An empirical comparison against conjugate gradient descent on a shared MNIST subset, quantifying the cost of enforcing normalization.

Main Findings

  • Normalization costs substantial accuracy. Conjugate gradient descent reaches 96.950% training and 94.700% test accuracy (training loss 0.06487, test loss 0.08680), while the normalized methods reach only 75.750%/73.000% (normalized gradient descent) and 75.775%/73.100% (modified Lanczos).
  • The two normalized optimizers perform almost identically. Training loss is 0.35820 for both; test loss is 0.36256 versus 0.36257; training accuracy 75.750% versus 75.775%; test accuracy 73.000% versus 73.100%.
  • Both normalized methods still improve clearly on initialization, which gives training loss 0.43646, test loss 0.43984, training accuracy 67.725% and test accuracy 63.300%.
  • The conjugate gradient result is not a like-for-like comparison. Its MPS has norm $3.9 \cdot 10^{6}$; normalizing it produces vanishing overlaps in the loss and a trivial loss of approximately 0.5, so its accuracy comes from operating outside the normalization constraint.
  • The constrained optimum has a specific structure. For the local problem, the optimal normalized state satisfies $A's|\Psi_s\rangle - |b_s\rangle = x|\Psi_s\rangle$ with real $x = \pm\sqrt{\langle g|g\rangle}$; because $A_s$ is positive semidefinite with smallest eigenvalue $e{\min} \geq 0$, the normalization equation has exactly one solution with $x_s < e_{\min}$, and only $x_s < 0$ can give the global minimum of the loss.

Methodology in Plain English

The classifier is a matrix product state whose tensors are trained; input data enter as fixed tensors and a single output site carries the label. Training proceeds by sweeps, optimizing one (or two) sites at a time while keeping the rest of the state canonized so the overall vector stays normalized.

For each local step, the loss is rewritten as a quadratic form involving a Hermitian operator $A$ and a vector $b$ built from the data and labels, with locally effective versions $A_s$ and $b_s$ obtained by contracting away all other sites. A lookup table of the main building blocks of $A_s$ and $b_s$ is maintained during the sweep, which makes each sweep scale linearly in the number of sites at the cost of storage. Parts of $b$ lying in the kernel of $A$ are removed, since otherwise the loss could become negative and contradict its definition; initialization follows the same procedure as the reference MPS work to avoid vanishing gradients.

The first optimizer is gradient descent that takes a step and then renormalizes, with the step size chosen by a Newton solve so the update stays on the unit sphere. The second mimics DMRG: Lanczos builds a small tridiagonal representation of $A_s$, the starting vector is chosen to be $b_s$ so it is fully represented in the resulting eigenbasis, and after diagonalization the constrained optimum is written in closed form as a sum over eigenvectors divided by $(e_i - x)$. The scalar $x$ is found numerically, taking care to initialize below the true root because the equation is only well behaved in that regime; extra deflation terms are subtracted during Lanczos to avoid numerical instability.

Experiments use 5000 MNIST images rescaled to 7x7, split into 4000 training and 1000 test images (the matrix $A$ grows with the square of the number of images). All methods run for three full two-site sweeps with a maximum bond dimension of 20, giving $(49 \times 2 - 1) \times 3 = 291$ local iteration steps.

Why This Matters

The paper tests whether local, physics-style optimizers can be carried over into quantum machine learning once the probabilistic normalization requirement of quantum mechanics is taken seriously. Its value is as a baseline and a caution: the normalization constraint is not a cosmetic detail, and enforcing it currently costs a large amount of accuracy relative to unconstrained classical tensor network training.

Potential applications:

  • Quantum state and ground-state approximation, where MPS and DMRG are already standard tools.
  • Quantum classifiers intended for execution on quantum hardware, since a normalized MPS can be translated into a quantum circuit for inference.
  • Quantum-inspired classical machine learning, where tensor train models offer compact representations of high-dimensional data.
  • Quantum channel and open-system learning, which the authors flag as the natural next class of normalization conditions to study.

Industry relevance: relevant to groups building quantum machine learning stacks and to practitioners using tensor network compression for resource-constrained classical models; the results suggest that competitive quantum-ready classifiers require further algorithmic work before deployment.

Future Directions

  • Study more complex normalization conditions, such as those arising for quantum channels, rather than only the unit-norm state constraint.
  • Improve the evaluation and performance of the normalized methods to reach parity with classical tensor network approaches, which the authors explicitly identify as necessary.
  • Close the accuracy gap to unconstrained optimizers such as conjugate gradient descent while remaining a valid quantum state.
  • Scale the comparison beyond the small 7x7 MNIST subset, since the matrix $A$ grows with the square of the number of images.

Target Audience

Researchers working at the intersection of tensor networks and quantum machine learning, quantum many-body physicists interested in transferring DMRG techniques to learning problems, and graduate students or practitioners with a background in linear algebra and quantum information who want a concrete, benchmarked account of what enforcing normalization costs in an MPS classifier.

Authors’ abstract

Tensor Networks are a relatively new machine learning approach. The architectures proposed initially are inspired by approaches from quantum many-body physics simulations. One common layout is the matrix product state (MPS) also known as a tensor train optimized with gradient descent techniques. We introduce a global normalization condition, so that the MPS represents a quantum state. We investigate two optimization methods that find the locally optimal tensors and compare them regarding their effectiveness. One is based on gradient descent and the other on an adaptation of DMRG.

Read the original paper