The $J_x$ operator is defined as: \begin{equation} J_x = L_x + S_x. \end{equation} The equivalent operator in Quanty is created by:
OppJx = NewOperator("Jx", NF, IndexUp, IndexDn)