The yz component of $Q$ is defined as: \begin{equation} Q_{yz} = 3yz/r^2. \end{equation} 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)