QuantumKitHub / MPSKit.jl

A Julia package dedicated to simulating quantum many-body systems using Matrix Product States (MPS)
MIT License
126 stars 28 forks source link

Add FiniteMPO #139

Closed lkdvos closed 4 months ago

lkdvos commented 4 months ago

This is a first step in a series of updates that separates the finite and infinite operators. This should help with the WindowMPS stuff as well, and will make several things that are currently a bit fishy more stable. In particular, when you currently convert a MPOHamiltonian into a DenseMPO, there is no way of knowing if it should be finite or infinite, and there is some ambiguity in whether or not periodic things should have the correct length or not.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 83.20%. Comparing base (5b9e0af) to head (7251c91). Report is 2 commits behind head on master.

Files Patch % Lines
src/operators/densempo.jl 87.66% 19 Missing :warning:
src/algorithms/changebonds/svdcut.jl 90.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #139 +/- ## ========================================== + Coverage 82.99% 83.20% +0.20% ========================================== Files 72 72 Lines 4399 4585 +186 ========================================== + Hits 3651 3815 +164 - Misses 748 770 +22 ```

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