@@ -18,7 +18,7 @@ for i in 1:L, j in 1:L
1818 if i == j
1919 addIntr! (Tree, U1SpinlessFermion. n, i, - Tij[i, i]; name = :n )
2020 else
21- addIntr! (Tree, U1SpinlessFermion. FdagF, (i, j), (true , true ),
21+ addIntr! (Tree, U1SpinlessFermion. FdagF, (i, j), (true , true ),
2222 - Tij[i, j]; name = (:Fdag , :F ), Z = U1SpinlessFermion. Z)
2323 end
2424end
@@ -42,6 +42,7 @@ for i in 1:L, j in 1:L, k in 1:L, l in 1:L
4242 ! duplicated && ! allunique ([i, j, k, l]) && continue
4343 addObs! (Tree, (U1SpinlessFermion. FdagF... , U1SpinlessFermion. FdagF... ), (i, j, k, l), (true , true , true , true ); Z = U1SpinlessFermion. Z, name = (:Fdag , :F , :Fdag , :F ))
4444 addObs! (Tree, Tuple (fill (U1SpinlessFermion. n, 4 )), (i, j, k, l), (false , false , false , false ); name = (:n , :n , :n , :n ))
45+ addObs! (Tree, U1SpinlessFermion. ΔdagΔ, (i, j, k, l), (true , true , true , true ); Z = U1SpinlessFermion. Z, name = (:Fdag , :Fdag , :F , :F ))
4546end
4647# 3-site
4748for i in 1 : L, j in 1 : L, k in 1 : L
124125 ! duplicated && ! allunique ([i, j, k, l]) && continue
125126 O_ex = ExpectationValue (G, [i, j, k, l], [1 , 3 ])
126127 @test haskey (Obs. FdagFFdagF, (i, j, k, l)) && abs (Obs. FdagFFdagF[(i, j, k, l)] - O_ex) < tol
128+
129+ O_ex = ExpectationValue (G, [i, j, k, l], [1 , 2 ])
130+ @test haskey (Obs. FdagFdagFF, (i, j, k, l)) && abs (Obs. FdagFdagFF[(i, j, k, l)] - O_ex) < tol
127131 end
132+
128133end
129134
130135
0 commit comments