This repository was archived by the owner on Nov 7, 2024. It is now read-only.

Description
The opt_einsum repository has been working on paths for tensor contractions for a few years now and have come up with a variety of algorithms tuned for several use cases. A few algorithms to check out:
- Deterministic algorithms can be found here
- Some exploration of non-determistic algorithms here
- Greedy algorithms with custom heuristics here
- Shared intermediate algorithms here
We originally powered the optimization algorithms in the NumPy einsum function, but have expanded to a number of other projects such as Pyro. Hopefully you may find these algorithms useful as well!