On Tue, Sep 20, 2011 at 8:46 AM, Addison Cugini <[email protected]> wrote: > Hey Hans, > It's been a while since I have had any time to code for this, so the density > operator stuff is nowhere near ready to be integrated into Sympy. The test > suite I have put in place is pretty small, so I have not really validated > the software. (Nor is the way I implement some things the way I would like) > With that warning in place, you can find the density operator code on my > personal github repository under the branch > 'density'. https://github.com/addisonc/sympy/tree/density > It might be a good idea to wait for a Dr Brian Granger to respond, as he (or > one of his new students) might have added some things to the code base since > I last touched it.
We have not done anything further with this, but we definitely would love to get this finished and merged. I probably won't have any time to work on it, but if anyone wants to take a shot at it, let me know. Cheers, Brian > Cheers, > Addison Cugini > > On Tue, Sep 20, 2011 at 7:49 AM, Hans Harhoff Andersen > <[email protected]> wrote: >> >> Ok, thanks I will wait for his reply then. >> Mean while I found a working copy of the density operator function in >> a github fork (repo of addisonc). It just sounded from the paper as if >> it was included in Sympy already. >> >> Now I am stuck trying to use the represent method on the resulting >> density operator to find out whether i can represent it in a nicer way >> using another basis state. >> >> I am trying to use represent on a matrix with basis=the two basis >> vectors, but it either throws exception or just outputs the input. how >> do I input a correctly formatted basis? The example in the docstrings >> uses an operator, but I do not have the corresponding operator just >> the basis kets/vectors. >> >> Ideas, anyone? >> >> (I am hoping that be posing a lot of questions and providing at least >> part of the answers here myself that this will serve as a guide for >> others) >> >> -Hans >> >> On 20 Sep., 16:30, Ondřej Čertík <[email protected]> wrote: >> > Hi Hans, >> > >> > On Tue, Sep 20, 2011 at 6:27 AM, Hans Harhoff Andersen >> > >> > <[email protected]> wrote: >> > > that's ok. I found a way around the problem for now by manually typing >> > > out explicitly what i mean. >> > > whenever the quantum folks take a look at this I'd also like to aks >> > > where the functions density and reduced_density are defined. (They are >> > > mentioned in the paper by Cugini) but I can't find them in the version >> > > of sympy I have 0.7.0 (I just downloaded the git version but I can't >> > > find it there either). >> > >> > Thanks for your interest. The best is to ask Brian about this. I >> > already sent him an email yesterday, so let's wait a few days. >> > >> > Ondrej >> >> -- >> 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. >> > > -- > 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. > -- Brian E. Granger Cal Poly State University, San Luis Obispo [email protected] and [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.
