Hands-On Quantum Computing
The fastest way to learn quantum computing is to build something. These tutorials take you from zero to a working quantum circuit in minutes, using Qiskit, PennyLane, Cirq, and other frameworks -- no quantum hardware required.
Why hands-on practice is the fastest path to understanding
Quantum computing is counterintuitive. Superposition, entanglement, and interference only become clear when you run circuits and see the results. Reading about a Hadamard gate is one thing; running one and watching the measurement distribution converge toward 50/50 over thousands of shots is something different -- it makes the physics tangible.
The good news: you do not need a quantum computer. Every major framework ships with a local simulator. Qiskit's Aer, PennyLane's default.qubit, and Cirq's built-in simulator are all free, run on your laptop, and behave identically to real hardware for small circuits. When you want to run on real hardware, IBM provides free cloud access to its quantum processors.
Start here: featured project
Building a Quantum Random Number Generator
The best first quantum program. A qubit in superposition has no predetermined outcome -- measuring it produces a truly random bit, decided by quantum physics. This tutorial builds a QRNG step by step: single bit, multi-byte output, rejection sampling for arbitrary ranges, and how to run on real IBM hardware to get genuine quantum randomness.
Start tutorial →Hello World tutorials
Your first circuit in each major framework. Pick the one that matches your goals.
- Getting Started with Amazon Braket
- Amazon Braket Hello World
- Getting Started with D-Wave Ocean SDK
- PennyLane Hello World
- Hello World with Perceval (Photonic Quantum Computing)
- Getting Started with Quantinuum H-Series
- Getting Started with Strawberry Fields
- Hello World in Strawberry Fields
- Hello World with TensorFlow Quantum
- Hello World in tket (pytket)
- Quantum Chemistry with OpenFermion
- Hello World with Bloqade (Neutral Atom Computing)
- Hello World with CUDA Quantum
- Getting Started with the IonQ Python SDK
- Getting Started with Superstaq
- Getting Started with Cirq
- Hello World in Cirq
- Getting Started with D-Wave Ocean SDK
- Hello World in D-Wave Ocean
- Getting Started with PyQuil (Forest SDK)
- Hello World in PyQuil
- Hello World in OpenQASM
- Getting Started with Qiskit
- Hello World in Qiskit
- Getting Started with Q#
- Hello World in Q#
- Getting Started with IonQ Aria: Trapped Ion Quantum Computing
Beginner projects to build
Concrete programs that demonstrate core quantum concepts.
The four foundational hands-on projects
These four programs cover the core concepts every quantum developer needs to understand. Build them in order -- each one introduces a concept that the next one depends on.
Quantum random number generator
Apply a Hadamard gate to a qubit and measure it. The result is random -- not pseudo-random. This demonstrates superposition and measurement, the two most fundamental quantum operations.
Build it →Bell state (quantum entanglement)
Apply a Hadamard gate followed by a CNOT to create an entangled pair. Measure both qubits across many shots -- they always agree (00 or 11), never disagree (01 or 10). This demonstrates entanglement and non-local correlations.
Build it →Grover's search algorithm
Implement amplitude amplification on a small database. Grover's is the clearest demonstration of quantum speedup over classical search, and the circuit is short enough to understand gate by gate.
Build it →Variational quantum eigensolver (VQE)
A hybrid classical-quantum algorithm that estimates ground state energies. This is the most practical NISQ algorithm and is used in quantum chemistry. Understanding it prepares you for real research-level quantum programming.
Build it →Frequently asked questions
- What is the best hands-on way to start quantum computing?
- Write your first quantum circuit in Qiskit. The fastest path is: install Qiskit (pip install qiskit qiskit-aer), open a Jupyter notebook, apply a Hadamard gate to a qubit, and measure it. You'll see quantum superposition produce random 0s and 1s -- that's a real quantum computation. The Qiskit Hello World tutorial on this site walks through this in under 10 minutes.
- Do I need a quantum computer to do hands-on quantum computing?
- No. Every major quantum framework includes a local simulator you can run on your laptop. Qiskit's Aer simulator, PennyLane's default.qubit device, and Cirq's built-in simulator all behave identically to real hardware for small circuits. When you're ready for real quantum hardware, IBM provides free cloud access to its quantum processors through IBM Quantum -- no credit card required.
- What Python do I need to know before trying hands-on quantum computing?
- Very little. If you can write a function, call methods on an object, and run a Python script, you have enough to start. Most quantum frameworks are designed so beginners can run their first circuit after reading the first tutorial page. The quantum-specific concepts -- gates, qubits, superposition -- are introduced as you go.
- How long does it take to run a first quantum program?
- About 10 minutes from a blank environment. Install Qiskit (one pip command), copy a five-line circuit, and run it against the local simulator. If you use IBM's online Quantum Lab or a Jupyter environment that already has Qiskit installed, you skip the setup entirely and can run a circuit in under 2 minutes.
- What hands-on projects are good for beginners?
- In order of increasing complexity: (1) Quantum random number generator -- apply a Hadamard gate, measure, collect random bits. (2) Bell state / quantum entanglement -- entangle two qubits and verify the correlation. (3) Quantum teleportation -- implement the three-qubit teleportation circuit and verify fidelity. (4) Grover's search -- implement amplitude amplification on a small search space. These four projects cover the core concepts of superposition, entanglement, interference, and amplitude amplification.