Hello ITensors team !
I'm trying to construct an ferrimagnetic model with three magnetic centers (1/2- 5/2 - 1/2) which interact through the Heisenberg Hamiltonian. I know its possibile to implement the S=5/2 operators, but i'm facing some errors when try to construct the siteinds like this :
site = siteinds(n->isodd(n) ? "S=1/2" : "S=5/2" : "S=1/2", N; conserve_qns=true)
With the following error :
"
ERROR: MethodError: no method matching zero(::String)
Closest candidates are:
zero(!Matched::Union{Type{P}, P}) where P<:Dates.Period at /buildworker/worker/packagelinux64/build/usr/share/julia/stdlib/v1.6/Dates/src/periods.jl:53
zero(!Matched::AbstractIrrational) at irrationals.jl:148
zero(!Matched::T) where T<:Dates.TimeType at /buildworker/worker/packagelinux64/build/usr/share/julia/stdlib/v1.6/Dates/src/types.jl:423 "
So my question is, in general how can us construct an general unit-cell(more than 2 spins, mixed spins types) to construct an MPO correctly them perform an dmrg calculation ?
Thanks for any help !