Fast tensor disentangling algorithm

Kevin SlagleSciPost 2021

Abstract

Many recent tensor network algorithms apply unitary operators to parts of a tensor network in order to reduce entanglement. However, many of the previously used iterative algorithms to minimize entanglement can be slow. We introduce an approximate, fast, and simple algorithm to optimize disentangling unitary tensors. Our algorithm is asymptotically faster than previous iterative algorithms and often results in a residual entanglement entropy that is within 10 to 40% of the minimum. For certain input tensors, our algorithm returns an optimal solution. When disentangling order-4 tensors with equal bond dimensions, our algorithm achieves an entanglement spectrum where nearly half of the singular values are zero. We further validate our algorithm by showing that it can efficiently disentangle random 1D states of qubits.

Introduction

Tensor networks, such as the Multiscale Entanglement Renormalization Ansatz (MERA) or Projected Entangled Pair States (PEPS), are fundamental tools for simulating complex many-body quantum systems. A critical component in maintaining the efficiency of these networks is the use of "disentanglers"—unitary operators that rotate the local basis to minimize correlations (entanglement) between different parts of the system.

Traditionally, finding the optimal disentangler is a computationally intensive task. Standard approaches rely on iterative methods like gradient descent or Newton’s method. These techniques are notoriously slow, prone to getting trapped in local minima (or "narrow valleys" of the cost function), and scale poorly as the bond dimension $\chi$—a measure of system complexity—increases. For large-scale simulations, even a single optimization step can consume significant CPU time and memory.

The Fast Disentangling Algorithm

This paper introduces a non-iterative, 6-step algorithm designed to find high-quality disentanglers with minimal computational cost. Instead of an iterative search, the algorithm leverages structural intuition through a sequence of singular value decompositions (SVD) and projections.

Setup for disentangling an order-4 tensor $A$ using a unitary $U$ across a bipartition.

The process begins by identifying the primary directions of correlation within the tensor using a random starting vector to break symmetries. It then performs truncated SVDs to find semi-unitary matrices that capture the essential local structure. By effectively "projecting out" the parts of the tensor contributing to entanglement across a specific cut and applying Gram-Schmidt orthonormalization, the algorithm produces a valid unitary operator. The total complexity is $O(\chi^6)$, making it asymptotically faster than even a single step of most iterative solvers.

Structural Intuition and Approximation

The core innovation lies in the realization that a near-optimal disentangler can be constructed by identifying the dominant local basis in one shot. This is achieved by approximating the contracted tensor $(U \cdot A)$ as a product of simpler matrices, as shown in the diagrammatic representation below.

Diagrammatic representation of the approximate decomposition used to find the disentangler.

Key Results and Performance

The algorithm was validated using random Gaussian tensors, fixed spectrum tensors, and 10-qubit wavefunctions. Key findings include:

  • Massive Speedups: The algorithm is 20x faster than gradient descent for small bond dimensions ($\chi=2$) and up to 20,000x faster for larger dimensions ($\chi=16$).
  • High Quality: Despite being an approximation, the residual entanglement entropy is typically within 10% to 40% of the global minimum.
  • The "Half-Zero" Property: For order-4 tensors with equal bond dimensions, the algorithm produces an entanglement spectrum where nearly half of the singular values are zero, which is ideal for data compression.
  • Robustness: Because it is non-iterative, it avoids the local minima that plague gradient-based methods, especially when optimizing Renyi entropies.

In practical tests on a 10-qubit random state, the algorithm successfully removed nearly all entanglement over 500 layers in seconds, whereas iterative methods required minutes of CPU time.

Conclusion

While the algorithm is non-deterministic and may require a few restarts for the best result, its speed and efficiency make it a powerful tool for tensor network simulations. It can be used as a standalone solver or as a "warm start" to provide a high-quality initial guess for traditional iterative methods. Future work will explore extending this approach to handle stabilizer states, such as GHZ states, which currently present a challenge for this SVD-based method.

Summary updated

BibTeX
@inproceedings{slagle2021fast,
  author = {Kevin Slagle},
  title = {{Fast tensor disentangling algorithm}},
  booktitle = {SciPost},
  year = {2021},
  doi = {10.21468/scipostphys.11.3.056},
}
Figure