You should be using ITensorMPS.jl rather than ITensorTDVP.jl, as announced in various places:
- [ANN] ITensors.jl v0.7 breaking release (MPS/MPO code moved to ITensorMPS.jl)
- https://www.itensor.org: ITensor News
- Introduction · ITensors.jl
- GitHub - ITensor/ITensorTDVP.jl: Time dependent variational principle (TDVP) of MPS based on ITensors.jl.
When I run this corresponding example from ITensorMPS.jl: ITensorMPS.jl/examples/solvers/03_tdvp_time_dependent.jl at main · ITensor/ITensorMPS.jl · GitHub it runs without error for me when I use the latest versions of ITensors.jl and ITensorMPS.jl.