Quantum state
A quantum state is a mathematical representation of a quantum system that determines the probabilities of possible measurement outcomes.
Building Quantum Software with Python
A quantum state is the mathematical description of a quantum system that specifies the amplitudes and therefore the probabilities of its possible measurement outcomes.
- How it is used
- Represents the evolving data of a quantum computation before repeated measurement yields binary outcomes.
- How deep it goes
- Develops amplitudes, complex-list encodings, validity checks, tables, gates, and visualizations, while deferring a proof of quantum postulates.
- Examples
- Uses single-qubit complex lists, three-qubit probability wheels and tables, uniform distributions, and pixel-array state images.
- What you can do after
- Build it from scratch as validated Python lists of complex amplitudes and visualize probabilities in state tables.
Read how Building Quantum Software with Python explains quantum state →
Quantum Programming in Depth
A quantum state is a mathematical representation of the physical condition of a quantum system, including the probabilities of measurement outcomes.
- How it is used
- Uses quantum states as the object to prepare, manipulate, measure, and analyze in quantum-programming projects.
- How deep it goes
- Develops amplitude notation, normalization, encoding conventions, measurement probabilities, tomography, and joint measurements without deriving full physical foundations.
- Examples
- Demonstrates two-qubit and arbitrary n-qubit amplitude arrays, endian conversion, repeated measurements, tomography, and correlation-preserving joint measurements.
- What you can do after
- Builds quantum-state preparation routines and evaluates their measurement distributions in Qiskit or Q#.
Read how Quantum Programming in Depth explains quantum state →
Related concepts
- Bell stateincludes · A Bell state is one of four maximally entangled two-qubit quantum states whose measurements exhibit correlated outcomes.
- quantum amplitudehas part · A quantum amplitude is a complex coefficient of a quantum state whose squared magnitude determines a measurement probability and whose phase carries directional information.
- quantum measurementused by · Quantum measurement is the process of obtaining a classical outcome from a quantum system according to probabilities determined by its state, generally changing that state.
- computational basishas part · The computational basis is the standard basis of quantum states labeled by definite binary-string measurement outcomes.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

