ITensor / ITensor/SparseArraysBase.jl
[ENHANCEMENT] Improve `v'v`/`dot(v, v)` implementation to make use of sparsity
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 1
- Forks
- 1
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
Improve v'v/dot(v, v) implementation to make use of sparsity. Make use of ArrayLayouts.DualLayout when taking adjoint of AbstractSparseVector, define Dot/dot to handle inner products.
Some of this could be handled in DerivableInterfaces.jl at the AbstractArrayInterface level.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the current dispatch for v'v and dot(v, v) on AbstractSparseVector, then review ArrayLayouts.DualLayout and the AbstractArrayInterface level in DerivableInterfaces.jl. Done means these inner products make use of sparsity while preserving their intended results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100