Sunday, June 2, 2024

Rotating

 Working through Sharma 6 on phase gates. It is not all smooth sailing.

couldn't see how to transform the all-purpose U-gate to the Hadamard or

P gates. Ended up on Merlin's Gmini...                                          




Thought 'Don't play with me' when I saw the answer, but in fact, it showed me my problem.

One has to use pi/4 and not py/e when going for the Hadamard!! Got it.

Below, a friendly Youtube on phases. Not complicated at all; one is merely rotating

thanks to the Φ angle.

                                                                   

No comments: