Article view

opt\_einsum - A Python package for optimizing contraction order for einsum-like expressions

By Daniel G. A. Smith, Johnnie Gray

Article information

Publication
Published 29 June 2018
Institutions at publication
Molecular Sciences Software Institute; University College London
188 Citations OpenAlex, 4 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

einsum is a powerful Swiss army knife for arbitrary tensor contractions and general linear algebra found in the popular numpy (Walt, Colbert, and Varoquaux 2011) package. While these expressions can be used to form most mathematical operations found in NumPy, the optimization of these expressions becomes increasingly important as naive implementations increase the overall scaling of these expressions resulting in a dramatic increase in overall execution time. Expressions with many tensors are particularly prevalent in many-body theories such as quantum chemistry, particle physics, and nuclear physics in addition to other fields such as machine learning. At the extreme case, matrix product state theory can have thousands of tensors meaning that the computation cannot procede in a naive fashion.

Citations per year

Citations per year
YearCitations
2018 1
2019 5
2020 8
2021 15
2022 25
2023 25
2024 30
2025 34
2026 43

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 188 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
United Kingdom1
United States1