Comment #2 on issue 2186 by [email protected]: X, Y, Z gates should be hermitian as well as unitary
http://code.google.com/p/sympy/issues/detail?id=2186

I've been looking at this issue but have a small question. Is the solution to this as simple as having the XGate, YGate, and ZGate classes inherit from both OneQubitGate and HermitianOperator?

I would assume that you wouldn't want the inheritance from HermitianOperator further upstream, in say OneQubitGate or Gate. I'm guessing (though my knowledge of quantum computing is fairly limited) that it is possible to have a gate that is not Hermitian. Is this the case?

Thanks!

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

Reply via email to