Qiskit vs Cirq: which should you learn?

Reviewed December 2026

Both libraries let you build circuits in Python and run them on a simulator, so for a simple circuit the code looks similar. The differences appear in what each one emphasises. Qiskit is built around a pipeline from circuit to transpiler to device. Cirq asks you to say which physical qubits you use and which gates happen in the same moment.

That makes Qiskit the easier first library and Cirq the one that makes hardware constraints explicit.

Choose Qiskit if

  • You want the largest set of tutorials and answers
  • You will run on IBM devices
  • You care about transpiler optimisation
  • You are new to quantum programming

Choose Cirq if

  • You want explicit control of qubit layout and timing
  • You are studying noise in detail
  • You work with Google’s published experiments
  • You prefer a smaller, more minimal API

Side by side

QiskitCirq
MakerIBMGoogle Quantum AI
LanguagePython (with a Rust core)Python
DifficultyBeginner-friendlyModerate
LicenseOpen source (Apache 2.0 per its repository; check)Open source (Apache 2.0 per its repository; check)
HardwareIBM 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.Google Quantum AI hardware is the native target, with limited access. Some other providers have Cirq integrations. Check Google’s documentation for what is currently available to outside users.
Beginner friendliness (0–3)31
Quantum machine learning (0–3)11
IBM hardware (0–3)30
Google hardware (0–3)03
Many hardware providers (0–3)11
GPU simulation (0–3)11
Circuit compilation (0–3)32
Fault-tolerant planning (0–3)11
Low-level control (0–3)23

Ratings are editorial, not benchmarks.

The same Bell state

Qiskit

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'

Cirq

import cirq

q0, q1 = cirq.LineQubit.range(2)
circuit = cirq.Circuit(
    cirq.H(q0),
    cirq.CNOT(q0, q1),
    cirq.measure(q0, q1, key="m"),
)

result = cirq.Simulator().run(circuit, repetitions=1000)
print(result.histogram(key="m"))   # counts of 0 and 3 (the bit strings 00 and 11)

Written from documentation and not executed in this site’s build environment. Check against the versions you install.

Can you use both?

They interoperate through OpenQASM. A circuit built in one can be exported as QASM and read by the other, within the limits of the gates both support. The Circuit Converter on this site shows that mapping for the Bell state and other circuits.

Bottom line

For most newcomers, start with Qiskit. Pick Cirq when its explicit qubit and moment model matches what you are researching.

Related

Other comparisons: Qiskit vs PennyLane: circuits or differentiable programs? · Cirq vs PennyLane · Qiskit vs Amazon Braket · Qiskit vs pytket: transpiler or compiler? · Qiskit vs Q#: Python library or quantum language? · Qiskit vs CUDA-Q: general SDK or GPU platform?