Einsum: The tensor expression language

Einsum has become the quasi-standard for tensor expressions. It is widely used in machine learning and quantum computing. We work on einsum as a compute backend for optimization, learning, and inference, providing efficient execution libraries.

Our Services

Explore our suite of research tools and platforms available on dedicated subdomains.

Research Papers

Our latest contributions to the scientific community.

Einsum Trees: An Abstraction for Optimizing the Execution of Tensor Expressions

Alexander Breuer, Mark Blacher, Max Engel, Joachim Giesen, Alexander Heinecke, Julien Klaus, Stefan Remke

International Conference on Architectural Support for Programming Languages and Operating Systems2025

The Syntax and Semantics of einsum

Maurice Wenig, P. G. Rump, Mark Blacher, Joachim Giesen

arXiv.org2025

Model Counting and Sampling via Semiring Extensions

Andreas Goral, Joachim Giesen, Mark Blacher, Christoph Staudt, Julien Klaus

AAAI Conference on Artificial Intelligence2024

Serving MPE Queries on Tensor Networks by Computing Derivatives

Maurice Wenig, Hanno Barschel, Joachim Giesen, Andreas Goral, Mark Blacher

European Workshop on Probabilistic Graphical Models2024

Einsum Benchmark: Enabling the Development of Next-Generation Tensor Execution Engines

Mark Blacher, Christoph Staudt, Julien Klaus, Maurice Wenig, Niklas Merk, Alexander Breuer, Max Engel, Soren Laue, Joachim Giesen

Neural Information Processing Systems2024

Improved Cut Strategy for Tensor Network Contraction Orders

Christoph Staudt, Mark Blacher, Julien Klaus, Farin Lippmann, Joachim Giesen

Symposium on Experimental Algorithms2024

Compiling Tensor Expressions into Einsum

Julien Klaus, Mark Blacher, Joachim Giesen

International Conference on Conceptual Structures2023