Skip to content

Commit

Permalink
Update chainTDVP.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tfmlaX authored Jan 30, 2024
1 parent ef19af0 commit de1da1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chainTDVP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ function tdvp1sweep_lc!(dt2, A::Vector, M::Vector, lc::ChainLightCone, F=nothing
end

if k == lc.edge && lc.edge != N
@tensor v = tensorscalar(conj(AC[a,b,s])*lc.ref[k+1][a,b,s])
#@tensor v = tensorscalar(conj(AC[a,b,s])*lc.ref[k+1][a,b,s])
@tensor v = (conj(AC[a,b,s])*lc.ref[k+1][a,b,s])[]
if 1-norm(v) > lc.thresh
lc.edge += 1
end
Expand Down

0 comments on commit de1da1d

Please sign in to comment.