6
$\begingroup$

I want to write the decompose the gate $W=(X+Y)/\sqrt{2}$ using only $H$ and $T$ (and all the derived Clifford gates basically). I know $H=(X+Z)/\sqrt{2}$ is it possible to obtain exactly $W$ from this set (no approximation)?

$\endgroup$

1 Answer 1

8
$\begingroup$

Try the sequence: $$ HT^6HT^2H. $$ What was my thinking? I'm used to doing a transformation that looks something like $$ S^\dagger H S. $$ The action is the $S$ is to preserve the $Z$ term inside $H$, but transforms the $X$ term into a $Y$. So, we take the $S=T^2$ and $S^\dagger=T^6$, and this gives $$ T^6HT^2=(Z-Y)/\sqrt{2}. $$ Now, conjugate with Hadamards to change $Z\mapsto X$ and $Y\mapsto -Y$.

$\endgroup$
1
  • $\begingroup$ Thanks that works! $\endgroup$
    – Mauricio
    Commented May 23, 2022 at 11:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.