Hi all,
I am trying to find ground state of a system with a 12 dimensional local Hilbert space using VUMPS.
I have appropirately overloaded the required 12 *12 dimensional operators for the Hamiltonian.
I am having a problem with initialization of the method.
I am getting an error which is asking me to overload the space, siteind or siteinds method.
Could someone direct on what further changes do I need to make the code attached below work?
ITensors.space(::SiteType"S=11/2") = 12
#######################################################
#Creating Sz operator
ITensors.op(::OpName"Sz",::SiteType"S=11/2") =
[+1 0 0 0 0 0 0 0 0 0 0 0
0 +1 0 0 0 0 0 0 0 0 0 0
0 0 +1 0 0 0 0 0 0 0 0 0
0 0 0 +1 0 0 0 0 0 0 0 0
0 0 0 0 +1 0 0 0 0 0 0 0
0 0 0 0 0 +1 0 0 0 0 0 0
0 0 0 0 0 0 -1 0 0 0 0 0
0 0 0 0 0 0 0 -1 0 0 0 0
0 0 0 0 0 0 0 0 -1 0 0 0
0 0 0 0 0 0 0 0 0 -1 0 0
0 0 0 0 0 0 0 0 0 0 -1 0
0 0 0 0 0 0 0 0 0 0 0 -1]
initstate(n) = isodd(n) ? "↑" : "↓"
s = infsiteinds("S=11/2", N; conserve_qns, initstate)
ψ = InfMPS(s, initstate)
I define other operators as well like Sz and then create the required Hamiltonian unit cell.
I think the problem lies in the last three lines of the code.
Thanks.