The Jz operator is defined as: Jz=Lz+Sz. The equivalent operator in Quanty is created by:
OppJz = NewOperator("Jz", NF, IndexUp, IndexDn)