Quantum Computing: A Complete Guide
by Dr. Eleanor Rieffel & Wolfgang Polak
Quantum Computing: A Complete Guide
Share this page
Quantum Bits and Quantum Gates
Single Qubit Gates
Quantum gates are operations that manipulate qubits. Unlike classical gates, quantum gates are reversible and represented by unitary matrices.
Pauli Gates
- X Gate (NOT gate):
- Y Gate:
- Z Gate:
Hadamard Gate
Creates superposition:
Phase Gates
- S Gate:
- T Gate:
Multi-Qubit Gates
CNOT Gate (Controlled-NOT)
Flips the target qubit if the control qubit is .
Controlled-U Gates
Any single-qubit gate U can be made controlled:
Universal Gate Sets
A set of gates is universal if any quantum operation can be approximated using them. Common universal sets:
- {H, T, CNOT} - Clifford + T
- {H, S, CNOT} - Clifford gates (need additional non-Clifford gate)
- {Toffoli gate} - Universal for classical reversible computation
Quantum Circuits
Quantum algorithms are represented as quantum circuits:
- Wires represent qubits
- Boxes represent gates
- Time flows from left to right
Example: Bell state preparation
This circuit creates the entangled Bell state: