# Higher spin MPS/IQMPS

+1 vote

Hello Miles,

I would like to use the DMRG algorithm on higher spins, namely S=3/2, S=2 and maybe S=5/2 if possible. It seems that only S=1/2 and S=1 are implemented in the library. What would be the easiest way for me to add these features ? Can I simply start from either "spinhalf.h" or "spinone.h" and redefine the generators ?

Also, as far as I understand the compilation process, I should then only add a line in "all_mps.h" containing #include "itensor/mps/sites/spinthreehalf.h", for example, and recompile the library ?

Thank you.

Samuel