Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Jun 12, 2024
1 parent 54f41c0 commit dc0e132
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/abstractitensornetwork.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 0 additions & 1 deletion src/lib/ITensorsExtensions/src/itensor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ using ITensors.NDTensors:
NDTensors,
Block,
Tensor,
array,
blockdim,
blockoffsets,
denseblocks,
Expand Down
2 changes: 1 addition & 1 deletion src/solvers/insert/insert.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ function default_inserter(
state[v] *= phi
state = set_ortho_region(state, [v])
return state, nothing
end
end

0 comments on commit dc0e132

Please sign in to comment.