Re: Issue 3169 in sympy: qapply fully expands arguments

2012-03-20 Thread sympy
Comment #3 on issue 3169 by sean.v@gmail.com: qapply fully expands arguments http://code.google.com/p/sympy/issues/detail?id=3169 So when I first saw this, I was only thinking of the relatively simple case Matthew noted above, where you end up with some scalars multiplying a state,

Issue 3169 in sympy: qapply fully expands arguments

2012-03-19 Thread sympy
Status: Accepted Owner: CC: grd...@gmail.com Labels: Type-Defect Priority-Low Quantum New issue 3169 by mrock...@gmail.com: 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]:

Re: Issue 3169 in sympy: qapply fully expands arguments

2012-03-19 Thread sympy
Comment #1 on issue 3169 by elliso...@gmail.com: qapply fully expands arguments http://code.google.com/p/sympy/issues/detail?id=3169 We need to think carefully about this. The current algorithm in qapply relies on expanding everything. I am not sure we can change this without affecting