Explore the principles and applications of quantum computing, including quantum gates, qubits, superposition, and entanglement.
Quantum Computing – Structured Overview
| Classical Computing | Quantum Computing |
|---|---|
| Bits are 0 or 1 | Qubits can be 0, 1, or both (superposition) |
| Deterministic logic gates | Quantum gates manipulate probability amplitudes |
| Operations scale linearly with number of bits | Certain problems scale exponentially faster due to entanglement & interference |
Key Idea: Use quantum‑mechanical phenomena (superposition, entanglement, interference) to process information in ways that classical bits cannot.
| Gate | Matrix | Effect |
|---|---|---|
| X (NOT) | (\begin{pmatrix}0&1\1&0\end{pmatrix}) | Flips |
| H (Hadamard) | (\frac{1}{\sqrt{2}}\begin{pmatrix}1&1\1&-1\end{pmatrix}) | Creates equal superposition |
| S (Phase) | (\begin{pmatrix}1&0\0&i\end{pmatrix}) | Adds a π/2 phase to |
| T (π/8) | (\begin{pmatrix}1&0\0&e^{i\pi/4}\end{pmatrix}) | Adds a π/4 phase |
| CNOT | (\begin{pmatrix}1&0&0&0\0&1&0&0\0&0&0&1\0&0&1&0\end{pmatrix}) | Entangles control & target qubits |
| SWAP | Exchanges two qubits | Useful for routing |
Circuit model:
| Algorithm | Problem Addressed | Speed