File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
NDTensors/src/lib/Sectors/src/category_definitions Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 33# isomorphic to Z_2 ⋉ U(1)
44# isomorphic to SU(2) subgroup with Sz conservation + Sz-reversal
55#
6+ # O(2) has 3 kinds of irreps:
7+ # - trivial irrep, or "0e", corresponds to Sz=0 and even under Sz-reversal
8+ # - "zero odd", or "0o" irrep, corresponds to Sz=0 and odd under Sz-reversal
9+ # - 2-dimensional Sz=±|m| irrep, with m a half integer
10+ #
611
12+ # here we use only one half-integer as label:
13+ # - l=0 for trivial
14+ # - l=-1 for zero odd
15+ # - l=+|m| for Sz=±|m|
716struct O2 <: AbstractCategory
817 l:: HalfIntegers.Half{Int}
918end
@@ -15,7 +24,7 @@ category_label(s::O2) = s.l
1524trivial (:: Type{O2} ) = O2 (0 )
1625zero_odd (:: Type{O2} ) = O2 (- 1 )
1726
18- _iszero (s:: O2 ) = _iszero (category_label (s))
27+ _iszero (s:: O2 ) = _iszero (category_label (s)) # matches both 0e and 0o
1928_iszero_even (s:: O2 ) = _iszero_even (category_label (s))
2029_iszero_odd (s:: O2 ) = _iszero_odd (category_label (s))
2130
You can’t perform that action at this time.
0 commit comments