- A qubit can be represented in the Dirac (Bra-Ket) notation as a linear combination of basis states:
$|\psi\rangle = \alpha|0\rangle + \beta|1\rangle$ Where$\alpha$ and$\beta$ are complex numbers satisfying$|\alpha|^2 + |\beta|^2 = 1$
- Matrix Representation:
- Key Properties:
$X|0\rangle = |1\rangle$ $X|1\rangle = |0\rangle$ - Equivalent to classical NOT gate
- Rotates the qubit state by
$\pi$ radians around the X-axis
- Matrix Representation:
- Key Properties:
$Z|0\rangle = |0\rangle$ $Z|1\rangle = -|1\rangle$ - Rotates the qubit state by
$\pi$ radians around the Z-axis
- Full Matrix Representation (4x4 Matrix for Two-Qubit System):
-
Alternative Names:
- Controlled-X Gate
- Toffoli Gate (when generalized to multiple control qubits)
-
Truth Table:
Control | Target | Result ---------------------------- 0 | 0 | 0 0 | 1 | 1 1 | 0 | 1 1 | 1 | 0
-
Flips the target qubit only if the control qubit is in state
$|1\rangle$
The Hadamard gate is a fundamental quantum gate that creates superposition, transforming basis states into equal superpositions of
-
On Basis States:
$H|0\rangle = \frac{1}{\sqrt{2}}(|0\rangle + |1\rangle)$ $H|1\rangle = \frac{1}{\sqrt{2}}(|0\rangle - |1\rangle)$
- Creates equal probability of measuring
$|0\rangle$ or$|1\rangle$ - Reversible:
$H \cdot H = I$ (Identity matrix) - Essential for quantum algorithms like quantum Fourier transform
- Crucial in creating quantum superposition
- Rotates the qubit state by
$\pi$ radians around the X+Z axis of the Bloch sphere - Transforms pure basis states into equal superposition states
- Used in quantum circuit initialization
- Critical for quantum algorithms like Deutsch-Jozsa and Grover's algorithm
- Enables quantum parallelism by creating superposition states
The Hadamard gate demonstrates the quantum mechanical principle of superposition:
- Classical bits are either 0 or 1
- Quantum bits can be in a probabilistic combination of
$|0\rangle$ and$|1\rangle$ - Measurement collapses the superposition to a definite state
- Allows quantum computers to explore multiple computational paths simultaneously
- Enables quantum parallelism
- Fundamental to quantum algorithmic speedup
Pro Tip: Think of the Hadamard gate as a quantum "coin flip" that puts a qubit into a perfectly balanced superposition state.
- Always apply the Hadamard gate carefully
- Understand its effect on quantum state probabilities
- Recognize its role in creating quantum computational advantage
Recommended Mental Exercise:
Try to visualize how the Hadamard gate transforms
Bell states are maximally entangled two-qubit states:
$|\Phi^+\rangle = \frac{1}{\sqrt{2}}(|00\rangle + |11\rangle)$ $|\Phi^-\rangle = \frac{1}{\sqrt{2}}(|00\rangle - |11\rangle)$ $|\Psi^+\rangle = \frac{1}{\sqrt{2}}(|01\rangle + |10\rangle)$ $|\Psi^-\rangle = \frac{1}{\sqrt{2}}(|01\rangle - |10\rangle)$
- Represent the four maximally entangled two-qubit states
- Symmetric superpositions
- Each state has equal probability of measuring
$|0\rangle$ or$|1\rangle$
- For a qubit
$|\psi\rangle = \alpha|0\rangle + \beta|1\rangle$ :- Probability of measuring
$|0\rangle$ :$|\alpha|^2$ - Probability of measuring
$|1\rangle$ :$|\beta|^2$
- Probability of measuring
- Quantum gates are reversible
- Most quantum gates are unitary matrices
- Composition of quantum gates is done through matrix multiplication
- Always normalize your qubit states
- Remember that quantum measurements collapse the quantum state
- Understand the difference between quantum and classical bit manipulation
Note: This revision sheet provides a high-level overview. Always supplement with detailed textbook study and practical problem-solving.