Skip to content

Switch to the FusionStyle symmetry trait and rename block types - #243

Merged
mtfishman merged 2 commits into
mainfrom
mf/unique-fusion-naming
Aug 4, 2026
Merged

Switch to the FusionStyle symmetry trait and rename block types#243
mtfishman merged 2 commits into
mainfrom
mf/unique-fusion-naming

Conversation

@mtfishman

@mtfishman mtfishman commented Aug 4, 2026

Copy link
Copy Markdown
Member

Summary

Switches the symmetry trait to TensorKitSectors' FusionStyle/UniqueFusion (fermions have unique fusion, so AbelianStyle was a misnomer), renames the block types to UniqueSector* (unfused) and FusedSector{Matrix,Vector} (fused), and follows the TensorAlgebra MatricizeStyle rename. Breaking, part of v0.16.

Switches the symmetry-style trait to TensorKitSectors' `FusionStyle` / `UniqueFusion`, since fermions have unique fusion and the old `AbelianStyle` name wrongly filed them under abelian. Renames the block types `AbelianSector* → UniqueSector*` and `Sector{Matrix,Vector} → FusedSector{Matrix,Vector}`, and follows the TensorAlgebra `MatricizeStyle` rename. Part of the breaking v0.16 series.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.09091% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.36%. Comparing base (a9bc93e) to head (5790843).

Files with missing lines Patch % Lines
src/fusedgradedvector.jl 68.75% 5 Missing ⚠️
src/broadcast.jl 60.00% 4 Missing ⚠️
src/fusion.jl 90.90% 1 Missing ⚠️
src/fusionarray.jl 85.71% 1 Missing ⚠️
src/tensoralgebra.jl 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #243      +/-   ##
==========================================
+ Coverage   81.34%   81.36%   +0.01%     
==========================================
  Files          30       30              
  Lines        2563     2555       -8     
==========================================
- Hits         2085     2079       -6     
+ Misses        478      476       -2     
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 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.

….19 and 0.11 are registered

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mtfishman mtfishman changed the title [WIP] Switch to the FusionStyle symmetry trait and rename block types Switch to the FusionStyle symmetry trait and rename block types Aug 4, 2026
@mtfishman
mtfishman marked this pull request as ready for review August 4, 2026 23:17
@mtfishman
mtfishman enabled auto-merge (squash) August 4, 2026 23:17
@mtfishman
mtfishman merged commit f3a39e8 into main Aug 4, 2026
26 of 28 checks passed
@mtfishman
mtfishman deleted the mf/unique-fusion-naming branch August 4, 2026 23:32
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