bsc-quantic / Qrochet.jl

Quantum Tensor Networks
https://bsc-quantic.github.io/Qrochet.jl/
Apache License 2.0
1 stars 0 forks source link

Extend `evolve!` for `Chain` in canonical form #31

Closed jofrevalles closed 3 months ago

jofrevalles commented 3 months ago

Summary

This PR extends the evolve! function for Chains in the canonical form.

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 40.74074% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 68.62%. Comparing base (4ed7f4e) to head (bccf668). Report is 1 commits behind head on master.

Files Patch % Lines
src/Ansatz/Chain.jl 20.51% 31 Missing :warning:
src/Quantum.jl 92.85% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #31 +/- ## ========================================== - Coverage 71.74% 68.62% -3.13% ========================================== Files 8 8 Lines 499 529 +30 ========================================== + Hits 358 363 +5 - Misses 141 166 +25 ```

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

jofrevalles commented 3 months ago

Everything seems to work nice: image

Also, I have added some tests for both the canonical and non-canonical evolve functions.

jofrevalles commented 3 months ago

I'd merge this. I have tested locally and everything works fine. @mofeing