-
Notifications
You must be signed in to change notification settings - Fork 45
Various small fixes and improvements to RandExpand
#335
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
683acb1
rework random expansion
lkdvos dabfae7
update docstring
lkdvos 96e968f
add and update changelog
lkdvos 5326ff8
fix spaces
lkdvos 5b1e29c
fix overexpanding
lkdvos 2ad7ba5
add changebonds for MultilineMPS
lkdvos 9d8faf3
ensure spaces are consistent
lkdvos c85e30e
add periodicvector
lkdvos 5c5185f
clamp iteration count to avoid NaN
lkdvos cce516d
rework implementation again
lkdvos ee8277b
clamp krylovdim
lkdvos d882936
add utility fullrank for spaces
lkdvos a620ed4
remove stray show
lkdvos 75b0c7a
fix off-by-one error
lkdvos 5928d54
discard attempts and go back to original implementation
lkdvos 47b9044
update changelog
lkdvos 61eb366
update docs
lkdvos 13232ba
fix in-place for multiline
lkdvos 11257fb
more small fixes and changelog updates
lkdvos ee5d8b6
improve docs
lkdvos 5eafe4c
small fix
lkdvos db273df
another small fix
lkdvos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ## [Unreleased] | ||
|
|
||
| ### Added | ||
|
|
||
| - `LocalPreferences.toml` file to ensure `TensorOperations` properly precompiles on testing | ||
| infrastructure | ||
|
|
||
| ### Fixed | ||
|
|
||
| - Dynamic tolerances yielded `NaN` during the initialization stage due to `1 / sqrt(iter)` | ||
| where `iter = 0`. | ||
| - `InfiniteMPOHamiltonian` environments with low bond dimension and high Krylov dimension now are properly | ||
| clamped. | ||
|
|
||
| ### Changed | ||
|
|
||
| - The `changebonds(state, ::RandExpand)` algorithm now no longer has to perform a | ||
| truncated SVD to obtain the desired spaces, and instead sample the space directly | ||
| and then generates a random isometry. This should be slightly more performant, but | ||
| otherwise equivalent. | ||
|
|
||
| ### Deprecated | ||
|
|
||
| ### Removed | ||
|
|
||
| [unreleased]: https://github.com/quantumkithub/pepskit.jl/compare/v0.13.8...HEAD |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [TensorOperations] | ||
| precompile_workload = true | ||
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.