Developer Guide
Quantum Frameworks Compared
Qiskit, Cirq, PennyLane, Q#, Amazon Braket, pytket and CUDA-Q: what each one is for, the same Bell state written in all seven, a picker that matches your goal, a full guide to each framework, and head-to-head comparisons.
Reviewed December 2026. Frameworks change fast, so check the linked documentation for current versions, devices and prices.
Which one fits you?
- 1. Qiskit100% match
Scores well on beginner friendliness and circuit compilation.
- 2. PennyLane61% match
Scores well on beginner friendliness and circuit compilation.
Scores well on beginner friendliness and circuit compilation.
- 4. Amazon Braket SDK61% match
Scores well on beginner friendliness and circuit compilation.
- 5. pytket (TKET)44% match
Scores well on beginner friendliness and circuit compilation.
- 6. Cirq39% match
Scores well on beginner friendliness and circuit compilation.
- 7. NVIDIA CUDA-Q33% match
Scores well on beginner friendliness and circuit compilation.
The ranking is a transparent weighting of editorial 0–3 ratings (see the ratings table below), not a benchmark. Read the detail page before you decide.
The seven frameworks
Qiskit
by IBM · Python (with a Rust core)
The most widely used framework, with the broadest learning material and the most direct route to IBM hardware.
Full guide →
Cirq
by Google Quantum AI · Python
A hardware-aware library that gives fine control over qubit placement, timing and noise.
Full guide →
PennyLane
by Xanadu · Python
A differentiable-programming framework for quantum machine learning and variational algorithms.
Full guide →
Q# and the Quantum Development Kit
by Microsoft · Q# (its own language) with Python and Jupyter integration
A purpose-built quantum language with strong tooling for algorithm design and resource estimation.
Full guide →
Amazon Braket SDK
by Amazon Web Services · Python
A cloud service and SDK that gives access to several hardware providers from one AWS account.
Full guide →
pytket (TKET)
by Quantinuum · Python (with a C++ compiler core)
A compiler-first toolkit that optimises circuits and moves them between other frameworks and hardware.
Full guide →
NVIDIA CUDA-Q
by NVIDIA · Python and C++
A kernel-based platform for fast GPU simulation and hybrid quantum-classical programs.
Full guide →
At a glance
| Framework | Maker | Language | Difficulty | Best known for |
|---|---|---|---|---|
| Qiskit | IBM | Python (with a Rust core) | Beginner-friendly | Learning quantum computing for the first time |
| Cirq | Google Quantum AI | Python | Moderate | Research that needs explicit qubit placement and noise |
| PennyLane | Xanadu | Python | Moderate | Quantum machine learning |
| Q# | Microsoft | Q# (its own language) with Python and Jupyter integration | Moderate | Fault-tolerant algorithm design and resource estimates |
| Braket | Amazon Web Services | Python | Moderate | Trying several hardware technologies from one place |
| pytket | Quantinuum | Python (with a C++ compiler core) | Moderate | Optimising and routing circuits |
| CUDA-Q | NVIDIA | Python and C++ | Moderate | Fast simulation of larger circuits |
Ratings used by the picker
Editorial ratings from 0 (not a focus) to 3 (a main strength). They express this site’s judgement from the documentation and community, and they are not benchmark results.
| Criterion | Qiskit | Cirq | PennyLane | Q# | Braket | pytket | CUDA-Q |
|---|---|---|---|---|---|---|---|
| Beginner friendliness | 3 | 1 | 2 | 2 | 2 | 1 | 1 |
| Quantum machine learning | 1 | 1 | 3 | 0 | 1 | 0 | 1 |
| IBM hardware | 3 | 0 | 2 | 0 | 0 | 2 | 0 |
| Google hardware | 0 | 3 | 1 | 0 | 0 | 1 | 0 |
| Many hardware providers | 1 | 1 | 3 | 2 | 3 | 3 | 1 |
| GPU simulation | 1 | 1 | 2 | 0 | 1 | 0 | 3 |
| Circuit compilation | 3 | 2 | 1 | 1 | 1 | 3 | 1 |
| Fault-tolerant planning | 1 | 1 | 1 | 3 | 0 | 1 | 0 |
| Low-level control | 2 | 3 | 2 | 2 | 1 | 2 | 2 |
One task, seven spellings
The basic steps of the Bell state circuit in each framework. Written from the documentation, not executed here.
| Step | Qiskit | Cirq | PennyLane | Q# | Braket | pytket | CUDA-Q |
|---|---|---|---|---|---|---|---|
| Set up two qubits | QuantumCircuit(2, 2) | q0, q1 = cirq.LineQubit.range(2) | dev = qml.device("default.qubit", wires=2) | use qs = Qubit[2]; | Circuit() | Circuit(2) | q = cudaq.qvector(2) |
| Hadamard on qubit 0 | qc.h(0) | cirq.H(q0) | qml.Hadamard(wires=0) | H(qs[0]); | c.h(0) | c.H(0) | h(q[0]) |
| CNOT, qubit 0 controls qubit 1 | qc.cx(0, 1) | cirq.CNOT(q0, q1) | qml.CNOT(wires=[0, 1]) | CNOT(qs[0], qs[1]); | c.cnot(0, 1) | c.CX(0, 1) | x.ctrl(q[0], q[1]) |
| Measure | qc.measure([0, 1], [0, 1]) | cirq.measure(q0, q1, key="m") | return qml.probs(wires=[0, 1]) | MeasureEach(qs) | implicit when shots are set | c.measure_all() | mz(q) |
| Run locally | AerSimulator().run(qc, shots=1000) | cirq.Simulator().run(c, repetitions=1000) | call the @qml.qnode function | run in VS Code or the qdk Python package | LocalSimulator().run(c, shots=1000) | AerBackend().run_circuit(c, n_shots=1000) | cudaq.sample(kernel) |
Qiskit prints qubit 0 as the rightmost bit while most others print it on the left. See the Circuit Converter bit-order tab, which also generates this circuit in several frameworks.
Head-to-head comparisons
Qiskit vs Cirq: which should you learn?
Two Python circuit libraries from IBM and Google. How they differ in style, hardware and community.
Qiskit vs PennyLane: circuits or differentiable programs?
General quantum programming with Qiskit versus gradient-based quantum machine learning with PennyLane.
Cirq vs PennyLane
A hardware-aware circuit library compared with a differentiable-programming framework.
Qiskit vs Amazon Braket
A full SDK tied to IBM versus a multi-vendor cloud service from AWS.
Qiskit vs pytket: transpiler or compiler?
Two compilers, one general SDK and one compiler-first toolkit, and how they work together.
Qiskit vs Q#: Python library or quantum language?
A Python SDK compared with Microsoft’s purpose-built quantum language and toolkit.
Qiskit vs CUDA-Q: general SDK or GPU platform?
When circuits get big, simulation speed matters. How the two approach it.
How to choose, in short
- First time, or you want the most tutorials and IBM hardware: Qiskit.
- Machine learning and variational circuits: PennyLane.
- Explicit qubit layout, noise and Google’s tools: Cirq.
- Several hardware vendors through AWS: Amazon Braket.
- Fault-tolerant algorithm design and resource estimates: Q#.
- Circuit optimisation and moving circuits between tools: pytket.
- Fast GPU simulation and hybrid workflows: CUDA-Q.
Frequently asked questions
Which quantum framework should a beginner learn first?
Qiskit is the usual recommendation because it has the largest set of tutorials, courses and answers, and a free route to real hardware. The Circuit Builder on this site needs no install at all.
Do I need to learn more than one framework?
Not at first. The ideas (qubits, gates, measurement, circuits) are the same everywhere, and circuits can be converted between frameworks with OpenQASM.
Which framework is best for quantum machine learning?
PennyLane is built around differentiable circuits and integrates with PyTorch, TensorFlow and JAX.
Which framework runs on the most hardware?
Amazon Braket and pytket are designed around many providers. Check each provider’s current device list, because it changes.
Is Q# still worth learning?
If you want to design fault-tolerant algorithms and estimate their resources, yes. For general learning in Python, Qiskit has more material.
Why do old tutorials not work?
Frameworks change quickly. For example, Qiskit 2.0 removed several long-deprecated features. Always check the version a tutorial was written for.
Are the ratings on this page objective?
No. They are editorial 0–3 judgements, shown openly, and the picker multiplies them by weights you can inspect. They are not benchmarks.
Has the code on these pages been run?
The code was written from documentation and is not executed in this site’s build environment. Install the current version and check it, and report anything that has changed.