Skip to content
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

Refactor MPOHamiltonian #141

Merged
merged 23 commits into from
Jun 3, 2024
Merged

Refactor MPOHamiltonian #141

merged 23 commits into from
Jun 3, 2024

Conversation

lkdvos
Copy link
Member

@lkdvos lkdvos commented May 6, 2024

This is the second stage in refactoring the operators.
This update features more support for finite hamiltonians, along with a new way of constructing them from local operators.
The goal is to port over some of the functionality from MPSKitModels, such that that package can become exclusively for defining models.

@lkdvos lkdvos marked this pull request as draft May 6, 2024 15:23
lkdvos and others added 2 commits May 6, 2024 17:24
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented May 7, 2024

Codecov Report

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

Project coverage is 83.25%. Comparing base (3d27cfb) to head (15cb2c5).
Report is 2 commits behind head on master.

Files Patch % Lines
src/operators/mpohamiltonian.jl 80.18% 22 Missing ⚠️
src/operators/densempo.jl 66.66% 1 Missing ⚠️
src/states/abstractmps.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #141      +/-   ##
==========================================
+ Coverage   83.20%   83.25%   +0.04%     
==========================================
  Files          72       72              
  Lines        4585     4705     +120     
==========================================
+ Hits         3815     3917     +102     
- Misses        770      788      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lkdvos lkdvos marked this pull request as ready for review June 3, 2024 06:57
@lkdvos lkdvos merged commit a0b2388 into master Jun 3, 2024
9 of 11 checks passed
@lkdvos lkdvos deleted the ld/expval branch June 3, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant