-
Notifications
You must be signed in to change notification settings - Fork 13
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
Subspace expansion #160
base: main
Are you sure you want to change the base?
Subspace expansion #160
Conversation
…ommented out full expansion.
src/ITensorNetworks.jl
Outdated
#include("solvers/subspace_expansions/linalg/rsvd_aux.jl") | ||
#include("solvers/subspace_expansions/linalg/rsvd_linalg.jl") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be deleted, as discussed in #137.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be deleted, as discussed in #137.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be deleted, as discussed in #137.
This PR introduces a general and flexible subspace expansion interface.
This allows users to perform a 2-site expansion alongside other (typically 1-site) routines, which has better scaling both in the bond dimension and the local Hilbertspace dimension than their 2-site analogs.
The expansion works on general tree structures and can be seamlessly incorporated into existing algorithms by composing and chaining different local updaters via the
compose_updaters
function.Keyword arguments like
maxdim
andcutoff
inside ofexpander_kwargs
can be used to modify parameters specific to the expansion. Furthermore, a general, randomized svd-routine has been implemented, which can be used for the expansion and allows for the favorable, aforementioned scaling.An example script can be found in the test folder.