Hi, The quantum stuff in sympy is coming along nicely. Addison and Matt gaves talks at the CA-Nevada APS meeting at Caltech a few weeks ago and the work was well received. We have also had some visitors in our department who work in quantum information and they have been interested in the physics aspects of sympy.
I think sympy.physics has a huge potential, but we are already running into an issue that I want to bring up. We are going to need Cython code quite soon. There are simply many algorithms that are too slow in pure Python (many of the algorithms scale exponentially with some parameter that we want to be large). Roughly speaking, here are some options: 1) Allow Cython code in sympy, but put logic in setup.py to omit it if there is no compiler or the deps are not there. For some of the algorithms this would work great because we have slower numpy/scipy/pure python based versions that could be used if the fast version is not available. 2) Create separate mini-projects that just have the optimized Cython algorithms and put pure python code in sympy that can use it if it is installed. I am not very fond of this. 3) Completely remove sympy.physics and create a separate project with all the physics stuff that can use Cython anywhere. Again, I am not too fond of this as the presence of the physics stuff benefits sympy in significant ways such as enlarging the community and attracting new developers. My choice would be (1) (allow Cython code in Sympy, but make sure that sympy still builds and installs w/o it). Thoughts? Cheers, Brian -- Brian E. Granger, Ph.D. Assistant Professor of Physics Cal Poly State University, San Luis Obispo [email protected] [email protected] -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
