⚛️ Quantum Programming in C++ and Python
Home Chapters Examples Diagrams Bibliography GitHub ↗
Home / First Programs
Part 2 3 chapters

First Programs

Your first circuits in C++ and Python, and the entanglement that makes them quantum.

Chapter 4

Your first quantum program

Build a circuit, run it on the simulator for many shots, and read the measured counts, with Quantum++ leading and Qiskit cross-checking.

20 minutesRead →
Chapter 5

Measurement and sampling

How amplitudes become counts: a weighted coin shows the measured fraction converging on the squared amplitude as shots increase, in Quantum++ and Qiskit.

20 minutesRead →
Chapter 6

Entanglement: Bell, GHZ, and teleportation

Correlations no classical system can reproduce, read from measured counts: the Bell pair, the GHZ state, and quantum teleportation, in Quantum++ and Qiskit.

25 minutesRead →
← Previous part Foundations Next part → Algorithms

Quantum Programming in C++ and Python

Learn quantum programming with a primary C++ track and Python for contrast and testing. CPU-only and container-first, on Fedora.

Tutorial

  • Chapters
  • Examples
  • Diagrams
  • Bibliography

Reference

  • Quantum++ ↗
  • Qiskit ↗
  • View on GitHub ↗
  • Issues ↗
Open source · MIT Last built 2026-11-21