bsc-quantic / Tenet.jl

Composable Tensor Network library in Julia
https://bsc-quantic.github.io/Tenet.jl/
Apache License 2.0
17 stars 1 forks source link

Fix sum and subtraction for `Tensor` with same `inds` but different permutation #137

Closed jofrevalles closed 3 months ago

jofrevalles commented 3 months ago

This PR resolves #136. Additionally, we add some small tests to cover for the changes.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.54%. Comparing base (fcafa0b) to head (f3c58ac).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #137 +/- ## ========================================== + Coverage 84.35% 84.54% +0.19% ========================================== Files 11 11 Lines 639 647 +8 ========================================== + Hits 539 547 +8 Misses 100 100 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

jofrevalles commented 3 months ago

Can we merge this, @mofeing ?

mofeing commented 3 months ago

Yep, I approved it