No. I want sympy to recognize that |0>|0>=|00>.
For instance I want to be able to write
1/sqrt(2)(|01>+|10>)*|0> and have sympy understand that this means
that there are three qubits  where the two first are entangled and the
last.
the above expression should give me (or at least be interpreted as
(when invoking represent());
1/sqrt(2)|010>+1/sqrt(2)|100>

On 20 Sep., 10:29, Chris Smith <[email protected]> wrote:
> OK, I tried it:
>
>     >>> from sympy.physics.quantum import TensorProduct
>     >>> from sympy.physics.quantum import *
>     >>> TensorProduct(Qubit(0),Qubit(0,0))
>     |0>x|00>
>
> Is that what you are looking for?

-- 
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