Quantum Programming
Writing Software for Quantum Computers
Qiskit, Cirq, PennyLane, Q#, OpenQASM, and the Craft of Programming the Unhackable
DataField.Dev
2026
A free and open textbook.
Text licensed under CC BY-SA 4.0. All source code additionally licensed under MIT. See License.
Forty chapters. Seven parts. Fourteen appendices. Five frameworks. One molecule, computed on a real quantum processor, by you.
How to cite this book
DataField.Dev. Quantum Programming: Writing Software for Quantum Computers. 2026. Licensed under CC BY-SA 4.0.
Errata and contributions
The quantum SDKs change faster than any book can. If an example no longer runs, that is a bug in
this book, not in your understanding — please report it. See CONTRIBUTING.md.
For everyone who read about qubits and then wanted to type something.