Skip to content

Commit

Permalink
Move maxlink dim to correct source file
Browse files Browse the repository at this point in the history
  • Loading branch information
JanReimers committed Jun 12, 2023
1 parent fb2ad8a commit 5df6f1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/reg_form_MPO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ end
function get_Dw(H::reg_form_MPO)
return get_Dw(MPO(H))
end

ITensors.maxlinkdim(Hrf::reg_form_MPO)=maximum(get_Dw(Hrf))


function is_regular_form(H::reg_form_MPO;kwargs...)::Bool
for W in H
Expand Down

0 comments on commit 5df6f1d

Please sign in to comment.