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

Appendix B Clifford Algebra Cheat Sheet

This appendix collects the core identities of Clifford Geometric Algebra used throughout the book—from the three-dimensional Euclidean algebra governing the single-qubit Bloch sphere, through the two-bit Pauli symplectic table over , to the relativistic spacetime algebras and of Part V. Every identity carries an explicit epistemic tag: results verified by locked trureturing@dev declarations carry a LEAN ✓ badge and clickable GID link, while foundational definitions and classical textbook identities are marked definition or Literature result.


B.1 Fundamental Geometric Product and Grade Decomposition ()

Remark B.1 (Graded Axioms and Blade Decomposition of (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book (standard Clifford geometric algebra textbook definitions and identities; formal anchors for the single-qubit Weyl star-algebra and Bloch decomposition appear in Section B.6). Over three-dimensional Euclidean space , the Clifford algebra is generated by three orthonormal basis vectors subject to positive-definite squaring and orthogonal anticommutation:

For any two grade-1 vectors and , their geometric product unifies the symmetric scalar inner product (grade ) and the antisymmetric exterior bivector wedge product (grade ):

where

The eight-dimensional algebra decomposes into four grade subspaces of dimensions :

Grade Subspace NameDimension Canonical Basis Blades3-Bit Mask Square Geometric & Physical Meaning
Scalars000 ()Real inner-product projections, Born weights, and traces
Vectors001 (), 010 (), 100 ()Bloch measurement axes and reflection normal vectors
Bivectors011 (), 101 (), 110 ()Oriented rotation planes and Lie generators
Pseudoscalar111 ()Oriented 3D volume element, chirality operator, and central imaginary unit

The eight blades split by grade into : a point, three lines, three planes, one volume. Grade is the scalar ; grade is the three cyan arrows ; grade is the three magenta faces , each spanned by two coordinate axes; grade is the violet unit cube . Under each panel are the dimension and the square: for the first two, for the last two, as in the table above. Literature result, not formalized in this book.


B.2 3-Bit XOR Rule and Complete Blade Multiplication Table for

Remark B.2 (3-Bit XOR Rule and Blade Cayley Table (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book. Indexing each basis blade by a 3-bit mask (where bit indicates the presence of ), the product of two basis blades and is determined by bitwise XOR together with the inversion-pair parity sign:

The complete multiplication Cayley table for the canonical basis blades of (rows = left factor , columns = right factor ) is:

(000) (001) (010) (100) (011) (101) (110) (111)
(000)
(001)
(010)
(100)
(011)
(101)
(110)
(111)
left ∖ right 1 000 1 000 e1​ 001 e1​ 001 e2​ 010 e2​ 010 e3​ 100 e3​ 100 e12​ 011 e12​ 011 e13​ 101 e13​ 101 e23​ 110 e23​ 110 e123​ 111 e123​ 111 +1 +e1​ +e2​ +e3​ +e12​ +e13​ +e23​ +e123​ +e1​ +1 +e12​ +e13​ +e2​ +e3​ +e123​ +e23​ +e2​ −e12​ +1 +e23​ −e1​ −e123​ +e3​ −e13​ +e3​ −e13​ −e23​ +1 +e123​ −e1​ −e2​ +e12​ +e12​ −e2​ +e1​ +e123​ −1 −e23​ +e13​ −e3​ +e13​ −e3​ −e123​ +e1​ +e23​ −1 −e12​ +e2​ +e23​ +e123​ −e3​ +e2​ −e13​ +e12​ −1 −e1​ +e123​ +e23​ −e13​ +e12​ −e3​ +e2​ −e1​ −1 sign + sign − lands on: mask XOR a ⊕ b

Which blade a product lands on is the XOR of the masks; its sign is the parity of the inversions. Rows are the left factor , columns the right factor , each blade with its three-bit mask; each cell is , cyan where the sign is and magenta where it is . The first row and column are all cyan; on the diagonal, square to and to ; of the cells are positive and negative. Thin lines split the rows and columns by grade into blocks of : two vectors multiply to a scalar or a bivector only, and two blades of even grade multiply to an even grade. Every cell is computed as and checked cell by cell against the table above. Literature result, not formalized in this book.


B.3 Pseudoscalar , Reversion , Rotors, and ZYZ Euler Synthesis

Remark B.3 (Hodge Duality, Reversion, Spinor Double Cover, and ZYZ Euler Synthesis (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book (standard 3D geometric algebra and rotor identities; formal anchors for complex-structure squaring to and two-axis finite alternating word closure appear in Section B.6).

  1. Pseudoscalar and Hodge Duality:

    • Squaring law: ;

    • Centrality: in 3D, commutes with all grade-1 vectors and grade-2 bivectors (), making the center of isomorphic to ;

    • Vector–bivector duality:

  2. Reversion Anti-Involution (): Reversing the order of vector factors inside every blade () acts on grade with sign :

  3. 3D Rotors and the Double-Sided Sandwich Action: For a unit bivector () representing an oriented rotation plane, the unit rotor generating a rotation by angle in plane belongs to the even subalgebra :

    The double-sided sandwich map preserves grade-1 vectors and Euclidean inner products (at , while , realizing the spinor double cover ).

  4. ZYZ Euler Rotor Decomposition and Cascade Laws: With elementary bivectors and , the elementary -axis and -axis rotors are

    They obey the coaxial half-angle addition laws and , inverse cancellation , and the universal three-factor ZYZ synthesis (for an arbitrary gate, up to a global phase):


B.4 Pauli Correspondence and the 2-Bit Symplectic Phase Table

Remark B.4 (Canonical Pauli Representation Isomorphism (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book (for the formal single-qubit Weyl star-algebra generator identities see qubit_weyl_star in Section B.6). Mapping to the Pauli matrices and the pseudoscalar to () establishes the canonical isomorphism .

In stabilizer and Clifford circuit calculations, a single-qubit Pauli operator is encoded by a binary pair via . The group index of the product of and is the bitwise XOR , while commutation versus anticommutation is decided by the symplectic inner product

(pauli_word_mul):

Left Factor Right Factor
() () () ()
() () () ()
() () () ()
() () () ()

B.5 Relativistic Spacetime Algebras and

Remark B.5 (Spacetime Algebra , Hyperbolic Boost Rotors, and Lorentz Lie Brackets (Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book (the hyperbolic cosine–sine norm-difference conservation law is formally verified by bogoliubov_norm_conservation cited below, and null-cone quadratic-form rigidity by eq_smul_minkowski_of_null in Section B.6). In Part V (Chapters 17–18), replacing the Euclidean signature with the Minkowski metric yields the four-dimensional Spacetime Algebra (STA) (whose 2D lightcone slice is ):

  1. Dirac Generators and Metric Anticommutation:

  2. Spacetime Split and Relative Spatial Vectors : Defining the timelike bivectors () gives

    Hence the even subalgebra is canonically isomorphic to , with 4D pseudoscalar satisfying .

  3. Hyperbolic Boost Rotors and Lorentz Transformations: Because satisfies , a Lorentz boost of rapidity along the -axis expands in hyperbolic cosine and sine:

    The sandwich action preserves the Minkowski quadratic form (for the formalized discrete hyperbolic norm-difference kernel see bogoliubov_norm_conservation).

  4. Six-Dimensional Lorentz Lie Algebra Bivector Commutators: Writing spatial rotation generators (, satisfying ) and boost generators (), the commutator brackets are

    The third bracket is the geometric origin of Thomas precession under non-collinear Lorentz boosts.

γ02 = +1, γ12 = γ22 = γ32 = −1 even part of Cl1,3​ Cl3,0​ square 1 0 0 1 +1 σ1 = γ1γ0​ 2 1 e1​ +1 σ2 = γ2γ0​ 2 1 e2​ +1 σ3 = γ3γ0​ 2 1 e3​ +1 σ1σ2 = −γ1γ2​ 2 2 e12​ −1 σ1σ3 = −γ1γ3​ 2 2 e13​ −1 σ2σ3 = −γ2γ3​ 2 2 e23​ −1 σ1σ2σ3 = γ0γ1γ2γ3​ 4 3 e123​ −1 grade grade

The even part of the spacetime algebra matches the eight blades of one for one. On top are the squares of the generators, and . The left column holds the blades of the even part of , the right column those of ; the small numbers beside each line are the grades on the two sides, and the last column is the square, the same on both. Cyan lines: the time–space bivectors (grade ) go to the vectors (grade ), square ; magenta lines: the purely spatial bivectors go to , square ; violet line: (grade ) goes to (grade ), square . The script checks that this correspondence preserves the multiplication table of B.2 cell by cell. Literature result, not formalized in this book.

A freely transported frame records the term produced by two turns about perpendicular axes. In flat spacetime, let a traveler leave the origin along , make one circuit about , then one about , each covering half the total arclength . Compare this trajectory with a closed planar path of the same length that starts at the same event and has tangent at both ends. Giving both travelers the same positive speed at each arclength fraction makes their return events and elapsed proper times agree. Each traveler carries two labeled, nonparallel gyroscope axes. Align corresponding axes at departure. At the end, read both directions in the frame obtained by a rotation-free boost from the same laboratory. Together they determine the full spatial orientation. The two circuits produce backward rotations of magnitudes . Composing the rotors in travel order gives

The normal of a planar path is perpendicular to the initial tangent, so its rotor has zero component. Measure the chordal distance between terminal frames by . Orthogonally project onto the section . If the projection is nonzero, normalizing gives the closest projective orientation. If it vanishes, every orientation in the section is equally close. In both cases the distance is .

For example, use Theorem 22.36 to write an actual positive zero as , take , and prescribe the Lorentz factor by . With , integrating the signed curvature on each leg with weight gives and . The first positive zero gives . At this positive scale, a closed planar path can attain the distance if it may cross itself and wind repeatedly. If the comparison path must be a single circle traversed once, its angle is fixed by the length and the common speed profile. The least attainable distance is then about . The clocks agree in both comparisons, and the terminal frame determined by the two axes still distinguishes the trajectories. This example uses a hand derivation from Fermi–Walker transport. Rotor distances, closed attaining paths, and numerical checks

To reuse a planar path across trials, fix its normal at . Project the two-circuit rotor onto and normalize it. The resulting orientation is optimal within that fixed plane for the chordal distance above. For any finite set of distinct positive heights of zeta zeros, a single closed path, with self-intersections allowed, can attain the optimum in that plane at each scale. Pair equal-length arcs so that their tangents point in opposite directions at corresponding arclengths. Their displacements then cancel pair by pair. Adjusting the curvature of the pairs lets us interpolate the signed turn weighted by to attain the required value at each scale. In each trial the two paths start at the same event, both have length and tangent at both ends, and use the same speed at each . They therefore return at the same event and agree on both elapsed laboratory time and elapsed proper time. Only the common speed profile changes between trials.

From any infinite set of distinct zero heights , we can choose a sequence tending to infinity, along which the scale tends to zero. The weight converges uniformly to . For a fixed closed path with continuous tangent and finite total absolute curvature, the gyroscope rotation about then tends to , where counts the signed turns of the tangent around the normal. The optimal angle within the fixed plane tends to . Modulo , the smallest distance from this limit to an angle allowed by the winding number is about radians. Thus for each such path, at sufficiently large zero heights, its terminal orientation is separated from the optimum in that plane by an angle of at least half that distance. Hand derivation and interval checks

Apply the same random bilateral hexagram gate to two labelled, nonparallel axes and erase the gate label as in §38.18. The winding constraint can then be read in the probability law of the full attitude. Keep the initial event, frame, tangent and shared speed prescription from the example above. Use at each actual zero height. Within each trial the two-circuit route and the planar route still have equal lengths and elapsed clock times. We may now choose the plane normal, but both the normal and the entire closed route must be fixed before any height is observed. Take the smallest rotation angle as the transport cost and preserve the probabilities of both readout laws. Optimize the coupling at each height, then take the supremum over all heights. For the worst angle in a coupling, , a circle traversed once attains the minimum over closed planar routes, about radians at every common positive gate depth. Full-spectrum transport and the winding limit

For the mean angle in a coupling, , a simple closed route gives the same minimum. Its tangent makes one complete turn, with winding or . When self-intersections are allowed, the minimum at gate depth three falls to about radians. An optimal route makes forty-nine turns with its tangent always turning in the same sense. The high end of the spectrum puts a geometric cost on this gain. Any improvement over the one-turn value requires winding or modulo , hence at least of total absolute turning. Forty-eight small circles followed by two semicircles and two straight segments can use exactly that budget while closing with a continuous tangent. On these optimal routes the worst spectral value is approached as the height tends to infinity. Attaining routes and the lower bound on total turning


B.6 Master Identity Catalog and Formal Epistemic Tags

Remark B.6 (Epistemic Boundary Declaration for Appendix B)

This cheat sheet mixes two levels of evidence. Every identity tagged LEAN ✓ with a clickable GID link (rows B.1–B.10 below) corresponds directly to a frozen theorem verified by the Lean 4 kernel at trureturing@dev commit a93ac745c3afb58d6ec61d9a0a8ba002948f43b7 (see Appendix C for verification boundaries). General graded Clifford algebra axioms for , the explicit 3-bit blade multiplication table enumeration, and the continuous four-dimensional spacetime algebra Lie brackets (row B.11 below, tagged definition or Literature result) are presented as standard algebraic reference tools to support the reader’s calculations:

#AlgebraIdentity / Law NameExact FormulaEpistemic Tag & trureturing@dev Anchor
B.1 / Single-qubit Weyl anticommutation & involutionLEAN ✓ (qubit_weyl_star)
B.2Absence of 1D -algebra characters on LEAN ✓ (qubit_matrix_algebra_has_no_character)
B.3Non-commuting Pauli observables share no common eigenvectorLEAN ✓ (pauli_observables_have_no_common_eigenvector)
B.4 / BlochSkew-adjoint unitary complex structure squares to LEAN ✓ (square_eq_neg_one_of_skewAdjoint_unitary)
B.5 / BlochSkew-adjointness of balanced unitary cross-product termLEAN ✓ (crossProduct_is_skewAdjoint_of_balanced_sum)
B.6 / BlochReal 3D Bloch decomposition & norm bound of qubit statesLEAN ✓ (bloch_geometry_of_isHermitian, norm_bloch_le_trace_of_posSemidef)
B.7 / PauliMulti-qubit Pauli word multiplication & commutation rankLEAN ✓ (pauli_word_mul)
B.8Finite words from the full circles of two non-collinear axesFor with , every is the product of a finite word of rotations about or LEAN ✓ (two_axis_finite_word)
B.9 / Bogoliubov hyperbolic rotor norm conservation (whereby the boost rotor preserves ; this consequence is not formalized)LEAN ✓ (bogoliubov_norm_conservation)
B.10Minkowski null-cone rigidity of real quadratic forms on LEAN ✓ (eq_smul_minkowski_of_null)
B.11 / 8D blade Cayley table, Hodge duality & Lorentz Lie bracketsdefinition / Literature result (standard Clifford algebra textbook identities)