Algorithms for Tensor Network Contraction Ordering

Frank Schindler, Adam S. Jermyn
1/15/2020
cs.NEmath.NAphysics.comp-ph

Official code: frankschindler/OptimizedTensorContraction (16 stars, Python, BSD-3-Clause, last commit 2020-02-13).

Abstract

Contracting tensor networks is often computationally demanding. Well-designed contraction sequences can dramatically reduce the contraction cost.

Show full abstract

We explore the performance of simulated annealing and genetic algorithms, two common discrete optimization techniques, to this ordering problem. We benchmark their performance as well as that of the commonly-used greedy search on physically relevant tensor networks. Where computationally feasible, we also compare them with the optimal contraction sequence obtained by an exhaustive search. We find that the algorithms we consider consistently outperform a greedy search given equal computational resources, with an advantage that scales with tensor network size. We compare the obtained contraction sequences and identify signs of highly non-local optimization, with the more sophisticated algorithms sacrificing run-time early in the contraction for better overall performance.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Global search algorithms for finding optimal tensor network contraction sequences.

164PythonJan 14, 20206 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{schindler2020algorithms,
  title  = {Algorithms for Tensor Network Contraction Ordering},
  author = {Frank Schindler and Adam S. Jermyn},
  year   = {2020},
  eprint = {2001.08063},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.08063}
}

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/2001.08063.svg)](https://codeofpaper.com/paper/2001.08063)

Discussion