Qiskit vs pytket: transpiler or compiler?

Reviewed December 2026

Qiskit is a complete SDK that includes a transpiler. pytket is a compiler toolkit that can import circuits from Qiskit and other frameworks. They are often used together, and both claim strong optimisation, so the practical question is whether a particular circuit compiles better with one or the other.

Choose Qiskit if

  • You want one tool for building, compiling and running
  • You are targeting IBM hardware
  • You are a beginner

Choose pytket if

  • You want to compare or add a second compiler
  • You move circuits between frameworks
  • You target Quantinuum systems

Side by side

Qiskitpytket
MakerIBMQuantinuum
LanguagePython (with a Rust core)Python (with a C++ compiler core)
DifficultyBeginner-friendlyModerate
LicenseOpen source (Apache 2.0 per its repository; check)Open source Python package (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.Backends are provided by extension packages, so the available hardware is the union of what those extensions support. Quantinuum systems have a dedicated extension. Check each extension’s documentation.
Beginner friendliness (0–3)31
Quantum machine learning (0–3)10
IBM hardware (0–3)32
Google hardware (0–3)01
Many hardware providers (0–3)13
GPU simulation (0–3)10
Circuit compilation (0–3)33
Fault-tolerant planning (0–3)11
Low-level control (0–3)22

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'

pytket

from pytket import Circuit
from pytket.extensions.qiskit import AerBackend

circ = Circuit(2).H(0).CX(0, 1).measure_all()

backend = AerBackend()
compiled = backend.get_compiled_circuit(circ)
result = backend.run_circuit(compiled, n_shots=1000)
print(result.get_counts())   # about half (0, 0) and half (1, 1)

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

Can you use both?

pytket-qiskit converts circuits between the two, so you can build in Qiskit, optimise in pytket and run through either.

Bottom line

Start with Qiskit. Bring in pytket when compilation quality or portability becomes the bottleneck. Measure on your own circuits, because results depend on the circuit and the device.

Related

Other comparisons: Qiskit vs Cirq: which should you learn? · Qiskit vs PennyLane: circuits or differentiable programs? · Cirq vs PennyLane · Qiskit vs Amazon Braket · Qiskit vs Q#: Python library or quantum language? · Qiskit vs CUDA-Q: general SDK or GPU platform?