琥珀色箭头是一个量子比特的布洛赫矢量 r(长度 1 是纯态,更短是混合态),ρ = ½(I + r·σ)。青色的线是测量方向 n̂,它的两个结果是 P± = ½(I ± n̂·σ);品红的圆盘是与线垂直的对偶平面。按一次“投一次”,就是沿 n̂ 测量而不读结果:ρ ↦ P₊ρP₊ + P₋ρP₋。本页是数值演示,不是证明。
- 一投就是投到线上。页面每一投都用 2×2 复矩阵实算 P₊ρP₊ + P₋ρP₋。它的布洛赫箭头是 (r·n̂)n̂:线上的影子留下,面上的一份消失。这一点手算即得(P₊σ⊥P₊ = 0),页面只做数值核对(NUM)。
- 再投一次不动。{P₊, P₋} 自伴、幂等、两两正交、加起来是 I,是第三章定义的记录测量,所以未读映射幂等:
finite_record_pinching_idempotent(LEAN ✓)。舞台上:第二投、第三投挪动为零。
- 不动点就是线上的箭头。ρ 是未读映射的不动点,当且仅当跨分支相干块 P₊ρP₋ = 0:
unreadState_fixed_iff(LEAN ✓)。页面实算这个块的大小,它恰好是面上那份长度的一半,所以“没有品红的一份”与“投不动”是同一件事。
- 线上一份 + 面上一份。箭头 = 线上的影子 + 面上的一份;两份互相垂直,长度平方相加等于箭头长度的平方。写成第三章的账本:纯度盈余 Tr ρ² − ½ = ½|r|² 等于沿线测量的概率偏离 (p₊ − ½)² + (p₋ − ½)² = ½(r·n̂)² 加上剩余质量 ½·面²:
complementary_context_probability_pythagoras(LEAN ✓,取 |d| = 2、单个语境、s = r/√2、V 为测量线)。页面的三个数分别从矩阵的迹、玻恩概率和几何长度算出。
- 投出零。箭头整个躺在对偶平面里时,线上的影子为零,一投之后箭头缩成球心(两种结果各占一半)。先沿 Z 投、再换成 X 投也是这样:第一投之后箭头在 Z 线上,而 Z 线整个躺在 X 的对偶平面里。
- 投完变短。一投之后箭头的长度从 |r| 变成 |r·n̂|:面上那一份去了哪里,是第四章的问题,本页不回答。
- 偏振片链(读结果)。另一种操作:读出结果、只留通过的一支,ρ ↦ PρP / Tr(ρP)。北极是 0° 片、南极是 90° 片,N 片中间片把这段经线等分;态每跳一次落在下一条线的端点上,仍在球皮上(条件态合法),透过的权重每跳乘 cos²(π/(2(N + 1))),有限 N 的总权重是有序外积链之迹的回文情形。N → ∞ 时趋于 1 是文献结果,页面不画。
书中:第三章 §3.1 · 存在即幂等线 · 捏合超算子的幂等性 · 未读态不动点判据 · §3.2 · 线与面的伴生宿命 · §3.3 · 偏振片级联 · trureturing(所钉提交):Conditioning.lean
The amber arrow is the Bloch vector r of a qubit (length 1 is a pure state, shorter is mixed), ρ = ½(I + r·σ). The cyan line is the measurement direction n̂ with outcomes P± = ½(I ± n̂·σ); the magenta disc is the dual plane perpendicular to the line. One press of “Project” is a measurement along n̂ whose result is not read: ρ ↦ P₊ρP₊ + P₋ρP₋. The page is a numerical illustration, not a proof.
- A press projects onto the line. Every press computes P₊ρP₊ + P₋ρP₋ with 2×2 complex matrices. Its Bloch arrow is (r·n̂)n̂: the shadow on the line stays and the part in the plane is gone. This follows by hand (P₊σ⊥P₊ = 0); the page only checks it numerically (NUM).
- A second press moves nothing. {P₊, P₋} are self-adjoint, idempotent, mutually orthogonal and sum to I: a record measurement as defined in Chapter 3. So the unread map is idempotent:
finite_record_pinching_idempotent (LEAN ✓). On the stage, the second and third presses move the arrow by zero.
- The fixed points are the arrows on the line. ρ is a fixed point of the unread map if and only if the cross-branch block P₊ρP₋ = 0:
unreadState_fixed_iff (LEAN ✓). The page computes the size of that block; it is exactly half the length of the part in the plane, so “no magenta part” and “a press cannot move it” are the same thing.
- Line part + plane part. The arrow is its shadow on the line plus its part in the plane; the two are perpendicular, so their squared lengths add up to the arrow's. In Chapter 3's ledger: the purity surplus Tr ρ² − ½ = ½|r|² equals the probability deviation of the measurement along the line, (p₊ − ½)² + (p₋ − ½)² = ½(r·n̂)², plus the residual mass ½·plane²:
complementary_context_probability_pythagoras (LEAN ✓, with |d| = 2, one context, s = r/√2 and V the measurement line). The page computes the three numbers from the trace of a matrix, from Born probabilities and from geometric lengths.
- Projecting to zero. When the whole arrow lies in the dual plane its shadow on the line is zero, and one press shrinks it to the centre of the ball (the two outcomes are 50 / 50). Projecting along Z and then along X does the same: after the first press the arrow lies on the Z line, and the Z line lies wholly in the dual plane of X.
- Shorter after a press. One press takes the arrow's length from |r| to |r·n̂|. Where the part in the plane went is the question of Chapter 4; this page does not answer it.
- Polarizer chain (result read). The other operation: read the result and keep the branch that passed, ρ ↦ PρP / Tr(ρP). The north pole is the 0° sheet and the south pole the 90° sheet, and N middle sheets divide the meridian evenly; at every hop the state lands on the end of the next line and stays on the skin (the conditional state is a state), and the weight passed is multiplied by cos²(π/(2(N + 1))); for finitely many sheets the total is the palindromic case of the trace of an ordered chain of outer products. That it tends to 1 as N → ∞ is a literature result and is not drawn.
In the book: Chapter 3 §3.1 · existence as an idempotent line · idempotence of the pinching superoperator · the fixed-point criterion of the unread state · §3.2 · line and plane · §3.3 · the polarizer cascade · trureturing (pinned commit): Conditioning.lean