-
Notifications
You must be signed in to change notification settings - Fork 1
check_mul_axes
specialization
#65
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #65 +/- ##
==========================================
- Coverage 93.14% 0.00% -93.15%
==========================================
Files 20 19 -1
Lines 832 823 -9
==========================================
- Hits 775 0 -775
- Misses 57 823 +766
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The polar decompositions are failing because the current implementation is fundamentally incompatible with non-zero flux: we have no guarantee that Edit: the additional contraction failures are unrelated to this PR, and main also doesn't pass the tests right now: https://github.com/ITensor/GradedArrays.jl/actions/runs/17896032720 |
Thanks for investigating this. I didn't notice that in the example in #61 the sectors don't match, I agree that case should error earlier based on I also see how polar decomposition of equivariant tensors is nontrivial to define since you need I'm fine with merging this PR as it is and investigating these other issues in followup PRs. That's too bad about the test failures, I wonder how that slipped through the downstream testing... Maybe that was caused by the refactor of the contraction code in ITensor/TensorAlgebra.jl#75. |
I indeed think we can fix the polar decomposition by making the right choices of the gauges, in particular not putting the flux on the S should be enough I think. I am tackling that in the other PR, I'll try and push my update once I'm past border control ;) |
I see, it appears the GradedArrays.jl isn't a downstream test of TensorAlgebra.jl, I'll fix that. |
This PR fixes #61, since the actual issue isn't flux conservation, the multiplied matrices are just not compatible, and the multiplication should error before even computing the result.