Quantum bit
A quantum bit, or qubit, is a unit of quantum information represented by a two-level quantum system that can occupy a superposition of basis states.
Building Quantum Software with Python
A qubit, or quantum bit, is the fundamental unit of quantum information and can exist in a superposition of two computational-basis states.
- How it is used
- Represents computation state and measured binary outputs in quantum programs.
- How deep it goes
- Develops single- and multi-qubit states through amplitudes, measurements, registers, gates, and array representations while deferring hardware details.
- Examples
- Uses a variable-bias coin, two- and three-qubit binary outcomes, state visualizations, and knapsack registers.
- What you can do after
- Evaluate/understand quantum-program outputs as binary strings and relate qubit states to outcome probabilities.
Read how Building Quantum Software with Python explains quantum bit →
Real-World Cryptography
A quantum bit is a quantum information unit that can occupy a superposition of the binary states 0 and 1.
- How it is used
- Supports quantum-computer computation by replacing classical bits with transformable quantum states.
- How deep it goes
- Defines superposition, probabilistic measurement, gates, and entanglement, but stops short of implementation details.
- Examples
- Uses electron spin, Schrödinger’s cat, quantum random number generators, a 53-qubit computer, and IBM Quantum circuits.
- What you can do after
- Operate IBM Quantum to build and execute small quantum circuits on hosted quantum computers.
Related concepts
- ancillary qubitincludes · An ancillary qubit is an additional qubit used to store intermediate information or enable operations during a quantum computation.
- quantum computerused by · A quantum computer is a computing device that processes information using quantum-mechanical states and operations.
- precisionproduces · Precision is the proportion of items identified as positive, selected, or retrieved that satisfy the relevant correctness or relevance criterion.
- quantum systemused by · A quantum system is a physical system whose states and dynamics are described by quantum mechanics, including quantum evolution and measurement.
- binary stringused by · A binary string is a finite, ordered sequence of binary digits, each having the value zero or one.
- quantum circuitpart of · A quantum circuit is an ordered arrangement of quantum gates, measurements, and related operations that specifies a computation on qubits.
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.

