Part 1
3 chapters
Foundations
Qubits, state vectors, measurement and gates, built from the ground up.
Chapter 1
A tour of the two containers
What lives in the C++ and Python images, why each tool is there, and how the multi-stage build tests the code before it ever becomes an image.
Chapter 2
Qubits, state vectors, and measurement
Build a qubit from scratch as a vector of complex amplitudes, apply a gate as a matrix, and measure it by sampling, in C++ and NumPy, before any framework hides the mechanism.
Chapter 3
Gates and circuits
Single-qubit gates as unitary matrices, multi-qubit gates that entangle, and circuits as sequences of gates, shown with Quantum++ and Qiskit.