Quantum circuits from a single qubit to Grover's search, run on a simulator and on real IBM hardware.
42 Abu Dhabi, ftl_quantum: an introduction to quantum computing.
| Exercise | File | What it does |
|---|---|---|
| ex00 | superposition.py |
One qubit in superposition |
| ex01 | entanglement.py |
Two qubits in a Bell state |
| ex02 | quantum_noise.py |
The same Bell state on a real quantum machine |
| ex03 | deutsch-jozsa.py |
The Deutsch-Jozsa algorithm |
| ex04 | search.py |
Grover's search |
Stack: Python, Qiskit, Qiskit Aer, Qiskit IBM Runtime, matplotlib.
uv sync
uv run python ex00/superposition.pyex02 needs an IBM Quantum token. Copy .env.example to .env and fill it in. Never commit .env.