Skip to content

Reduce the fixed overhead of graded contractions - #289

Merged
mtfishman merged 3 commits into
mainfrom
mf/contraction-performance
Oct 27, 2026
Merged

mtfishman merged 3 commits into
mainfrom
mf/contraction-performance

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Speeds up contracting graded arrays, mostly where per-call overhead dominates (small blocks). Fermionic contractions now twist the operand that is already being copied, as TensorKit does, and several allocations on the contraction path are removed. Results are unchanged.

mtfishman and others added 2 commits October 26, 2026 20:47
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.78%. Comparing base (61e08d1) to head (072413d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #289      +/-   ##
==========================================
+ Coverage   85.57%   85.78%   +0.20%     
==========================================
  Files          40       40              
  Lines        2815     2842      +27     
==========================================
+ Hits         2409     2438      +29     
+ Misses        406      404       -2     
Flag Coverage Δ
docs 16.81% <20.51%> (-1.84%) ⬇️

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

☔ View full report in Codecov by Harness.
📢 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.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mtfishman
mtfishman enabled auto-merge (squash) October 27, 2026 01:51
@mtfishman
mtfishman merged commit a906086 into main Oct 27, 2026
19 checks passed
@mtfishman
mtfishman deleted the mf/contraction-performance branch October 27, 2026 01:58
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