diff --git a/src/solvers/dmrg.jl b/src/solvers/dmrg.jl index 2870acd7..d7931923 100644 --- a/src/solvers/dmrg.jl +++ b/src/solvers/dmrg.jl @@ -24,39 +24,6 @@ function ITensorMPS.dmrg( return eigval, state end -function ITensorMPS.dmrg( - operators::Vector{ITensorNetwork}, - init_state; - nsweeps, - nsites=2, - updater=bp_eigsolve_updater, - inserter=bp_inserter, - extracter=bp_extracter, - sweep_plan_func=bp_sweep_plan, - bp_sweep_kwargs=(;), - (region_observer!)=nothing, - kwargs..., -) - eigvals_ref = Ref{Any}() - region_observer! = compose_observers( - region_observer!, ValuesObserver((; eigvals=eigvals_ref)) - ) - state = alternating_update( - operators, - init_state; - nsweeps, - nsites, - updater, - region_observer!, - inserter, - extracter, - sweep_plan_func, - kwargs..., - ) - eigval = only(eigvals_ref[]) - return eigval, state -end - """ Overload of `KrylovKit.eigsolve`. """