Qiskit

The most widely used framework, with the broadest learning material and the most direct route to IBM hardware.

by IBM · Python (with a Rust core) · Beginner-friendly · Open source (Apache 2.0 per its repository; check) · reviewed December 2026

What it is

Qiskit is IBM’s open-source quantum software development kit. You build circuits with a QuantumCircuit object, compile (transpile) them for a target device, and run them on a simulator or on IBM hardware through the Qiskit Runtime service.

Its main strength is breadth. There are more tutorials, courses, Stack Exchange answers and third-party packages for Qiskit than for any other framework in this comparison, and IBM provides free access to some of its devices for learners.

  • A circuit is an explicit object you build gate by gate.
  • Hardware runs go through primitives: Sampler returns measurement counts, Estimator returns expectation values.
  • A transpiler adapts every circuit to a particular device’s gates and connectivity.

Core ideas

QuantumCircuit
The central object. You add gates with methods such as h, cx and measure.
Transpiler
A set of passes that rewrite the circuit for a device’s native gates and qubit layout.
Primitives (Sampler and Estimator)
The standard way to run circuits on IBM hardware. The older V1 primitives were removed in Qiskit 2.0.
Aer
A separate package, qiskit-aer, with fast simulators and noise models.

Install and first program

Install

pip install qiskit qiskit-aer

Bell state

from qiskit import QuantumCircuit
from qiskit_aer import AerSimulator

qc = QuantumCircuit(2, 2)
qc.h(0)                      # Hadamard on qubit 0
qc.cx(0, 1)                  # CNOT: qubit 0 controls qubit 1
qc.measure([0, 1], [0, 1])

sim = AerSimulator()
counts = sim.run(qc, shots=1000).result().get_counts()
print(counts)                # about half '00' and half '11'

Written from the documented API, not executed in this site’s build environment. Check it against the version you install.

Expectation value with an Estimator

from qiskit import QuantumCircuit
from qiskit.primitives import StatevectorEstimator
from qiskit.quantum_info import SparsePauliOp

qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)                  # no measurements for an Estimator

observable = SparsePauliOp("ZZ")
job = StatevectorEstimator().run([(qc, observable)])
print(job.result()[0].data.evs)   # 1.0 for the Bell state

The exact expectation of Z⊗Z on the Bell state is 1. On hardware you would use the Runtime Estimator instead of the local one.

Strengths

  • →Largest community and ecosystem in this comparison
  • →Extensive documentation, courses and a large body of examples
  • →Direct route to IBM Quantum devices
  • →A mature transpiler with many optimisation passes
  • →Noise models and simulators through Aer

Weaknesses

  • →Strongly oriented to IBM’s hardware and workflow
  • →Major releases have removed features, so older tutorials often break
  • →The split between the core SDK, Aer and Runtime packages confuses newcomers
  • →Qiskit’s bit-order convention, with qubit 0 on the right, surprises people coming from other tools

Hardware access

IBM Quantum devices through Qiskit Runtime are the native target. Other providers are reached through separate provider packages, for example a Braket provider. Check IBM’s documentation for the current device list and plans.

Ecosystem

  • qiskit-aer: simulators and noise models
  • qiskit-ibm-runtime: running on IBM hardware
  • Application packages for chemistry, optimisation and machine learning, which have been reorganised over time; check the current docs
  • OpenQASM 2 and 3 import and export

Choose it when

  • Learning quantum computing for the first time
  • Running on IBM devices
  • Circuit optimisation and transpilation work
  • Following the largest set of existing tutorials

Look elsewhere when

  • Work that must run on Google hardware
  • Teams that want a single API across many hardware vendors

Common pitfalls

  • Old code that imports execute, uses c_if, or relies on pulse-level control no longer runs on current releases. Qiskit 2.0 removed, among other things, BackendV1, qiskit.pulse, c_if and the V1 primitives.
  • Results are printed with qubit 0 as the rightmost bit. The Bit-order tab of this site’s Circuit Converter shows the difference.
  • Install qiskit-aer separately for local simulation.
  • A tutorial written for Qiskit 0.x may use a package layout that no longer exists, so check its version first.

A learning path

  1. Install qiskit and qiskit-aer and build the Bell circuit below.
  2. Learn the gate set and the bit-order convention.
  3. Run a circuit with the local simulator, then transpile it for a device.
  4. Try the Estimator primitive on a small observable.

Ratings

Editorial ratings from 0 to 3, not benchmarks.

Beginner friendliness
3
Quantum machine learning
1
IBM hardware
3
Google hardware
0
Many hardware providers
1
GPU simulation
1
Circuit compilation
3
Fault-tolerant planning
1
Low-level control
2

Compared with others

Learn more on QuantumAtlas

Questions

Is Qiskit only for IBM hardware?

No. It runs on local simulators and can reach other providers through extra packages, but IBM devices are its best-supported target.

Why do old Qiskit tutorials fail?

Qiskit has removed deprecated features across major releases, including in 1.0 and 2.0. Match the tutorial’s version or update the code.

Is Qiskit free?

The software is open source. IBM’s cloud access has free and paid plans that change, so check the current terms.

Sources

Frameworks change often. The official documentation is the final word on versions, devices and prices.