-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added dynamic programming path (#102)
* added dynamic programming path * removed duplicate import * code cleanup and some micro optimisations * added dynamic programming to list of optimisers to be tested * bugfix (for dp) for summation indices occurring only in one input * added decomposition into disconnected subgraphs for dp path * bugfix for outer products in dp path; improved performance for outer products * added tests for dp path * dp performance improvement: converted indices to integers * dp performance improvement: using now bitmaps (integers) as tensor sets * added helper function `path_cost` to compute cost of contraction paths * added cost limit for dp and random-greedy-128 based estimate for it * moved dp parameter cost_limit to constructor * dp: now using successively increasing cost cap * removed no longer needed function path_cost * edited docstrings
- Loading branch information
1 parent
f0ec70f
commit 4c123e0
Showing
3 changed files
with
332 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters