Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Chapter 1 Quantum as Pairwise Measurement: From Static Noun to Relational Verb

“What on earth is a quantum, or a quantum gate? Though I study them day in and day out, I still do not understand them.”

“I truly do not understand — all I can grasp right now is that a quantum state is a vector on a sphere, and derive everything from there.”

If all the conceptual fog bequeathed by twentieth-century physics had to be condensed into a single word, that word would be “quantum” read as a static noun. The instant the word is spoken, the mind conjures up tiny pellets of energy, pre-packaged grains of sand rattling inside an invisible sack — as if the microscopic world were a warehouse of miniature Lego bricks and the task of physics were merely to read off the private serial numbers stamped onto each brick before we look.

In classical Chinese, the classical term liàng preserves an older wisdom through two distinct tones. Spoken in the falling fourth tone (liàng), it is a completed noun: a discrete share, a ration, a counted packet. Spoken in the rising second tone (liáng), it is a living verb between two things: to measure, to gauge, to lay one rod alongside another and test their alignment.

This chapter takes our first step in breaking metaphysical illusions. Combining geometric pictures with theorems verified in the Lean kernel, we develop the author’s interpretation: first comes the relational verb of two states measuring one another (liáng); only afterward appears the discrete click on the detector screen (liàng). Every celebrated “paradox” of introductory quantum mechanics begins the moment we invert cause and effect, projecting the outcome of a relational act backward in time and hardening it into the private possession of an isolated thing.

Figure 1. The chapter at a glance. Panel I: the cyan angle between two arrows and ; the grey dashed external frame behind them is struck out, since the angle does not need it. Panel II: the cyan arrow serves as the ruler, the amber arrow opens an angle with it, and an ideal two-outcome reading lands only at the two ends of ’s line, and . Panel III: the amber and in two complex planes on the left are four real numbers; the Bloch sphere on the right carries a single amber arrow and two angles and .

1.1 One Is Too Few, Three Is Redundant

Begin with the simplest possible thought experiment. Wipe away the laboratory bench, the Earth, the fixed stars, and every sheet of graph paper in your pocket, leaving only an utterly homogeneous, isotropic void. Into that void, place one directed arrow .

Now ask: at what angle does point? Is it “spin up” or “spin down”? Is it in a “definite state” or a “superposition”?

Geometrically, the question is nonsense. In an empty isotropic space devoid of any second reference, a solitary arrow points neither north nor east, neither straight nor askew. “One is too few” — an isolated monad cannot even define a direction, let alone carry an observable physical state. Metaphysics loves to ask what a “thing-in-itself” looks like before anything else encounters it; geometry replies that without a partner to compare against, a lone arrow has nothing to say.

How does direction come into being? Introduce a second arrow . The instant two arrows meet, however the surrounding void may tumble as a whole, the relative angle spanned between them becomes an invariant, coordinate-free geometric fact.

Yet right here, Cartesian habit commits the opposite sin. Faced with two arrows and , standard textbooks immediately summon an imaginary third reference point from outside the system: an external origin equipped with three coordinate axes , assigning three numbers to and three numbers to — as though and could not interact physically without first registering their addresses with an external notary .

“Three is redundant” — that smuggled-in external coordinate frame is the breeding ground of gauge redundancy and formal clutter (in Chapter 28 §28.1, cutting away this external third point in favor of pure pairwise comparison is elevated into the book’s root Zero-Background Axiom of Comparison , Definition 28.1). To see that two vectors need no outside origin to determine their mutual geometry, look at the foundational norm identity of any inner-product space: the parallelogram law.

Theorem 1.1 (Parallelogram Norm Law in Real Inner-Product Spaces)LEAN ✓

Let be any real inner-product space. For all vectors ,

Proof

In a real inner-product space , squared norm is given by self-pairing, . Expanding the two diagonals by bilinearity and symmetry of the real inner product gives

Adding the two equations cancels the opposite interference cross-terms and , leaving . The Lean declaration inner_product_norm_parallelogram_law establishes this universal identity directly on InnerProductSpace ℝ E. The full proof is checked by the Lean kernel.

Pause over the physical meaning of the two expansions inside the proof of Theorem 1.1. Adding the two diagonals cancels the cross-term and conserves the total squared-norm budget. Conversely, subtracting the second line from the first locks down the inner product directly from the contrast between constructive and destructive superposition (the polarization identity), without a single external coordinate axis in sight:

