The yz component of Q is defined as: Qyz=3yz/r2. The equivalent operator in Quanty is created by:
OppQyz = NewOperator("Qyz", NF, IndexUp, IndexDn)
The operator could also be defined by:
Akm={{2,-1,sqrt(1.5)*I},{2, 1,sqrt(1.5)*I}} OppQyz=NewOperator("CF",NF,indexup,indexdn,Akm)