diff --git a/src/abstractitensornetwork.jl b/src/abstractitensornetwork.jl index 06bd5e27..b7d75327 100644 --- a/src/abstractitensornetwork.jl +++ b/src/abstractitensornetwork.jl @@ -834,8 +834,8 @@ function ITensorMPS.add(tn1::AbstractITensorNetwork, tn2::AbstractITensorNetwork e1_v = filter(x -> src(x) == v || dst(x) == v, edges_tn1) e2_v = filter(x -> src(x) == v || dst(x) == v, edges_tn2) - @assert issetequal(e1_v, e2_v) + @assert issetequal(e1_v, e2_v) tn1v_linkinds = Index[only(linkinds(tn1, e)) for e in e1_v] tn2v_linkinds = Index[only(linkinds(tn2, e)) for e in e1_v] tn12v_linkinds = Index[new_edge_indices[e] for e in e1_v] diff --git a/src/lib/ITensorsExtensions/src/itensor.jl b/src/lib/ITensorsExtensions/src/itensor.jl index 4e01e0d8..8c834830 100644 --- a/src/lib/ITensorsExtensions/src/itensor.jl +++ b/src/lib/ITensorsExtensions/src/itensor.jl @@ -20,7 +20,6 @@ using ITensors.NDTensors: NDTensors, Block, Tensor, - array, blockdim, blockoffsets, denseblocks, diff --git a/src/solvers/insert/insert.jl b/src/solvers/insert/insert.jl index 7776ca9e..36671b48 100644 --- a/src/solvers/insert/insert.jl +++ b/src/solvers/insert/insert.jl @@ -46,4 +46,4 @@ function default_inserter( state[v] *= phi state = set_ortho_region(state, [v]) return state, nothing -end \ No newline at end of file +end