ITensor / ITensorTDVP.jl

Time dependent variational principle (TDVP) of MPS based on ITensors.jl.
MIT License
53 stars 14 forks source link

Error with solver="exponentiate" #46

Closed rborrelli closed 1 year ago

rborrelli commented 1 year ago

Hi all, I am running the test_tdvp.jl code and the exponentiate solver backend throws the following error:

Basic TDVP: Error During Test at /home/lello/GitHub/ITensorTDVP.jl/test/test_tdvp.jl:33 Test threw exception Expression: ψ1 ≈ tdvp(H, ψ0, -0.1im; nsweeps = 1, cutoff, nsite = 1, solver_backend = "exponentiate") MethodError: no method matching eigselector(::ProjMPO, ::Type{ComplexF64}; ishermitian=true, issymmetric=true, tol=1.0e-12, krylovdim=30, maxiter=100, verbosity=0, eager=true, current_time=0.0, outputlevel=0) [....] Basic TDVP: Error During Test at /home/lello/GitHub/ITensorTDVP.jl/test/test_tdvp.jl:47 Test threw exception Expression: ψ2 ≈ tdvp(H, 0.1im, ψ1; nsweeps = 1, cutoff, solver_backend = "exponentiate") MethodError: no method matching eigselector(::ProjMPO, ::Type{ComplexF64}; ishermitian=true, issymmetric=true, tol=1.0e-12, krylovdim=30, maxiter=100, verbosity=0, eager=true, current_time=0.0, outputlevel=0)

How do I solve the problem? it seems to affect all the codes with the exponentiate backend.

kbidzhiev commented 1 year ago

I had similar issue. Please, have a look

https://github.com/ITensor/ITensorTDVP.jl/issues/38

rborrelli commented 1 year ago

Hi, thanks for pointing this.

mtfishman commented 1 year ago

I just registered a new version so this should be fixed in ITensorTDVP 0.0.4.