Steven GellerQuantum Computing, End to End

Book contents

Current section

Orientation Guides

  1. How to Use This Book
  2. Computation, Information, and Qubits
  3. Amplitudes, Measurement, and Gates
  4. Multi-Qubit Circuits, Entanglement, and No-Hype Protocols
  5. Quantum Algorithms and Speedups
  6. Noise, Error Correction, and Fault Tolerance
  7. Hardware Architecture and the Full Stack
  8. Applications, Evidence, and Strategy

Orientation guide

Computation, Information, and Qubits

A bit is a physical state; a qubit is a physical two-level system; and the entire difference between classical and quantum information fits in one line of mathematics. This guide builds that line carefully: what amplitudes are, why they are not probabilities, and why reversibility is the bridge from classical gates to quantum ones.

In this chapter 10 sections

Reader question. What minimum physical and mathematical model lets a reader distinguish a bit, a probabilistic bit, and a qubit?

A bit, a probability distribution, and a qubit differ in the state descriptions and transformations physics permits: the qubit uses normalized complex amplitudes whose relative phase can affect later measurement, while one measurement still returns a classical outcome.

Scope and non-goals.
  • The full linear-algebra formalism and hardware-modality survey belong to later parts.
  • A large state space is introduced as necessary machinery, never as sufficient evidence of computational advantage.
A classical bit is a point; a qubit is a vector of amplitudes a classical bit: one of two points 1 0 a qubit: a vector of amplitudes |0> |1> |psi> beta alpha gates rotate the vector; measurement samples it and returns one classical bit
Figure O1.1. Notice that the classical bit has no direction to draw; its whole state is a point. The qubit state is a vector: the measurement odds come from its components, but the vector itself is what every gate acts on.

Three state descriptions for one two-outcome system

Place deterministic bits, random bits, and qubits side by side.

Quantum computing is a model of computation in which information is stored in physical systems whose valid states are described by complex amplitudes, and whose allowed closed-system operations are reversible linear transformations. Every word of that sentence is load-bearing, and this guide unpacks all of them.

The right starting point is computation as physics:

  • A bit is a physical system used to encode 0 or 1.
  • A logic gate is a physical process that transforms encoded information.
  • A circuit is those transformations composed in sequence.
  • A qubit is a physical two-level system whose state can require amplitudes over both classical basis states.

The hard part is not saying that a qubit can be "both 0 and 1." The hard part is learning when that phrase helps, when it misleads, and how to replace it with a calculation.

Classical bit

A classical bit holds one value from the set {0,1}\{0,1\}. A one-bit register is in exactly one of two states, full stop. There is no nuance available, and that bluntness is precisely what makes classical hardware so reliable.

Probabilistic bit

A probabilistic bit carries uncertainty over classical values: P(0)=pP(0)=p and P(1)=1pP(1)=1-p. A fair coin gives P(0)=1/2P(0)=1/2, P(1)=1/2P(1)=1/2. Nothing here is quantum. The bit itself is ordinary; the probabilities describe your ignorance of it, not the physics of it.

Qubit

A qubit state is written ψ=α0+β1\lvert\psi\rangle=\alpha\lvert0\rangle+\beta\lvert1\rangle, where α\alpha and β\beta are complex numbers satisfying α2+β2=1\lvert\alpha\rvert^2+\lvert\beta\rvert^2=1. A computational-basis measurement therefore assigns outcome 0 the probability α2\lvert\alpha\rvert^2 and outcome 1 the probability β2\lvert\beta\rvert^2.

The amplitudes are not probabilities. Probabilities are derived from the squared magnitudes of amplitudes; and that one extra step, the squaring, is where quantum mechanics keeps both its strangeness and its computational power.

Evidence boundary. Quantum states use normalized complex amplitudes and measurement probabilities follow the Born rule. [Michael A. Nielsen] [John Preskill]

The physical questions behind the symbols

Tie storage, control, noise, and readout to each model.

