Conversation
Contributor
|
Your PR no longer requires formatting changes. Thank you for your contribution! |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 63 files with indirect coverage changes 🚀 New features to boost your workflow:
|
lkdvos
reviewed
Apr 29, 2026
Member
lkdvos
left a comment
There was a problem hiding this comment.
Looks good to me! I left some minor comments but otherwise I'm happy to merge this and go from there
Collaborator
Author
|
I added a windowmps constructor that takes in a unitrange, similar to windowmpohamiltonian. |
Member
|
Looks good to me! I rebased on the latest main to hopefully resolve the errors in the tests, but if it works I'll just merge this so it is included in the next release, which I hope to get out today. |
Collaborator
Author
|
I forgot that I still want to write some docstring referencing exactly what propagator returns, I wouldn't merge just yet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
draft pr for a windowhamiltonian type, resolving some pain points from #411
It wasn't possible in the past to correctly create a windowmps environments. The window uses a finitehamiltonian, but then the boundaries require an infinite hamiltonian. This new windowhamiltonian would keep track of the "bath" hamiltonian, and the finite hamiltonian for the window.
Misses full support for the abstractmpo interface, and I think a propagator+window test would be nice to have.