Skip to content

Views of KroneckerArray #27

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 3 commits into from
Jun 23, 2025
Merged

Views of KroneckerArray #27

merged 3 commits into from
Jun 23, 2025

Conversation

mtfishman
Copy link
Member

Implement views of KroneckerArrays when slicing with cartesian products, which results in KroneckerArrays where the arguments are the corresponding views.

Along with recent developments in BlockSparseArrays.jl (ITensor/BlockSparseArrays.jl#157, ITensor/BlockSparseArrays.jl#156), this enables some blockwise slicing of block sparse arrays with Kronecker array blocks, though certain slicing operations are broken right now (which will be investigating in future PRs to BlockSparseArrays.jl and KroneckerArrays.jl).

Copy link

codecov bot commented Jun 23, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 1 line in your changes missing coverage. Please review.

Project coverage is 80.30%. Comparing base (9ff937e) to head (1757156).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/kroneckerarray.jl 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   78.99%   80.30%   +1.30%     
==========================================
  Files          11       11              
  Lines         719      726       +7     
==========================================
+ Hits          568      583      +15     
+ Misses        151      143       -8     
Flag Coverage Δ
docs 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman mtfishman merged commit 6ff9f93 into main Jun 23, 2025
14 checks passed
@mtfishman mtfishman deleted the mf/slicing branch June 23, 2025 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant