[sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-15 Thread Asaf Paris Mandoki
A friend of mine developed a python module for doing Dirac notation algebra for quantum computing calculations. I figured this would be a nice addition to sympy and am interested in integrating it. Is this something that would fit with the sympy project? Thanks, Asaf -- You received this message

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-16 Thread Ondrej Certik
Hi Asaf! On Mon, Mar 15, 2010 at 6:46 PM, Asaf Paris Mandoki wrote: > A friend of mine developed a python module for doing Dirac notation > algebra for quantum computing calculations. I figured this would be a > nice addition to sympy and am interested in integrating it. Is this > something that

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-16 Thread Brian Granger
Asaf, > Hi Asaf! > > On Mon, Mar 15, 2010 at 6:46 PM, Asaf Paris Mandoki wrote: > > A friend of mine developed a python module for doing Dirac notation > > algebra for quantum computing calculations. I figured this would be a > > nice addition to sympy and am interested in integrating it. Is this

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-16 Thread Asaf Paris Mandoki
Hi, The website is http://code.google.com/p/openket/ although is outdated. I am attaching the most recent version together with a couple of examples. I guess that we can get rid of most of the code by taking advantage of sympy. I also believe we can improve the API and have a more general implem

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-17 Thread Alan Bromborsky
Asaf Paris Mandoki wrote: Hi, The website is http://code.google.com/p/openket/ although is outdated. I am attaching the most recent version together with a couple of examples. I guess that we can get rid of most of the code by taking advantage of sympy. I also believe we can improve the API an

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-18 Thread Brian Granger
Asaf, > The website is  http://code.google.com/p/openket/ although is > outdated. I am attaching the most recent version together with a > couple of examples. The google code website lists open ket as being GPL licensed. To incorporate it into sympy it would need to be relicensed to something li

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-18 Thread Brian Granger
> You might want to look at the geometric algebra module in sympy and chapters > 8 and 9 of > "Geometric Algebra for Physicists" by Doran and Lasenby for how you map the > bra-ket algebra > onto geometric algebra. Thanks for the link. For reletivistic QM this could be useful. Cheers, Brian --

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-19 Thread Alan Bromborsky
Brian Granger wrote: You might want to look at the geometric algebra module in sympy and chapters 8 and 9 of "Geometric Algebra for Physicists" by Doran and Lasenby for how you map the bra-ket algebra onto geometric algebra. Thanks for the link. For reletivistic QM this could be useful.

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-22 Thread Asaf Paris Mandoki
> The google code website lists open ket as being GPL licensed.  To > incorporate it into sympy > it would need to be relicensed to something like MIT/BSD.  Is this a > possibility?  If not, we really can't use it. > That doesn't mean we can't implement what you are wanting, but we just > have to s

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-23 Thread Brian Granger
Asaf, > We can certainly change the openket licence, nonetheless I believe > that by taking advantage of sympy we'll use most of the ideas of > opeket but only rewritten pieces of the code. Either way I'll ask my > friend to change it. Cool, even if we don't use much of the code, this will enable

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-24 Thread Asaf Paris Mandoki
> In the abstract sense, if you have a set of operators and states: > > A, B, C > |a>, |b>, |c> > > you don't really know how to apply the operators until you choose a basis: > > A|a> = Sum(, m) > > Thus, I think the base multiplication operations we are using should > not apply the operators.  Wit

Re: [sympy] Is SymPy project interested in a Dirac notation algebra module

2010-03-24 Thread Brian Granger
> The way opeket works is that you define kets by an eigenvalue and an > operator for which the ket is an eigenvector. For example > > Ket(2,'A') > > is an eigenvector of operator 'A' with eigenvalue 2. Then, if you > define the operator 'A' with Interesting, how do you define general states that