The slogan points at a real fact: an nn-qubit state carries amplitudes for 2n2^n basis states. Two qubits give ψ=a0000+a0101+a1010+a1111\lvert\psi\rangle=a_{00}\lvert00\rangle+a_{01}\lvert01\rangle+a_{10}\lvert10\rangle+a_{11}\lvert11\rangle; three qubits give eight amplitudes; the count doubles with every added qubit.

But measurement never lets you read those amplitudes. It returns one classical outcome, sampled according to the squared magnitudes. A quantum algorithm earns its speedup only by arranging for wrong answers to cancel through interference and right answers to reinforce; then sampling a distribution that has been shaped in your favor.

The better mental model: quantum algorithms are amplitude-engineering procedures. They do not merely create many branches. They create, transform, cancel, and amplify amplitudes, and then they sample.

Quantum evolution in a closed system is reversible, so quantum gates are not arbitrary functions; each one must preserve enough information to be undone. Classical AND fails that test:

a b | a AND b
0 0 | 0
0 1 | 0
1 0 | 0
1 1 | 1

Three different inputs map to output 0. Knowing the output is 0 tells you almost nothing about the input; information was destroyed.

The Toffoli gate repairs AND by keeping the inputs and writing the result into a target bit: (a,b,c)(a,b,c(ab))(a,b,c)\mapsto(a,b,c\oplus(a\land b)). With c=0c=0 this computes (a,b,0)(a,b,ab)(a,b,0)\mapsto(a,b,a\land b):

a b c | a b c'
0 0 0 | 0 0 0
0 1 0 | 0 1 0
1 0 0 | 1 0 0
1 1 0 | 1 1 1

The inputs survive in the output, so the map can be run backwards. This is the general pattern: any classical computation can be made reversible at modest cost, which is why everything a classical computer can do, a quantum computer can also do; the interesting question is always what it can do differently.

Evidence boundary. Quantum information is embodied in physical systems with preparation, control, and measurement requirements. [National Academies of Sciences] [John Preskill]

A phase difference that survives equal probabilities

Calculate two states with identical Z-basis statistics and different H-basis outcomes.

A one-qubit pure state is a unit vector in a two-dimensional complex vector space: ψ=α0+β1\lvert\psi\rangle=\alpha\lvert0\rangle+\beta\lvert1\rangle with α2+β2=1\lvert\alpha\rvert^2+\lvert\beta\rvert^2=1. The computational basis is 0=(10)\lvert0\rangle=\begin{pmatrix}1\\0\end{pmatrix} and 1=(01)\lvert1\rangle=\begin{pmatrix}0\\1\end{pmatrix}.

A valid one-qubit closed-system gate is a 2×22\times2 unitary matrix UU, meaning UU=IU^{\dagger}U=I, where the dagger is the conjugate transpose. Unitarity preserves normalization, so the squared magnitudes still sum to one after the operation; the mathematics refuses to let probabilities leak. Reversibility is not an extra assumption here; it falls straight out of the definition.

  • Bits become basis states.
  • Probability distributions become the contrast class; the thing amplitudes are not.
  • Logic gates become reversible transformations.
  • Quantum gates become unitary matrices.
  • Algorithms become procedures for arranging interference.
  • Measurement becomes a sampling operation with information loss.

If you can follow a state transition, a probability distribution, and a matrix-vector multiplication, you already own every tool this guide uses.

Evidence boundary. Reversible unitary evolution distinguishes quantum gates from arbitrary irreversible Boolean maps. [Michael A. Nielsen] [John Preskill]

B=(0,1),αC,p0=α2B=(\lvert0\rangle,\lvert1\rangle),\quad \alpha\in\mathbb C,\quad p_0=\lvert\alpha\rvert^2(O1.1)

Notation contract: Use |0>, |1>, |+>, and |-> with basis order (|0>, |1>); distinguish amplitude α from probability |α|².

Why reversible evolution enters here

Show how information preservation constrains quantum gates.

