Status: Valid
Owner: ----
Labels: Type-Enhancement Priority-Medium Quantum Physics EasyToFix
New issue 3275 by [email protected]: qapply of Rotation operator to spin
states
http://code.google.com/p/sympy/issues/detail?id=3275
The rotation operator currently does not have the '_apply_operator_*'
methods for qapply to apply the operators to states.This should not be too
hard, since the matrix elements are already calculated by 'Rotation.D',
it's just adding the _apply methods and some tests. I'll get to this
eventually if nobody else does. This would need to work with both numerical
and symbolic states, for example:
qapply(Rotation(0, pi/2, 0) * JzKet(1, 1)).doit()
JzKet(1, 1)/2 - sqrt(2) * JzKet(1, 0)/2 + JzKet(1, -1)/2
qapply(Rotation(a, b, g) * JzKet(1, 1))
Rotation.D(1,1,1,a,b,g) * JzKet(1,1) + Rotation.D(1,1,0,a,b,g) * JzKet(1,0)
+ Rotation.D(1,1,-1,a,b,g) * JzKet(1,-1)
qapply(Rotation(a, b, g) * JzKet(j, m)
Sum(Rotation.D(j, m, mp, a, b, g) * JzKet(j, mp), (mp, -j, j))
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.