Skip to content

Commit

Permalink
Fix tests to be compatable with upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Apr 3, 2024
1 parent 4227726 commit 0664f24
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/test_belief_propagation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ using ITensorNetworks:
tensornetwork,
update,
update_factor
using ITensors: ITensors, ITensor, combiner, dag, inner, inds, op, prime, randomITensor
using ITensors: ITensors, ITensor, combiner, dag, inds, inner, op, prime, randomITensor
using ITensors.NDTensors: array
using LinearAlgebra: eigvals, tr
using NamedGraphs: NamedEdge, PartitionVertex, named_comb_tree, named_grid
Expand Down
3 changes: 2 additions & 1 deletion test/test_inner.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using Test
using ITensorNetworks

using ITensorNetworks: inner, loginner, logscalar, scalar
using ITensorNetworks:
TTN, inner, inner_network, loginner, logscalar, randomITensorNetwork, scalar
using ITensors: dag, siteinds
using SplitApplyCombine: group
using Graphs: SimpleGraph, uniform_tree
Expand Down
2 changes: 2 additions & 0 deletions test/test_itensornetwork.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ using ITensors:
hascommoninds,
hasinds,
inds,
inner,
itensor,
order,
sim,
Expand All @@ -40,6 +41,7 @@ using ITensorNetworks:
inner_network,
internalinds,
linkinds,
norm_sqr_network,
orthogonalize,
randomITensorNetwork,
siteinds
Expand Down
3 changes: 1 addition & 2 deletions test/test_tno.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
using Graphs: vertices
using ITensorNetworks:
apply,
contract_inner,
flatten_networks,
group_commuting_itensors,
gate_group_to_tno,
get_tnos,
ising,
randomITensorNetwork,
siteinds
using ITensors: ITensor, noprime
using ITensors: ITensor, inner, noprime
using NamedGraphs: named_grid
using Test: @test, @testset

Expand Down

0 comments on commit 0664f24

Please sign in to comment.