A qubit is a physical system, not a symbol floating in space; superconducting circuit energy levels, ion internal states, neutral atom states, photonic modes, silicon spin states, or bosonic encodings; and every implementation has to answer the same seven questions:

  • How is the qubit initialized?
  • How is it controlled?
  • How is it coupled to other qubits?
  • How long does it preserve quantum information?
  • How accurately can gates be applied?
  • How is it measured?
  • How does it scale?

Part VII of the book takes these questions modality by modality. For now, hold onto the shape of the list: it is the checklist every hardware claim eventually has to survive.

  1. Explain the difference between a bit, a probabilistic bit, and a qubit in fewer than 150 words.
  2. Write down two states with the same computational-basis measurement probabilities but different relative phase.
  3. Compute H+H\lvert+\rangle and HH\lvert-\rangle by hand, showing every step.
  4. Build the truth table for AND and explain, in one sentence, why it is irreversible.
  5. Build the Toffoli truth table for all eight inputs and confirm the map is a permutation.
  6. Write one paragraph explaining why quantum computing is not parallel classical computing.
  7. Pick one company roadmap and identify whether it emphasizes physical qubits, logical qubits, error correction, applications, or cloud access.

Readiness test: predict before measuring

Use a short diagnostic to route readers to Chapters 1–7.

Part I of the book takes each idea in this guide and gives it a full chapter:

Then continue to Amplitudes, Measurement, and Gates, which turns the one-qubit picture into working mathematics.

Bit/probability/qubit comparison simulator

Acceptance contract for Bit/probability/qubit comparison simulator
FieldReader-visible record
FormatSingle-file interactive with a downloadable calculation sheet
VerificationFixture checks identical Z probabilities and distinct X-basis outcomes for |+> and |->; accessibility test exposes every state in text.
AvailabilitySource-embedded acceptance record; no separate download is claimed
{
  "artifact": "Bit/probability/qubit comparison simulator",
  "format": "Single-file interactive with a downloadable calculation sheet",
  "acceptance_test": "Fixture checks identical Z probabilities and distinct X-basis outcomes for |+> and |->; accessibility test exposes every state in text.",
  "publication_state": "source-embedded contract and worked fixture"
}

Scope boundary

  • The full linear-algebra formalism and hardware-modality survey belong to later parts.
  • A large state space is introduced as necessary machinery, never as sufficient evidence of computational advantage.

Depth commitment. One decisive phase calculation, one physical comparison, and a routing diagnostic.

Practice problem

Classify six state descriptions as deterministic classical, probabilistic classical, or quantum, then predict one basis-change result.

Six descriptions to classify
LabelDescription
AA latched low voltage read as 0.
BAn unknown classical bit with P(0)=0.3.
C(3|0>+4i|1>)/5.
DThe density operator diag(0.3,0.7).
EA fair coin whose face exists before it is covered.
F|+> with a requested X-basis read.
Deliverable
A completed classification table and the calculation for H|+> and H|->.
Pass condition
The table gives a physical state model and legal read operation for every row; the two calculations produce different deterministic outputs.

Verification record

Expected solution form. Line-by-line classification key with normalized state calculations.

Model answer. A is deterministic classical; B and E are probabilistic classical descriptions; C, D, and F are quantum descriptions. H|+>=|0> and H|->=|1>, so equal Z-basis probabilities do not erase relative phase.

Model result and check. A small numerical fixture multiplies both statevectors by H and asserts the stated probabilities.

Acceptance test. The table gives a physical state model and legal read operation for every row; the two calculations produce different deterministic outputs.

Provenance

Sources and review

  1. Michael A. Nielsen and Isaac L. Chuang. Quantum Computation and Quantum Information. Cambridge University Press. 2010textbook
  2. John Preskill. Lecture Notes for Physics 219: Quantum Computation. California Institute of Technology. 2018graduate lecture notes
  3. National Academies of Sciences, Engineering, and Medicine. Quantum Computing: Progress and Prospects. National Academies Press. 2019consensus study report

The load-bearing claims in the chapter are mapped inline to this registered source set. A citation supports only the bounded claim beside it.

Cite this chapter