Hello,

I want to calculate a Hamiltonian that has an tight-binding term and a simple one magnet impurity local on one site. Therefore, the second term must be the interaction

between the impurity and the particles which has occupied on this site. So, the form is S*s.

"S" indicates the impurity spin and the "s" is the particle spin. Then,I follow the sample code and set sites=Hubbard(N), and I delete the U term in the "ampo" space and this is the first term. However, I don't know how to set the second term since the impurity spin is not belong to the "sites", actually

, I also don't know how do the particle spin term in this Hubbard sites with Itensor. So, Could anyone give me some helps?

Thank you very much!