Skip to content

Commit

Permalink
Bug fix in test_apply
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Jan 3, 2025
1 parent 93d905f commit b11c2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_apply.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ using Test: @test, @testset
#Simple Belief Propagation Grouping
bp_cache = BeliefPropagationCache(ψψ, group(v -> v[1], vertices(ψψ)))
bp_cache = update(bp_cache; maxiter=20)
envsSBP = environment(bp_cache, PartitionVertex.([v1, v2]))
envsSBP = environment(bp_cache, [(v1, "bra"), (v1, "ket"), (v2, "bra"), (v2, "ket")])
ψv = VidalITensorNetwork(ψ)
#This grouping will correspond to calculating the environments exactly (each column of the grid is a partition)
bp_cache = BeliefPropagationCache(ψψ, group(v -> v[1][1], vertices(ψψ)))
Expand Down

0 comments on commit b11c2f8

Please sign in to comment.