You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since PR #232, we have defined canonize for AbstractMPO struct. I believe this should be AbstractMPS, since for now we don't have canonize_site! (the inner function called inside canonize). @mofeing
See:
julia>using Tenet
julia> mpo =rand(MPO, n=10, maxdim=10)
MPO (inputs=10, outputs=10)
julia>canonize!(mpo)
ERROR: MethodError: no method matching canonize_site!(::MPO, ::Site{1}; direction::Symbol, method::Symbol)
The function`canonize_site!` exists, but no method is defined for this combination of argument types.
Closest candidates are:canonize_site!(::MPS, ::Site; direction, method)
@ Tenet ~/git/Tenet.jl/src/MPS.jl:501
Stacktrace:
[1] canonize!(ψ::MPO)
@ Tenet ~/git/Tenet.jl/src/MPS.jl:545
[2] top-level scope
@ REPL[4]:1
The text was updated successfully, but these errors were encountered:
Since PR #232, we have defined
canonize
forAbstractMPO
struct. I believe this should beAbstractMPS
, since for now we don't havecanonize_site!
(the inner function called insidecanonize
). @mofeingSee:
The text was updated successfully, but these errors were encountered: