-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/reduced density matrix (#289)
## New features - The `n`-particle reduced density matrix operator is added to Rimu, i.e., `ReducedDensityMatrix(n)`. - New reduction function `sum_mutating!` allows parallel reduction of array-valued data from `PDVec`s minimizing allocations. ## Modified behaviour - Modified `Interfaces.dot_from_right(target, op, source::AbstractDVec)` in `src/DictVectors/abstractdvec.jl`, which calculates the same thing using `sum` operation. - Removed `Interfaces.dot_from_right(target, op, source::PDVec)` function, which was unnecessary since the same code already exists with type-specific argument `source::AbstractDVec` in abstractdvec.jl script. --------- Co-authored-by: Joachim Brand <[email protected]> Co-authored-by: mtsch <[email protected]>
- Loading branch information
1 parent
98f01b9
commit 980fbdd
Showing
12 changed files
with
301 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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.