单比特纯态是单位球面上的一根布洛赫矢量 B。拿另一根单位矢量 A 当量尺去比它,两者之间只有两样东西:共线的影子(线)和垂直撑开的面(面积)。几何积 AB = A·B + A∧B 把这两样东西写在一起。本页是数值演示,不是证明。
B_formula_core(LEAN ✓,第一章);页面上的夹角与对角元是数值演示。lagrange_gram_identity(LEAN ✓)取 u = A、v = B 的特例。recordWeight_sum(trureturing 中已冻结,正文未以定理环境引用)。纯态的布洛赫矢量长度为 1:bloch_geometry_of_isHermitian(trureturing 中已冻结,正文未以定理环境引用)。pure_record_distinguishability_coherence_complementarity(LEAN ✓;那里的 V 是两个记录态内积的模,D = √(1 − V²))。一般混合环境下的 Englert 不等式是文献结果,未在本书形式化。qubit_weyl_star(LEAN ✓)。单位双矢量 Bₙ = i n̂·σ 是反自伴的酉矩阵(手算核对),平方为 −I:square_eq_neg_one_of_skewAdjoint_unitary(LEAN ✓;冻结的是一般引理:反自伴的酉矩阵平方为 −I)。于是(手算推得,不在冻结陈述之内)旋子 Rₙ(α) = cos(α/2) − Bₙ sin(α/2) = w − b·(iσ),其中 w = cos(α/2)、b = sin(α/2) n̂;它把布洛赫矢量绕 n̂ 右手转 α:r ↦ R r R†。本页把 X、Y、Z 画成绕各自的轴转 180°,H 绕 ĥ = (x̂ + ẑ)/√2 转 180°,S、T 绕 ẑ 转 90°、45°,与教科书矩阵只差一个全局相位(约定,不是定理)。书中:第六章 · 内积为何是粒子、外积为何是波 · 拉格朗日—格拉姆恒等式 · 可区分度与可见度的勾股互补 · 第五章 · 复相位与旋子 · trureturing(所钉提交):LagrangeGramIdentity.lean
A pure qubit state is a Bloch vector B on the unit sphere. Hold another unit vector A against it as a ruler and there are exactly two things between them: the collinear shadow (a line) and the perpendicular face they span (an area). The geometric product AB = A·B + A∧B writes the two together. The page is a numerical illustration, not a proof.
B_formula_core (LEAN ✓, Chapter 1); the angle and the diagonal entries on the page are a numerical illustration.lagrange_gram_identity (LEAN ✓).recordWeight_sum (frozen in trureturing; not cited in a theorem environment in the text). The Bloch vector of a pure state has length 1: bloch_geometry_of_isHermitian (frozen in trureturing; not cited in a theorem environment in the text).pure_record_distinguishability_coherence_complementarity (LEAN ✓; there V is the modulus of the inner product of the two record states and D = √(1 − V²)). Englert's inequality for general mixed environments is a literature result, not formalized in this book.qubit_weyl_star (LEAN ✓). The unit bivector Bₙ = i n̂·σ is a skew-adjoint unitary matrix (checked by hand) and squares to −I: square_eq_neg_one_of_skewAdjoint_unitary (LEAN ✓; what is frozen is the general lemma that a skew-adjoint unitary matrix squares to −I). Hence, by hand and outside the frozen statement, the rotor Rₙ(α) = cos(α/2) − Bₙ sin(α/2) = w − b·(iσ) with w = cos(α/2) and b = sin(α/2) n̂; it turns the Bloch vector right-handedly by α about n̂: r ↦ R r R†. The page draws X, Y, Z as 180° turns about their axes, H as a 180° turn about ĥ = (x̂ + ẑ)/√2, and S, T as 90° and 45° turns about ẑ, which differ from the textbook matrices by a global phase (a convention, not a theorem).In the book: Chapter 6 · why the inner product is the particle and the outer product the wave · the Lagrange–Gram identity · distinguishability–visibility complementarity · Chapter 5 · complex phase and rotors · trureturing (pinned commit): LagrangeGramIdentity.lean