Status: New
Owner: ----
Labels: Type-Defect Priority-Medium WrongResult Quantum
New issue 3181 by [email protected]: Wrong results with Operator and
simplifying functions
http://code.google.com/p/sympy/issues/detail?id=3181
The noncommutativity of Operator is not respected by collect, combsimp,
factor, separatevars, giving wrong results. In the case of collect and
combsimp, this might be rectified if issue 642 gets fixed.
from sympy import *
from sympy.physics.quantum import *
X = Operator('X')
Y = Operator('Y')
Z = X*Y - Y*X
collect(Z,X)
0
collect(Z,Y)
0
combsimp(Z)
0
factor(Z)
0
separatevars(Z)
0
import sympy
sympy.__version__
'0.7.1-git'
--
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.