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.

Reply via email to