Conversation
Contributor
|
Your PR requires formatting changes to meet the project's style guidelines. Click here to view the suggested changes.diff --git a/test/algorithms/groundstate.jl b/test/algorithms/groundstate.jl
index 05bb693..7719cf6 100644
--- a/test/algorithms/groundstate.jl
+++ b/test/algorithms/groundstate.jl
@@ -114,7 +114,7 @@ verbosity_conv = 1
end
@testset "CBEDMRG warmstart $(nameof(Exp))" for (Exp, kw) in
- ((OptimalExpand, (;)), (SketchedExpand, (; oversampling = 4)))
+ ((OptimalExpand, (;)), (SketchedExpand, (; oversampling = 4)))
# warmstart seeds the expansion with the two-site gradient (alters the state); the
# ground-state search should still converge to the correct low-variance state
Random.seed!(2025) |
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.
This is a WIP implementation of a CBE-like expansion scheme based on randomized SVD.
The long story short is that instead of a full twosite (
OptimalExpand) -based approach, we can sketch out this update to select the expansion directions.Mainly I'm still struggling slightly with committing to an interface, and checking what goes where.
I'm somewhat convinced that the
changebond!(as opposed tochangebonds!) abstraction for doing a single expansion on a bond is probably good, but still struggling a bit to see if I want to default this intoDMRG(andTDVP), or get a dedicatedCBE_DMRGalgorithm for it.Interestingly, I think I've set it up in such a way that the various expansion schemes can be used interchangibly, so it is quite modular.
The main source of complexity/messiness is mostly that the
FiniteMPSstructs and environments are very untransparant about what they do, so trying to reuse functionality involves a lot of assumptions on which tensors exactly are where and which ones are used.It would be nice to revisit that at some point, but I also just don't have the time to actually go ahead and do this...
Still to do: