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

[ITensors] Fix eigen_perturbation rank #1302

Merged
merged 4 commits into from
Jan 16, 2024
Merged

Conversation

mtfishman
Copy link
Member

It appears that #1214 may have caused an issue when non-trivial eigen_perturbation is passed to factorize, where it is too aggressive about setting an upper bound on the rank of the factorization. This appears to cause issues for the noise term in DMRG, see https://itensor.discourse.group/t/revert-back-to-older-version-of-itensors-jl/1366.

Really this logic should not be in factorize since it adds this extra complexity and breaks the abstraction of factorize that it is doing a factorization of the input tensor, but disentangling it will be left for future work.

I need to add a minimal test once we confirm this fixes the issue with the noise term.

@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (791f690) 84.14% compared to head (c6b59ef) 53.88%.

❗ Current head c6b59ef differs from pull request most recent head a8e5bf5. Consider uploading reports for the commit a8e5bf5 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1302       +/-   ##
===========================================
- Coverage   84.14%   53.88%   -30.26%     
===========================================
  Files         100       99        -1     
  Lines        8594     8490      -104     
===========================================
- Hits         7231     4575     -2656     
- Misses       1363     3915     +2552     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mtfishman mtfishman marked this pull request as ready for review January 16, 2024 17:30
@mtfishman
Copy link
Member Author

[test ITensors mps]

test/base/test_decomp.jl Outdated Show resolved Hide resolved
mtfishman and others added 2 commits January 16, 2024 12:33
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@mtfishman
Copy link
Member Author

[test ITensors mps]

Copy link
Contributor

Run ITensors mps tests from comment trigger: succeeded ✅
https://github.com/ITensor/ITensors.jl/actions/runs/7545326636

1 similar comment
Copy link
Contributor

Run ITensors mps tests from comment trigger: succeeded ✅
https://github.com/ITensor/ITensors.jl/actions/runs/7545326636

Copy link
Contributor

Run ITensors mps tests from comment trigger: succeeded ✅
https://github.com/ITensor/ITensors.jl/actions/runs/7545370356

1 similar comment
Copy link
Contributor

Run ITensors mps tests from comment trigger: succeeded ✅
https://github.com/ITensor/ITensors.jl/actions/runs/7545370356

@mtfishman mtfishman merged commit f673d04 into main Jan 16, 2024
9 checks passed
@mtfishman mtfishman deleted the ITensors_fix_eigen_perturbation branch January 16, 2024 17:59
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.

2 participants