Hi there,
I am trying to target the 1st excited state through
energy,psi = dmrg(H,[psi0],psix,sweeps; write_when_maxdim_exceeds=500)
However, I got the following error message:
ERROR: LoadError: MethodError: no method matching disk(::ProjMPO_MPS; path=“/scratch/feng/tmp”)
Closest candidates are:
disk(::SerializedElementArrays.SerializedElementArray; kw…) at ~/.julia/packages/SerializedElementArrays/cdFxy/src/SerializedElementArrays.jl:153
disk(::AbstractArray; kw…) at ~/.julia/packages/SerializedElementArrays/cdFxy/src/SerializedElementArrays.jl:151
disk(::ITensors.AbstractSum; disk_kwargs…) at ~/.julia/dev/ITensors/src/mps/projmposum.jl:110
…
Stacktrace:
[1] dmrg(PH::ProjMPO_MPS, psi0::MPS, sweeps::Sweeps; kwargs::Base.Pairs{Symbol, Any, NTuple{6, Symbol}, NamedTuple{(:start_disk, :write_when_maxdim_exceeds, :write_step, :eigsolve_tol, :eigsolve_krylovdim, :weight), Tuple{Bool, Int64, String, Float64, Int64, Int64}}})
@ ITensors ~/.julia/dev/ITensors/src/mps/dmrg.jl:225
[2] dmrg(H::MPO, Ms::Vector{MPS}, psi0::MPS, sweeps::Sweeps; kwargs::Base.Pairs{Symbol, Any, NTuple{6, Symbol}, NamedTuple{(:start_disk, :write_when_maxdim_exceeds, :write_step, :eigsolve_tol, :eigsolve_krylovdim, :weight), Tuple{Bool, Int64, String, Float64, Int64, Int64}}})
@ ITensors ~/.julia/dev/ITensors/src/mps/dmrg.jl:55
It seems that disk() cannot treat ProjMPO_MPS type object. Can you help?
Best,
Simon