This post shows how R2 Wave Numbers are used with the Haadamard gate. Note that part 1 of the Bellagio circuit uses Haadamard gates.
H Gate
The Haadmard gate puts |j^> and |jv> into superposition. It does this by splitting |j^> to |j^> + |jv> and |jv> to |j^> + –|jv>. Similarly to other gates, executing the Haadamard gate twice in a row is the equivalent of multiplying by 1^ and does not change the state. In effect the first execution moves |j^> and |jv> into superposition and the second execution returns them to their original state and out of superposition. The gate also works on other states that are already in superposition.
Examples of Haadamard on Basis States
- H |j^> =
- = 1/√2|j^> + 1/√2|jv>
- H –|j^> =
- = –1/√2|j^> + –1/√2|jv>
- H |jv> =
- = 1/√2|j^> + –1/√2|jv>
- H –|jv> =
- = –1/√2|j^> + 1/√2|jv>
Examples of Two Consecutive Haadmard Gates
- = |j^>
- Thus, executing the Haadamard gate on the result of H |j^> above returns the qubit to |j^>
- = |j^>
- = –|j^>
- Thus, executing the Haadamard gate on the result of H –|j^>above returns the qubit to –|j^>
- = –|j^>
- = |jv>
- Thus, executing the Haadamard gate on the result of H |jv> above returns the qubit to |jv>
- = |jv>
- = –|jv>
- Thus, executing the Haadamard gate on the result of H –|jv> above returns the qubit to –|jv>
- = –|jv>
Other Examples
Haadamard Gate in Dirac Notation:
Firstly, H|j^> =
(|j^> <j^|j^> + |j^><jv|j^> + |jv><j^|j^> + –| jv><jv|j^>)
= ( |j^>*1 + |j^>*0 +|jv>*1 + –|jv>*0)
= ( |j^> +|jv>)
Secondly, H|jv> =
(|j^> <j^|jv> + |j^><jv|jv> + |jv><j^|jv> + –| jv><jv|jv)
= (|j^>*0 + |j^>*1 +|jv>*0 + –|jv>*1)
= (|j^> + –|jv >)
Next: Circuits
Previous: Pauli Gates and σf