ITensor / ITensor/BlockSparseArrays.jl

[ENHANCEMENT] Introduce `blockstoredpairs`

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.