You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sectors.jl
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -691,15 +691,15 @@ hopflink(a::I, b::I) where {I <: Sector} = sum(dim(c) * tr(Rsymbol(a, b, c) * Rs
691
691
"""
692
692
Smatrix(::Type{I}) where {I <: Sector}
693
693
694
-
Return the S-matrix of the sector type `I`, which is a matrix containing the hopflinks of all pairs of sectors of type `I`.
694
+
Return the S-matrix of the sector type `I`, which is a matrix containing the hopflinks of all pairs of sectors of type `I`, with the second sector being taken dual.
695
695
The S-matrix is not normalized by the total quantum dimension here.
696
696
"""
697
697
functionSmatrix(::Type{I}) where {I <:Sector}
698
698
Base.IteratorSize(values(I)) isa Base.IsInfinite &&
699
699
throw(ArgumentError("Only defined for sectors with a finite number of simple objects"))
700
700
vals =values(I)
701
701
l =length(vals)
702
-
returnreshape([hopflink(a, b) for a in vals, b in vals], (l, l))
702
+
returnreshape([hopflink(a, dual(b)) for a in vals, b in vals], (l, l))
703
703
end
704
704
705
705
"""
@@ -715,13 +715,14 @@ end
715
715
"""
716
716
topological_central_charge(::Type{I}) where {I <: Sector}
717
717
718
-
Return the topological central charge c of the modular sector type `I`, where c is determined mod 8.
718
+
Return the topological central charge c of the braided sector type `I`, where c is determined mod 8.
719
719
We choose convention by restrict the returning value as rational numbers in (-4, 4].
720
720
"""
721
721
functiontopological_central_charge(::Type{I}) where {I <:Sector}
722
-
ξ =sum(dim(a)^2*twist(a) for a invalues(I)) /dim(I)
723
-
@assertisapprox(abs(ξ), 1) "Sector $I is not modular"
724
-
c_float =angle(ξ) *8/ (2π)
722
+
gauss_sum =sum(dim(a)^2*twist(a) for a invalues(I))
723
+
Θ =abs(gauss_sum)
724
+
@assert Θ >sqrt(eps(float(Θ))) "Topological central charge is not defined for sector type $I"# For non-modular categories, central charge is also meaningful. See https://arxiv.org/pdf/1602.05946. For super modular category, Gauss sum vanishes, and its central charge needs to be defined in another manner: https://arxiv.org/pdf/1603.09294.
0 commit comments