-
Notifications
You must be signed in to change notification settings - Fork 1
Sectors refactor #8
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8 +/- ##
==========================================
- Coverage 94.18% 93.54% -0.64%
==========================================
Files 20 12 -8
Lines 997 914 -83
==========================================
- Hits 939 855 -84
- Misses 58 59 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
abc78e4
to
fcde4f7
Compare
I now went through and incorporated the changes we discussed last week. From my local testing, everything but the Let me first discuss the rest of the PR: We now have As a result, most of the sector definitions could be removed and simply inherited from the definitions of the data in TensorKitSectors. There are however two exceptions/special cases. There are some slightly awkward parts of this design, mostly related to the different structs at the different levels. With this PR, a gradedrange has the following hierarchy: For the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the new github may have deleted some of my previous comments, so there might be duplicates now
I can't seem to reply inline to some of your comments, so I'm responding here. You asked about defining Regarding |
Unless I'm missing something, this should have addressed all the comments |
Thanks for working through all of this! It will be nice to be able to easily use the fancier symmetries being developed based on TensorKitSectors. |
This is a refactor of the
Sector
type to be:a) an
AbstractUnitRange
as a first step towardsGradedArraysNext
b) wrapping a
TensorKitSectors.Sector
to make use of the sector data that is defined there.