The Sy operator is defined as: Sy=∑τı2(−a†τ↑a†τ↓+a†τ↓a†τ↑). The equivalent operator in Quanty is created by:
OppSy = NewOperator("Sy", NF, IndexUp, IndexDn)