In coherent optical interference, an experimentalist needs no cosmic protractor floating in absolute space: for real amplitudes, the difference of the unnormalized squared norms is four times the inner product; for complex amplitudes, it gives , and recovering the full complex inner product requires additional relative-phase settings. In a balanced lossless two-port device with a chosen port-phase convention, the output amplitudes are and . The actual intensities therefore satisfy and .

Check this on a concrete numerical example. Suppose two unit real vectors enter this device in a windowless room where no external axes are marked. The ports register and , with total output equal to total input . The corresponding unnormalized squared norms are and . First verify Theorem 1.1: ; then use the polarization identity to extract their inner-product overlap:

With no axes drawn, the two diagonals read off the angle. Two unit arrows and open at : the solid cyan line is the long diagonal , with ; the dashed cyan line is the short diagonal , with . Their sum is (Theorem 1.1); a quarter of their difference is .

Without drawing a single coordinate axis, the inclination between and steps straight out of the port contrast. Two states meeting in the dark carry their own ruler; every third reference frame is scaffolding waiting to be dismantled (Chapter 2).

One monad alone is mute; three points breed coordinate mirages; two arrows meeting in the dark suffice to measure the world.

1.2 From Measuring (liáng) to Discrete Quanta (liàng)

Following this picture of continuous geometric angles between two arrows, why do counters produce discrete records, while the ideal two-outcome spin measurement considered here reports only or ?

Picture a mechanical device after Feynman’s heart. On a bench spins a smooth, continuous flywheel whose rim can point at any angle around the circle. Your probe, however, is a one-dimensional two-way sorting shutter — like a Stern–Gerlach magnet splitting a beam along a single vertical axis into an upper port () and a lower port (). Every trial forced through that narrow slit must exit through either the upper channel or the lower channel.

any direction e3​ shutter +1 −1 two records only

A continuous direction leaves a two-outcome shutter as one of two records. The wheel on the left is ticked all the way round, and the amber arrow can stop at any angle; the shutter in the middle splits along into an upper and a lower channel; on the right there are only two cyan dots, for the upper channel and for the lower. A schematic.

When you measure (liáng) a continuous wheel through a one-dimensional binary shutter, the readout necessarily emerges in discrete quanta (liàng). Discreteness at the exit port does not mean the wheel was secretly a bag of pre-labeled and marbles before it hit the slit; a discrete quantum is the echo left when continuous spherical geometry is forced through a one-dimensional idempotent slit.

The arrow may point anywhere; the shutter reports only the two ends. The amber is from the cyan ; each shot lands at one end of ’s diameter, “pass” at and “fail” at the far end. The row of squares at the top right is shot by shot, solid cyan for a pass and hollow grey for a fail; which shot passes cannot be foretold. A sampling demonstration.

Suppose we make the further assumption that prior to measurement the system carries an omniscient hidden ledger assigning a definite complex value to every complex matrix , preserving the identity, addition, complex scalar multiplication, and multiplication on all matrices, including products of noncommuting matrices. What happens then?

No philosophical debate is needed to test that hypothesis — three lines of matrix arithmetic shatter it completely. Inside the qubit matrix algebra (QubitMatrix in Lean), examine the two fundamental orthogonal shutters, the Pauli bit-flip matrix and phase-flip matrix :

Let us first record the five exact algebraic properties of this Weyl pair.

Lemma 1.2 (Anticommutation, Self-Adjointness, and Involution of Pauli X and Z)LEAN ✓

For the complex matrices and , writing for the conjugate transpose and for the identity matrix, all five identities hold:

Proof

Direct multiplication gives

Because both and have real entries symmetric across the main diagonal, conjugate transposition leaves each invariant (, ), and squaring either yields . Lean verifies each conjunct by finite case analysis over indices in Fin 2. The full proof is checked by the Lean kernel.

Look closely at the minus sign in . Geometrically there is nothing spooky about it: reflecting a real plane vector across a horizontal line () and then across a diagonal () gives a counterclockwise rotation ; reversing the order gives a clockwise rotation . They differ by , the ordinary real-plane half-turn . Yet the moment one tries to flatten those geometric operations into a numerical ledger preserving all algebraic operations, that minus sign triggers an immediate collapse.

The same two mirrors in the other order turn the other way. Both drawings have the horizontal mirror and the mirror on the diagonal; the amber arrow starts at , and the dashed arrow is where the first mirror sends it. On the left, then : the violet arc turns , counter-clockwise (). On the right, then : the violet arc turns , clockwise (). The two results differ by , which is (Lemma 1.2).

Theorem 1.3 (The Qubit Matrix Algebra Admits No Algebraic Character)LEAN ✓

The type of unital -algebra homomorphisms from the complex matrix algebra to is empty; that is, there exists no map preserving the identity matrix, addition, scalar multiplication, and matrix multiplication.

Proof

Suppose such a unital -algebra homomorphism existed. Applying to the anticommutation identity from Lemma 1.2 and using commutativity of multiplication in yields

Any complex number equal to its own negation is zero, so , forcing either or . On the other hand, applying to and gives

In either case ( or ), substitution yields the contradiction . Hence no such character exists. The full proof is checked by the Lean kernel.

Theorem 1.3 marks a sharp algebraic boundary: noncommuting geometric actions cannot be compressed into a unital static numerical table preserving addition, complex scalar multiplication, and multiplication on all matrices. This global algebra-homomorphism requirement is stronger than imposing valuation rules only on compatible observables; it neither excludes all hidden-variable models nor independently establishes the chapter’s ontological interpretation.

One might still ask for a weaker refuge: even if no global valuation assigns numbers to all matrices at once, could a nonzero state vector simultaneously possess a definite -reading and a definite -reading ? The next corollary closes that door too.

Corollary 1.4 (Pauli X and Z Share No Nonzero Common Eigenvector)LEAN ✓

Let and . If and , then .

Proof

Writing out and component by component gives four scalar equations:

Suppose . Then the second equation forces (otherwise ), while cancelling in the third equation gives . Substituting into the fourth equation yields , hence , a contradiction. Therefore , and the first equation immediately gives , so . The full proof is checked by the Lean kernel.

Geometrically, Corollary 1.4 is transparent: for nonzero pure states, the eigenstates correspond to the north and south Bloch poles (), while the eigenstates correspond to the east and west poles (). These pairs have no point in common. The sole solution of the linear equations is the Hilbert-space zero vector, which has no pure-state Bloch image; it is not the maximally mixed state at the Bloch-ball origin. The absence of a nonzero common eigenvector expresses the incompatibility of these two ideal measurements.

Read together, the two results sink an answer sheet twice, first for all matrices at once and then for a single state:

Film · X and Z share no answer · 2:10

X and Z share no answer (2 min 10 s). The violet answer sheet is an analogy: it writes a number in advance against every complex matrix and keeps , sums, multiples and products. and both square to the identity, so each answer can only be or ; swapping their order brings out a minus sign, (Lemma 1.2). The four sign rows are filled in one by one, and in every row the cyan differs from the white , so no row fits; the general statement is Theorem 1.3. On the Bloch sphere the cyan poles sit north and south, the white poles east and west, and the amber state touring the four poles, wherever it stops, is sure of only one answer (Corollary 1.4); the zero vector is no state, nor the maximally mixed state at the centre. The four-row table, the two products in which swaps the entries, and the pole positions are computed on screen; the theorem rules out one global table that keeps every product, not every hidden-variable model, and “answers made in the meeting” is the book’s interpretation.

1.3 Farewell to Complex Column Vectors

If the geometric stage of a single qubit’s pure states is an ordinary unit sphere in three-dimensional real space, why does nearly every textbook open by handing students an abstract two-component complex column vector

Let us audit the real degrees of freedom honestly. At first glance, carries real numbers — one dimension more than three-dimensional space! Yet two layers of pure bookkeeping redundancy are hiding inside those four numbers:

Remark 1.5 (Pure-State Rays and the Hopf Phase Quotient)

Literature provenance and an application of existing results. For the classical background, see Hopf map. We now turn the picture of “normalize, then remove the common phase” into an actual map between spheres and explain how existing results establish the quotient homeomorphism.

Directional comparison does not depend on how long we draw the arrow. Rename the complex coordinates above as and write . Normalization leaves the three-dimensional unit sphere in four-dimensional Euclidean space; the target is the two-dimensional unit sphere in three-dimensional Euclidean space:

Both carry the subspace topologies inherited from the usual Euclidean topologies. The equation for requires the sum of the two squared complex moduli to be ; it does not require each component to have modulus . Take the Hopf map

Its image lies in : the first two squared coordinates sum to , and adding the third gives . This is exactly the unit-spinor Bloch image treated in NumericalRange by the existing blochPure_norm. The matrix is , where : its off-diagonal entry is , and the minus sign in the imaginary coordinate of bloch gives precisely the positive sign used here.

