Switch to the FusionStyle symmetry trait and rename block types - #243
Merged
Conversation
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 Report❌ Patch coverage is
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
….19 and 0.11 are registered Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
mtfishman
marked this pull request as ready for review
August 4, 2026 23:17
mtfishman
enabled auto-merge (squash)
August 4, 2026 23:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches the symmetry trait to TensorKitSectors'
FusionStyle/UniqueFusion(fermions have unique fusion, soAbelianStylewas a misnomer), renames the block types toUniqueSector*(unfused) andFusedSector{Matrix,Vector}(fused), and follows the TensorAlgebraMatricizeStylerename. Breaking, part of v0.16.