Skip to content

Commit 6f52ba0

Browse files
committed
Add non-abelian non-selfadjoint test
1 parent 0242b64 commit 6f52ba0

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

test/runtests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ VfSU₂ = (ℂ[FermionSpin](0 => 3, 1 // 2 => 1),
100100
ℂ[FermionSpin](1 // 2 => 1, 1 => 1)',
101101
ℂ[FermionSpin](0 => 2, 1 // 2 => 2),
102102
ℂ[FermionSpin](0 => 1, 1 // 2 => 1, 3 // 2 => 1)')
103+
VSU₂U₁ = (Vect[SU2Irrep U1Irrep]((0, 0) => 1, (1 // 2, -1) => 1),
104+
Vect[SU2Irrep U1Irrep]((0, 0) => 2, (0, 2) => 1, (1, 0) => 1, (1, -2) => 1,
105+
(1 // 2, -1) => 1),
106+
Vect[SU2Irrep U1Irrep]((1 // 2, 1) => 1, (1, -2) => 1)',
107+
Vect[SU2Irrep U1Irrep]((0, 0) => 2, (0, 2) => 1, (1 // 2, 1) => 1),
108+
Vect[SU2Irrep U1Irrep]((0, 0) => 1, (1 // 2, 1) => 1)')
103109
# VSU₃ = (ℂ[SU3Irrep]((0, 0, 0) => 3, (1, 0, 0) => 1),
104110
# ℂ[SU3Irrep]((0, 0, 0) => 3, (2, 0, 0) => 1)',
105111
# ℂ[SU3Irrep]((1, 1, 0) => 1, (2, 1, 0) => 1),

test/tensors.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
for V in (Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VU₁, VfU₁, VCU₁, VSU₂, VfSU₂)#, VSU₃)
1+
for V in (Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VU₁, VfU₁, VCU₁, VSU₂, VfSU₂, VSU₂U₁)#, VSU₃)
22
V1, V2, V3, V4, V5 = V
33
@assert V3 * V4 * V2 V1' * V5' # necessary for leftorth tests
44
@assert V3 * V4 V1' * V2' * V5' # necessary for rightorth tests
@@ -10,15 +10,15 @@ spacelist = try
1010
if Sys.iswindows()
1111
(Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VU₁, VfU₁, VCU₁, VSU₂)
1212
elseif Sys.isapple()
13-
(Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VfU₁, VfSU₂)#, VSU₃)
13+
(Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VfU₁, VfSU₂, VSU₂U₁)#, VSU₃)
1414
else
15-
(Vtr, Vℤ₂, Vfℤ₂, VU₁, VCU₁, VSU₂, VfSU₂)#, VSU₃)
15+
(Vtr, Vℤ₂, Vfℤ₂, VU₁, VCU₁, VSU₂, VfSU₂, VSU₂U₁)#, VSU₃)
1616
end
1717
else
18-
(Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VU₁, VfU₁, VCU₁, VSU₂, VfSU₂)#, VSU₃)
18+
(Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VU₁, VfU₁, VCU₁, VSU₂, VfSU₂, VSU₂U₁)#, VSU₃)
1919
end
2020
catch
21-
(Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VU₁, VfU₁, VCU₁, VSU₂, VfSU₂)#, VSU₃)
21+
(Vtr, Vℤ₂, Vfℤ₂, Vℤ₃, VU₁, VfU₁, VCU₁, VSU₂, VfSU₂, VSU₂U₁)#, VSU₃)
2222
end
2323

2424
for V in spacelist

0 commit comments

Comments
 (0)