-
Notifications
You must be signed in to change notification settings - Fork 1
Block-aware methods on graded storage #173
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
31 commits
Select commit
Hold shift + click to select a range
4c6fb62
Switch from Base.adjoint to Base.conj for sectors and axes
mtfishman 3c935fc
Define block-aware `Base.conj`, `copy`, `norm`, `dot`, scalar ops, an…
mtfishman fd2009e
Implement `projectto!`, `Array`, and graded-axis `similar` disambigua…
mtfishman ab40c69
Block-aware methods on graded storage for the BP simple-update gauge …
mtfishman ea95880
AbelianGradedMatrix alias, block-wise dot on FusedGradedMatrix
mtfishman d983a8b
Disambiguate N=1 block view/getindex/setindex! on graded vectors
mtfishman 41a6594
AbelianGradedArray scale!, zero!, fill! via direct blockdata iteration
mtfishman 8ae503a
Block-wise + and - on FusedGradedMatrix
mtfishman 9606a28
Drop fully truncated coupled sectors from FusedGradedMatrix SVD truncate
mtfishman 966b5e2
Convert `import` to `using` for module-as-name imports
mtfishman ca41b4c
Pin TensorAlgebra to mf/gram-eigh-balanced via `[sources]`
mtfishman f27e1a1
Block-wise `Base.copyto!` on `AbelianGradedArray`
mtfishman 336ef0f
Loud-error broadcasting on FusedGradedMatrix
mtfishman 9923935
Overload `TensorAlgebra.trivialrange` for `GradedOneTo`
mtfishman 0cdf499
Block-aware `Random.rand!` and `Random.randn!` on `AbelianGradedArray`
mtfishman 00ddc6b
Update fill! test on AbelianGradedArray to match the implementation
mtfishman 1badce4
Allow empty GradedOneTo through mortar_axis, sqrt, and equality
mtfishman a727126
Check contracted axes are duals of each other in bosonic graded contract
mtfishman 00b782d
Refactor dual-orientation check as a check_input(contract) overload
mtfishman 0db5da0
Refine contracted-axis check to validate sector content for fermionic…
mtfishman ac1ffce
Use `axes(a, i)` instead of `axes(a)[i]` in the contracted-axis check
mtfishman 62b8b79
Regression tests for the TA factorization axes-conj fixes
mtfishman b488d93
Block-aware `rand`/`randn` constructors and `iszero` on `AbelianGrade…
mtfishman 5c51d0d
Define `FI.permuteddims` eagerly on the abstract array types
mtfishman 4f07f35
Add tests for the block-aware graded array methods
mtfishman d60be2c
Share the AbelianGradedArray view via view_abelian
mtfishman 1cc2ad7
Consolidate scalar, fill, and copy operations on AbstractGradedArray
mtfishman b1e2548
Tidy graded-array dot, reductions, and view dispatch
mtfishman fc4444a
Funnel FusedGradedMatrix arithmetic through a broadcasting stand-in
mtfishman 8095b91
Require canonical dual pairing for contracted graded axes
mtfishman a93193c
Drop TensorAlgebra [sources] pin, require 0.9.5
mtfishman 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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
This function does break the fermions again - it should be equal to
permutedims(a', reverse(1:ndims(a))which introduces-1in the permutationsThere 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.
I see, this one I definitely wasn't sure about, I should have run that by you before merging, happy to discuss and make a followup PR if needed.