Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Opt_einsum contraction algorithms.

Compare
Choose a tag to compare
@chaserileyroberts chaserileyroberts released this 07 Aug 20:27
· 400 commits to master since this release
01cbe6c

Added integration to opt_einsum's deterministic contraction algorithms. See https://optimized-einsum.readthedocs.io/en/latest/path_finding.html for definitions on how these algorithms work.

  • Added contractors.optimal to find the optimal contraction based on required flops.
  • Added contractors.branch, which uses branch heuristics to determine which paths to explore.
  • Added contractors.greedy, which uses a fast greedy heuristic.
  • Added contractors.auto, which chooses which of the above algorithms to use based on network size.
  • Added contractors.custom, which allows users to develop their own contraction algorithms.