Thanks Miles for your reply
I defined my own site set spinhalfparity.h with QN indices defined as
Index(nameint("Up ",j),1,Site),QN("Pf=",1),
Index(nameint("Dn ",j),1,Site),QN("Pf=",0));
( I borrowed the parity type for the fermion case, I hope it is no problem ?)
and it seems to work! Thanks!