Comment #6 on issue 3199 by [email protected]: Finish implementing density operator/matrix
http://code.google.com/p/sympy/issues/detail?id=3199

When applying operators to density matrices, the operators need to
act on both the L and R sides.  We could create a special method of
the density op class that applies an operator to the L and R sides.
We would need to think a bit about the best way of integrating that
with the qapply logic we have in place.

This option should be achievable baring some tweaks that we may need. In the qapply_Mul() function in qapply.py, we could check if the exp has only 2 args ( any operator and an density op). In that case, we apply the L and R operation to this, and return an densityop as a result. That way the densityop will be preserved for subsequent qapply operations.



--
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.

Reply via email to