Pauli gates and the Hadamard gate
Bit flips, phase flips and a change of basis.
- Calculate the effect of X, Y, Z and H on basis states.
- Verify HZH = X using a worked input.
The Pauli matrices
Section titled “The Pauli matrices”X exchanges and . Y sends to and to . Z leaves alone and negates .
Each Pauli squares to I. On a basis state, Z’s minus may be only a global phase; on a superposition it can change a relative phase.
Hadamard changes the basis
Section titled “Hadamard changes the basis”Because , it also maps back to 0 and back to 1. This is why H before Z readout implements an X-basis measurement.
A worked identity
Section titled “A worked identity”Trace : the first H gives plus, Z gives minus, and the second H gives 1. On , the sequence gives 0. Thus on a basis, hence on all states by linearity.
Practise
Section titled “Practise”Use the qubit explorer to compare X and Y on . Their outcome probabilities agree, but their statevectors differ by a global phase. Then test them on a superposition: agreement on one input is not agreement as operators.
Reference: IBM Quantum — Single systems.
Ready for the next step?
Your progress stays in this browser.