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

Refactor `eigsolve` to `fixedpoint` #134

Closed lkdvos closed 5 months ago

lkdvos commented 5 months ago

This replaces eigsolve calls that only ask for the dominant eigenvector with fixedpoint, which just wraps eigsolve and takes the first eigenvalue/vector. The main benefit is that this can now use schursolve instead of eigsolve in the Arnoldi case, and can keep the scalartype real.

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 82.79%. Comparing base (11016b9) to head (ddd687a).

Files Patch % Lines
src/algorithms/fixedpoint.jl 41.66% 7 Missing :warning:
src/operators/densempo.jl 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #134 +/- ## ========================================== - Coverage 83.03% 82.79% -0.24% ========================================== Files 71 72 +1 Lines 4310 4308 -2 ========================================== - Hits 3579 3567 -12 - Misses 731 741 +10 ```

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