-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opt contraction #397
base: develop
Are you sure you want to change the base?
Opt contraction #397
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #397 +/- ##
===========================================
- Coverage 87.44% 84.41% -3.04%
===========================================
Files 81 82 +1
Lines 6142 6403 +261
===========================================
+ Hits 5371 5405 +34
- Misses 771 998 +227
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
874_connections.py
Outdated
@@ -0,0 +1,13 @@ | |||
from mrmustard.lab_dev.opt_contraction import optimal_path, staircase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep!
Context:
At the moment a user has to figure out the optimal path to contract a circuit. This PR introduces a utility that computes the optimal path automatically and allows for custom heuristics.
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues: