Skip to content

Commit

Permalink
Fix Bug in test BP
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Apr 10, 2024
1 parent fa0f8a7 commit fd5b9a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/abstractitensornetwork.jl
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,6 @@ end
# TODO: We should make this use the QuadraticFormNetwork constructor here.
# Parts of the code (tests relying on norm_sqr being two layer and the gauging code
# which relies on specific message tensors) currently would break in that case so we need to resolve
# We could have the option in the Form constructors to pre-contract the operator into the bra or ket
function norm_sqr_network::AbstractITensorNetwork)
return disjoint_union("bra" => dag(prime(ψ; sites=[])), "ket" => ψ)
end
Expand Down
1 change: 0 additions & 1 deletion test/test_belief_propagation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ using ITensorNetworks:
combine_linkinds,
contract,
contract_boundary_mps,
contract_density_matrix,
contraction_sequence,
environment,
flatten_networks,
Expand Down

0 comments on commit fd5b9a3

Please sign in to comment.