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

Subspace expansion #160

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

wladiKrin
Copy link

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 and cutoff inside of expander_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.

@mtfishman mtfishman mentioned this pull request Apr 26, 2024
Comment on lines 54 to 55
#include("solvers/subspace_expansions/linalg/rsvd_aux.jl")
#include("solvers/subspace_expansions/linalg/rsvd_linalg.jl")
Copy link
Member

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?

Copy link
Member

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.

Copy link
Member

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.

Copy link
Member

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.

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.

3 participants