Every sphere point has a preimage as well. For with , set

Since , we have , so and . At the south pole , take ; the formula above already gives at the north pole. This reuses the original square-root construction and pole split in blochPure_surjective, covering the whole sphere.

We must specify exactly what is being removed. Let and define on

The same complex number must multiply both components: it turns both arrows together and preserves their relative phase. Substitution gives . Conversely, forces . The matrices and are Hermitian with trace ; the reconstruction identity in bloch_geometry_of_isHermitian expresses each through blochMatrix with the same trace and Bloch coordinates, so . Regarding the normalized coordinates as Ket (Fin 2), the existing MState.PhaseEquiv_iff_pure_eq (equivalently, MState.pure_eq_pure_iff) identifies equality of these pure-state matrices with exactly the common unit-complex phase relation above. Thus the fibers of are precisely these phase circles, rather than merely containing them.

Finally, give the quotient topology: for , a set is open exactly when is open in . Each real coordinate of is a quadratic polynomial in four real variables, so is continuous. Phase invariance therefore induces a continuous map . The exact fibers give injectivity, and the construction covering both poles gives surjectivity. Inverse continuity still needs a reason; bijectivity alone does not establish a homeomorphism. The sphere is compact, its continuous quotient image is compact, and the Euclidean subspace is Hausdorff. Every closed subset of the quotient is therefore compact, its image under is compact, and that image is closed in . This proves continuity of . The very same representative formula consequently gives

This step applies the existing result for a compact domain and a Hausdorff codomain; see Mathlib’s Continuous.homeoOfEquivCompactToT2. Intuitively, normalization leaves three real parameters, and removing the common phase circle leaves two independent angles on a sphere. The concrete map, exact fibers, and continuity in both directions make that picture precise.

Standard quantum mechanics interprets normalized representatives of the same ray as the same pure state, with identical measurement probabilities. The mathematical identification of the quotient does not derive this physical convention. The homeomorphism here assigns a sphere point to each phase class; it does not choose a gauge representative within that class or by itself prove the absence of a continuous global section. The quotient of all nonzero vectors by nonzero complex scaling, classification of phase-invariant polynomials, and state-preparation or compression protocols each require further arguments.

The description of pure states as rays is a standard quantum-mechanical convention. The following algebraic theorem characterizes unitaries preserving rays; it does not derive that physical convention from algebra. We examine complex matrices over an arbitrary finite index type and the complex subspaces spanned by vectors.

Definition 1.6 (Ray Preservation)

Let be a finite index type with decidable equality, a complex square matrix, and a vector. We say that preserves the ray of (PreservesRay A x) if the image lies in the complex subspace spanned by (one-dimensional for , zero-dimensional for ):

meaning there exists with (which holds automatically at ).

If a unitary matrix merely preserves the isolated coordinate rays , it can still multiply different coordinate axes by independent phases , tilting superposition directions. Remarkably, we do not even need to test all rays in to lock those phases together: confirming that preserves every ray in a family of superposition rays whose nonzero supports form a connected overlap graph (RaySupportConnected, meaning any two indices are joined by a finite chain of test vectors each simultaneously nonzero on consecutive indices) forces to be a single global phase multiple of the identity!

Theorem 1.7 (Unitary Global-Phase Rigidity from Connected Ray Tests)LEAN ✓

Let be any finite index type with decidable equality (including the empty type), let be a unitary matrix, and let be a set of test vectors. Suppose:

  1. For every coordinate index , preserves the ray of the standard basis vector ( at and elsewhere);
  2. For every test vector , preserves the ray of ;
  3. The test family is support-connected (for all , and are linked by the reflexive-transitive closure of the overlap relation ).

Then there exists a complex scalar with such that .

Proof

If is empty, is a singleton and works trivially. When is nonempty, condition 1 implies for each , so every off-diagonal entry () vanishes and is diagonal. Next, whenever satisfies and , condition 2 provides with ; comparing components and gives and , and cancelling the nonzero scalars yields . Inducting along the finite overlap chain of condition 3 equates all diagonal entries to a single constant , giving . Finally, unitarity evaluated at any diagonal entry gives , hence . The full proof is checked by the Lean kernel.

Notice also the operational economy built into Theorem 1.7: no single test vector needs full support across all coordinates, nor do we need a continuum of rays. In an -mode optical network with , after confirming that the unitary preserves all coordinate rays, we need only additionally confirm preservation of the rays of sparse nearest-neighbor superpositions

chain consecutive modes together () and banish every relative phase twist. Conversely, if the overlap graph breaks into disconnected islands (as under a superselection rule forbidding coherent superpositions between two sectors), independent phases on the two islands become physically undetectable across any allowed ray test — confirming once again that without pairwise overlapping comparison, even relative phase has no physical meaning.

five tests link one chain e0+e1​ 0 1 2 3 4 5 A = cI one link missing: two islands 0 1 2 3 4 5 c1​ c2 ≠ c1​ A ≠ cI the islands differ by a phase the tests cannot see

Clasp neighbours pairwise and the phases lock into one. In the top row the six dials are the phases of a diagonal unitary on six modes, and the five cyan edges are the test rays , linking the six modes into one chain; every pointer points the same way: (Theorem 1.7). In the bottom row the edge between modes and is missing, and the two islands point two different ways, , while the four remaining tests still pass; this is a hand counterexample in which the theorem’s connectivity premise fails, not part of the theorem.

Within the standard pure-state ray description, Theorem 1.7 characterizes the unitary freedom preserving these rays. For normalized , replacing the column vector by its rank-one projector annihilates global phase automatically: for , .

Better still, for a single qubit, the traceless directional part of every such Hermitian matrix corresponds bijectively to an ordinary real vector . With the three Pauli matrices

the Lean module QubitBloch defines the Bloch linear combination B of by .

Proposition 1.8 (Explicit Matrix Form of the Real Qubit Bloch Map)LEAN ✓

For every real vector , the Bloch combination equals the explicit complex matrix

Proof

Summing , , and entry by entry across the four positions of Fin 2 × Fin 2 yields the stated matrix. The full proof is checked by the Lean kernel.

For physical states, first restrict to ; adding the identity to and dividing the whole matrix by then gives a density matrix, with eigenvalues . Lean’s helper scalarB is , so here we use . In the following pure-state discussion, take : every normalized pure-qubit projector corresponds to a real unit vector ():

Everything opaque in the matrix suddenly turns visual: the diagonal entries are the two -measurement probabilities determined by the vertical height , while the off-diagonal pair encodes its horizontal shadow in the equatorial plane ! Let us work through the six cardinal poles by hand to cement this dictionary once and for all.

One state, written two ways. On the left, the amber arrows in two complex planes are and , four real numbers in all; the dashed arrows are both multiplied by the same global phase . On the right, the Bloch sphere carries a single amber arrow , from the north pole at azimuth : the solid and the dashed writing both name this arrow.

Example 1.9 (Explicit Calculation of the Six Cardinal Bloch Poles and Phase Cancellation)

For polar angle and azimuthal angle , multiply the normalized column vector by an arbitrary global phase (). Forming the outer product cancels on the spot:

Substituting from Proposition 1.8 into the preceding definition and matching entries reads off the ordinary spherical unit vector . The six cardinal poles form three antipodal pairs along mutually orthogonal axes; each antipodal pair represents orthogonal Hilbert-space states:

Unit Direction Standard Ket (up to )Projector Geometric Location
North pole ()
South pole ()
East pole ()
West pole ()
Front/Y pole ()
Back/Y pole ()

Notice the most revealing geometric clue in this table: and , which are orthogonal in Hilbert space (, ), do not sit at right angles on the Bloch sphere — they sit at opposite poles, North and South , separated by ! Why is the Hilbert-space angle half the physical angle on the sphere? That famous factor of one-half is a direct consequence of zero-redundancy inner-product projection, as the next chapter will reveal.

The six poles: two orthogonal states are antipodal on the sphere. The six poles are three antipodal pairs: and at the north and south poles, at , at . The cyan sits at the north pole and the amber stops due east at , away; the top left reads the two diagonal entries of ’s projection matrix, both here (Proposition 1.8). Drag to the south pole : the angle becomes and the diagonal entries become and .

With this, our first conceptual housecleaning is complete: there are no isolated “quantum pellets” floating in a void, only directional rays encountering and measuring one another on a sphere; and there are no ghostly four-parameter complex column vectors, within the scope of single-qubit pure states, only real unit arrows stripped of normalization and global-phase redundancy (in Chapter 28 §28.1–§28.3 and Appendix E, we will distill measurement and state evolution, under bridge hypotheses, all the way down to the Zero-Background Axiom of Comparison and single-instruction primitive ). When two such real arrows and meet face to face, how do they compute transition probabilities directly without borrowing any external coordinate frame? Let us open the door to Chapter 2.