-
I have a very trivial question: I want to do this operation: HYH† = -Y. For some quantum codes, we need to apply the adjoint operation or HUH† on the logical operator. In fact, Gottesman uses this trick HXH† = Z; HYH† = −Y ; HZH† = X to create a new set of quantum codes by applying the operation H"logicaloperator"H† for each operator in each generator of the stabilizer. At the moment, we can do this by manually swapping X -> Z and Z- > X, like checking (true, false), if yes, then (false, true). etc. Suppose we want to change the sign of second logical operator which is Y in S"XYZ" to -Y which is the result when we apply HYH† = -Y. How can this be done if we don't follow the way of adjoint? Is there a way to perform the aforementioned operation either via the current approach or via adjoint (if that is feasible) ? Currently, we can only apply H, not H† Currently,
I checked the
Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, Feroz! Pardon the delay in answering, busy week. I am not completely sure I understand the question, so feel free to redirect my explanation. A few things:
|
Beta Was this translation helpful? Give feedback.
Hi, Feroz!
Pardon the delay in answering, busy week. I am not completely sure I understand the question, so feel free to redirect my explanation.
A few things:
adjoint
methods for gatesLinearAlgebra.inv
methods are defined forCliffordOperator
, but not forAbstractSymbolicOperator
(created an issue about that #286)