-
Notifications
You must be signed in to change notification settings - Fork 2
define DualSector
#9
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
I am working on replacing Of course me may have dedicated code to handle them, making an exception and defining |
Can't those be defined to be self-dual? |
Another way to phrase the question is, what goes wrong if you define |
One way to view this particular issue is in a broader context that we have a few self-dual objects, such as In ITensors.jl, we use "arrow directions" as the analog of duality information, and we have three options (captured by an enum), |
Replace by ITensor/GradedArrays.jl#22 |
This PR defines
DualSector <: AbstractSector
and changes the logic ofdual
to put it at the level of theSymmetrySector
.Linked PR with ITensor/GradedUnitRanges.jl#15, ITensor/BlockSparseArrays.jl#45, ITensor/TensorAlgebra.jl#25