The official jumping-off point. Every mainstream quantum SDK is a Python library, so this is the only programming language you actually need.
Programming prerequisites
Basic Python plus NumPy is enough to start. Every mainstream quantum SDK — Qiskit, Cirq, PennyLane, Braket — is a Python library.
Why it matters
You learn quantum computing far faster when you can run the thing. A short Python detour pays for itself within days.
After this you will be able to
- Write Python functions, loops and classes comfortably
- Use NumPy arrays, matrix multiplication and complex dtypes
- Install and run a quantum SDK in a notebook
2 best places to start
Hand-picked and ordered. If you only have time for one, take the first.
Quantum states are complex vectors and gates are matrices, which in Python means NumPy arrays. This short guide covers everything you need, including complex dtypes.
1 more resource
A hands-on Jupyter-based workshop run worldwide by a volunteer community. Strong on doing rather than watching, and the free live cohorts give you people to get stuck with.
This unlocks
Topics that list Programming prerequisites as a prerequisite.