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

Generalize ExponentiallyDecayingCouplingTerms #176

Open
jhauschild opened this issue Aug 31, 2022 · 0 comments
Open

Generalize ExponentiallyDecayingCouplingTerms #176

jhauschild opened this issue Aug 31, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jhauschild
Copy link
Member

jhauschild commented Aug 31, 2022

Right now, the ExponentiallyDecayingCouplingTerms add couplings with a uniform decay rate lambda.
It should be fairly straight-forward to allow lambda_ to be a non-uniform array with one value per site of the MPS (unit cell).
This could be used for e.g. a SSH-type model with long range, see https://tenpy.johannes-hauschild.de/viewtopic.php?t=302

Slightly annoying, right now the convention is that the strength is ~ lambda^|i-j|, which includes a lambda on the first site.
We should probably change this to something like prod(i < k < j) lambda[k] , which amounts to lambda^|i-j-1| for uniform couplings.
This might break backwards compatibility with existing code using the ExponentiallyDecayingCouplingTerms. I assume that this would not affect many users, though.

@jhauschild jhauschild added enhancement New feature or request good first issue Good for newcomers labels Aug 31, 2022
@Jakob-Unfried Jakob-Unfried added this to the some v1.x release milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants