ITensor / ITensor/BlockSparseArrays.jl
[ENHANCEMENT] Introduce `blockstoredpairs`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 3
- Forks
- 3
- Avg merge
- 14m
- Merged PRs (30d)
- 3
Description
Introduce blockstoredpairs to iterate over pairs of block locations and stored blocks, similar to SparseArraysBase.storedpairs.
Originally posted by @lkdvos in https://github.com/ITensor/BlockSparseArrays.jl/pull/16#discussion_r1910401071
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 reading the referenced SparseArraysBase.storedpairs implementation and then locate the block-location and stored-block iteration code in BlockSparseArrays.jl. Implement blockstoredpairs with equivalent pair iteration, and verify that it returns the expected block locations and stored blocks across the relevant sparse-array cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100