Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium Quantum
New issue 2229 by [email protected]: Get Gates working with
TensorProduct's of Qubit states
http://code.google.com/p/sympy/issues/detail?id=2229
Currently, the following type of thing does not work:
CNOT(0,1)*TensorProduct(Qubit(0),Qubit(1))
To get this to work, we need to implement
Gate._apply_operator_TensorProduct. I have a start on this here for single
qubit gates:
https://github.com/ellisonbg/sympy/tree/tensorproduct
But additional work needs to be done for the single qubit gates as well as
multiple qubit gates. Special care must be taken to properly treat the
order of the qubits (ordered from R to L) when determining which qubits the
gate applies to.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en.