Skip to content

Commit 94db950

Browse files
committed
add space test
1 parent 099e2fe commit 94db950

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

test/ctmrg/partition_function.jl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ using PEPSKit
55
using TensorKit
66
using QuadGK
77

8+
9+
@testset "Check spaces in partition function CTMRG" begin
10+
zA = randn(ℂ^6 ^8 ^4 ^2)
11+
zB = randn(ℂ^2 ^9 ^5 ^6)
12+
zC = randn(ℂ^7 ^4 ^8 ^3)
13+
zD = randn(ℂ^3 ^5 ^9 ^7)
14+
15+
Z = InfinitePartitionFunction([zA zB; zC zD])
16+
χenv =^12
17+
env0 = CTMRGEnv(Z, χenv)
18+
env, = leading_boundary(env0, Z; alg = :simultaneous, maxiter = 3, projector_alg = :fullinfinite)
19+
@test env isa CTMRGEnv
20+
end
21+
22+
823
## Setup
924

1025
"""

0 commit comments

Comments
 (0)