-
Notifications
You must be signed in to change notification settings - Fork 27
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
added mm_einsum #515
base: develop
Are you sure you want to change the base?
added mm_einsum #515
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
return frozenset(indices), 0 | ||
|
||
|
||
def optimal( |
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.
In the optimal
function, consider adding a timeout mechanism or a maximum iteration limit to prevent potential infinite loops or excessive runtime for very large input sets. This would improve the robustness of the function. [important]
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #515 +/- ##
===========================================
- Coverage 89.77% 88.87% -0.90%
===========================================
Files 92 93 +1
Lines 6054 6113 +59
===========================================
- Hits 5435 5433 -2
- Misses 619 680 +61
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
User description
Context:
mm_einsum
for contracting a TN made of CV and Fock componentsDescription of the Change:
For now just the mm_einsum.py file
PR Type
enhancement, documentation
Description
mm_einsum.py
for contracting tensor networks composed of continuous-variable (CV) and Fock components.njit
for just-in-time compilation.PRDescriptionHeader.CHANGES_WALKTHROUGH
mm_einsum.py
Implement `mm_einsum` for tensor network contraction
mrmustard/physics/mm_einsum.py
mm_einsum
for contracting tensor networks with CV and Fockcomponents.