Skip to content

Commit 93a7e80

Browse files
authored
Fermionic test no longer assumes h = permute(h, ((2, 1), (4, 3))) (#277)
* Change test to not assume symmetry in local term * Remove stray files
1 parent a7eb5cc commit 93a7e80

File tree

4 files changed

+1
-555
lines changed

4 files changed

+1
-555
lines changed

test/algorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ end
776776
H = InfiniteMPOHamiltonian([space(h, 1)], (1, 2) => h)
777777
H_periodic = periodic_boundary_conditions(H, N)
778778
terms = [(i, i + 1) => h for i in 1:(N - 1)]
779-
push!(terms, (1, N) => h)
779+
push!(terms, (1, N) => permute(h, ((2, 1), (4, 3))))
780780
H_periodic2 = FiniteMPOHamiltonian(physicalspace(H_periodic), terms)
781781
@test H_periodic H_periodic2
782782
end

test/bench.jl

Lines changed: 0 additions & 45 deletions
This file was deleted.

test/excis.jl

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)