Skip to content

Commit 3f05a81

Browse files
committed
remove conflicting adjoint
1 parent beba332 commit 3f05a81

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

NDTensors/src/lib/SymmetrySectors/src/sector_definitions/su.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ trivial(::Type{<:SU{N}}) where {N} = SU{N}(ntuple(_ -> 0, Val(N - 1)))
3333

3434
fundamental(::Type{<:SU{N}}) where {N} = SU{N}(ntuple(i -> i == 1, Val(N - 1)))
3535

36-
adjoint(::Type{<:SU{N}}) where {N} = SU{N}((ntuple(i -> 1 + (i == 1), Val(N - 1))))
37-
3836
function quantum_dimension(::NotAbelianStyle, s::SU)
3937
N = groupdim(s)
4038
l = (sector_label(s)..., 0)

NDTensors/src/lib/SymmetrySectors/test/test_simple_sectors.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ using NDTensors.SymmetrySectors:
99
TrivialSector,
1010
U1,
1111
Z,
12-
adjoint,
1312
quantum_dimension,
1413
fundamental,
1514
istrivial,
@@ -116,9 +115,7 @@ using Test: @inferred, @test, @testset, @test_throws
116115

117116
@test trivial(SU{2}) == SU2(0)
118117
@test istrivial(SU2(0))
119-
120118
@test fundamental(SU{2}) == SU2(1//2)
121-
@test adjoint(SU{2}) == SU2(1)
122119

123120
@test quantum_dimension(j1) == 1
124121
@test quantum_dimension(j2) == 2
@@ -151,9 +148,7 @@ using Test: @inferred, @test, @testset, @test_throws
151148
@test SU{4}((0, 0, 0)) == TrivialSector()
152149

153150
@test fundamental(SU{3}) == f3
154-
@test adjoint(SU{3}) == ad3
155151
@test fundamental(SU{4}) == f4
156-
@test adjoint(SU{4}) == ad4
157152

158153
@test dual(f3) == SU{3}((1, 1))
159154
@test dual(f4) == SU{4}((1, 1, 1))

0 commit comments

Comments
 (0)