Qiskit vs Q#: Python library or quantum language?
Reviewed December 2026
Qiskit is a Python library, so quantum code lives inside ordinary Python. Q# is its own language with types for qubits and results, which is checked by a compiler. That gives Q# strong tooling for algorithm design and resource estimation, at the cost of learning a new language.
Choose Qiskit if
- You want to stay in Python
- You want IBM devices and the biggest community
- You want transpilation control
Choose Q# if
- You are designing fault-tolerant algorithms
- You want resource estimates
- You like typed languages and automatic adjoints
- You use Azure
Side by side
| Qiskit | Q# | |
|---|---|---|
| Maker | IBM | Microsoft |
| Language | Python (with a Rust core) | Q# (its own language) with Python and Jupyter integration |
| Difficulty | Beginner-friendly | Moderate |
| License | Open source (Apache 2.0 per its repository; check) | Open source (MIT per its repository; check) |
| Hardware | 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. | Hardware is reached through Azure Quantum, which lists its providers in its documentation. Check Azure Quantum for the current providers, pricing and free credits. |
| Beginner friendliness (0–3) | 3 | 2 |
| Quantum machine learning (0–3) | 1 | 0 |
| IBM hardware (0–3) | 3 | 0 |
| Google hardware (0–3) | 0 | 0 |
| Many hardware providers (0–3) | 1 | 2 |
| GPU simulation (0–3) | 1 | 0 |
| Circuit compilation (0–3) | 3 | 1 |
| Fault-tolerant planning (0–3) | 1 | 3 |
| Low-level control (0–3) | 2 | 2 |
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'
Q#
operation Main() : Result[] {
use qs = Qubit[2];
H(qs[0]);
CNOT(qs[0], qs[1]);
let results = MeasureEach(qs);
ResetAll(qs);
return results;
}Written from documentation and not executed in this site’s build environment. Check against the versions you install.
Can you use both?
The current QDK install guide lists a Qiskit extra, so Qiskit circuits can be used with the Microsoft toolkit. Check the docs for the supported workflow.
Bottom line
Python users should start with Qiskit. If your goal is estimating the cost of large error-corrected algorithms, look at Q# and its resource estimator.
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 pytket: transpiler or compiler? · Qiskit vs CUDA-Q: general SDK or GPU platform?