Status: Accepted
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-Low Quantum

New issue 3169 by [email protected]: qapply fully expands arguments
http://code.google.com/p/sympy/issues/detail?id=3169

Currently in physics.quantum we have behavior like the following

In [1]: qapply((x+y)*Ket())
Out[1]: x⋅❘ψ⟩ + y⋅❘ψ⟩

Ideally qapply wouldn't expand the scalar add (x+y). I.e. we want

Out[1]: (x+y)⋅❘ψ⟩

Previous conversation was on pull 1137
https://github.com/sympy/sympy/pull/1137

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