liveBook · Manning

Quantum computer

As explained in Building Quantum Software with Python

A quantum computer, or quantum computing system, is a machine that processes information using quantum-mechanical states and operations.

A quantum computer processes information through quantum-mechanical states and operations. It is most promising for specialized problems where classical resource requirements grow exponentially, while quantum resources may grow polynomially. section 1.0 section 1.3

A quantum computing system is understood through these programming-facing ideas:

  • A qubit is the fundamental unit, analogous to a classical bit but capable of encoding changing outcome probabilities rather than only switching between 0 and 1. section 1.4.2
  • A computation changes the state probabilities and then measures the system, producing one outcome whose repeated frequencies approximate the encoded distribution. section 1.4.2
  • Quantum parallelism represents multiple possible outcomes in the system state, while measurement converts that state into an observed result. section 1.3
  • Quantum approaches are considered for Fourier transforms, chemical and physical simulation, random sampling, optimization, and selected machine-learning problems. section 1.0 section 12.1

From probability distribution to measurement

A simple probabilistic-bit model changes the chance of heads and tails before measurement. If the tails probability changes from 0.7 to 0.3, ten repetitions are expected to produce roughly seven heads and three tails; more repetitions generally approach that distribution. Quantum amplitudes add directional information to these probabilities, affecting how the system changes even though measurement frequencies depend on squared amplitude lengths. section 1.4.2

Table 1.1 Eight outcome–probability pairs
Outcome
Probability
0
0.05
1
0.11
2
0.13
3
0.02
4
0.34
5
0.17
6
0.06
7
0.12

Use the outcome–probability table to inspect how a quantum state represents several possible computational results whose probabilities sum to one. section 1.3

How Building Quantum Software with Python covers it

How deep it goes
Explains qubits, probabilities, measurement, parallelism, and amplitudes while deferring physical hardware and complex mathematical models.
Examples
Uses Fourier transforms, outcome–probability pairs, a variable-bias coin, and repeated measurements to illustrate quantum computation.
What it assumes
Assumes programming-oriented classical computing familiarity while teaching qubits through probabilistic-bit analogies rather than advanced quantum mechanics.
What you can do after
Evaluate candidate problems, understand quantum limitations, and prepare hybrid quantum–classical applications before large-scale hardware is available.
How it connects
Connects qubits with classical bits, quantum parallelism, measurement, quantum superposition, entanglement, Fourier transforms, optimization, and machine learning.

Also explained in

Compare how 3 books explain quantum computer →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Quantum Software with Python. The section links point to the parts of the book it draws on.