Single-Qubit Gates: X, Z and Hadamard as Small Matrices
This lesson is part of the course
In this lesson
You apply the X, Z and Hadamard gates to a qubit state with SUMPRODUCT (one matrix row times the state), read the new amplitudes and see how the Hadamard gate changes the odds of measuring 0.
Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.
Lessons in this course
- One Qubit: Amplitudes, Probabilities & Normalising a State Locked
- Single-Qubit Gates: X, Z and Hadamard as Small Matrices Locked
- Measurement: Probabilities, Simulated Shots & Counts vs Expectation Locked
- Two Qubits: Four Amplitudes, Basis Labels & the Tensor Product Locked
- CNOT & Entanglement: A 4 × 4 Gate, a Bell State & Correlated Shots Locked
- Interference: Why H–H Returns |0⟩ and H–Z–H Returns |1⟩ Locked
- A Two-Qubit Search: Oracle Sign Flip, Diffusion & the Marked Item Locked
- Circuit Summary: Final Probabilities, a Shot Histogram & Why Simulation Grows as 2ⁿ Locked