Basic Synthesis of Single-Qubit Gates
1
Show that the Hadamard gate can be written in the following two forms
Here is used to denote that the equality is valid up to a global phase, and hence that the resulting gates are physically equivalent.
Hint: it might even be easiest to prove that for any matrix whose eigenvalues are all , and that such matrices uniquely satisfy .
2
The Hadamard can be constructed from rx and rz operations as
For some suitably chosen . When implemented for finite , the resulting gate will be an approximation to the Hadamard whose error decreases with .
The following shows an example of this implemented with Qiskit with an incorrectly chosen value of (and with the global phase ignored).
Determine the correct value of .
Show that the error (when using the correct value of ) decreases quadratically with .
3
An improved version of the approximation can be found from,
Implement this, and investigate the scaling of the error.