The eigenstates of sympy.physics.quantum.spin: JzKet(j, m),
JxKet(), JyKet() and their bras, and the coupled states
JzKetCoupled(j, m, jn, jcoupling) (and the Jx, Jy and bra
versions) of several spin spaces with momenta jn. couple() writes
tensor products of uncoupled states in the coupled basis and
uncouple() the reverse. rewrite() with "Jx", "Jy" or "Jz"
changes the basis.
Usage
SpinState(j, m)
JxKet(j, m)
JxBra(j, m)
JyKet(j, m)
JyBra(j, m)
JzKet(j, m)
JzBra(j, m)
CoupledSpinState(j, m, ...)
JxKetCoupled(j, m, ...)
JxBraCoupled(j, m, ...)
JyKetCoupled(j, m, ...)
JyBraCoupled(j, m, ...)
JzKetCoupled(j, m, ...)
JzBraCoupled(j, m, ...)
couple(expr, jcoupling_list = NULL)
uncouple(expr, jn = NULL, jcoupling_list = NULL)