单比特的态是布洛赫球里的一点 r:球皮上是纯态,球肚子里是混合态。一种噪声每作用一步,就把整颗球做一次仿射变形 r ↦ (λx, λy, az + h)。舞台上的细线是作用之前的单位球,青色是它的像;琥珀色的 ρ 与白色的 σ 是从球皮出发的两个态,白线是它们之间的迹距离 T = ½‖r − s‖。本页是数值演示,不是证明。
phaseDampingIterate_apply(LEAN ✓);c < 1 时等权叠加态的相干元趋于零:equal_superposition_coherence_tendsto_zero(LEAN ✓)。c = 0 一步就是捏合:捏合丢掉的相干质量是 |ρ₀₁|² + |ρ₁₀|²,在布洛赫坐标里等于 (x² + y²)/2(手算):pinching_discarded_coherence_mass(LEAN ✓);捏合的不动点恰是副对角元为零的矩阵,即竖轴:pinching_eq_self_iff_offDiag_eq_zero(LEAN ✓)。north_pole_ball_preserving_iff(LEAN ✓)。纯振幅阻尼取 λ = √a,恰好饱和。滑块 T₂ / T₁ 按第四章的指数包络 a = e^{−t/T₁}、λ = e^{−t/T₂} 取 λ = a^{T₁/T₂};于是当 0 < p < 1(即 0 < a < 1)时,λ² ≤ a 当且仅当 T₂ ≤ 2T₁,T₂ > 2T₁ 时像的一部分落到球外(品红),这样的映射不把态送到态;这时舞台把单位球画成玻璃球壳、把像画成受光的实体,刺出的一块着品红,它与球壳的交线是一圈白色细线。p = 0 与 p = 1 两端对任何比值都有 λ² = a:p = 0 时每一步是恒等映射,p = 1 时每一步是 γ = 1 的振幅阻尼,把整颗球复位到北极,两者都是信道。这里判定的只是球的保持性,不是完全正性。traceDistance_contract(LEAN ✓)。单比特上 T = ½‖r − s‖ 是手算换算。步与步之间页面取相邻两个整数步输出的凸组合;每一步是信道时它也是信道,所以白线在整条时间轴上都只缩不长;整数步上的数与 N 次迭代完全一致。书中:第 4.1 节 · 纯态是球皮,混合态是截短的线 · 第 4.2 节 · 三种量子噪声 · 固定北极的保球判据 · 迹距离在信道下不增 · 第 4.3 节 · 最大混合死点 · trureturing(所钉提交):AmplitudeDampingContraction.lean(dampedAxis)
A qubit state is a point r of the Bloch ball: pure states on the skin, mixed states inside. Each step of a noise deforms the whole ball by one affine map r ↦ (λx, λy, az + h). The thin wire on the stage is the unit ball before the noise and the cyan body is its image; the amber ρ and the white σ are two states that start on the skin, and the white line between them is their trace distance T = ½‖r − s‖. The page is a numerical illustration, not a proof.
phaseDampingIterate_apply (LEAN ✓); for c < 1 the coherence of the equal superposition tends to zero: equal_superposition_coherence_tendsto_zero (LEAN ✓). One step with c = 0 is pinching: the coherence mass it discards is |ρ₀₁|² + |ρ₁₀|², which is (x² + y²)/2 in Bloch coordinates (by hand): pinching_discarded_coherence_mass (LEAN ✓); the fixed points of pinching are exactly the matrices with zero off-diagonal entries, the vertical axis: pinching_eq_self_iff_offDiag_eq_zero (LEAN ✓).north_pole_ball_preserving_iff (LEAN ✓). Pure amplitude damping takes λ = √a and saturates it. The T₂ / T₁ slider follows the exponential envelopes of Chapter 4, a = e^{−t/T₁} and λ = e^{−t/T₂}, so λ = a^{T₁/T₂}. For 0 < p < 1 (that is, 0 < a < 1), λ² ≤ a exactly when T₂ ≤ 2T₁; for T₂ > 2T₁ part of the image lies outside the ball (magenta), and such a map does not send states to states; the stage then draws the unit ball as a glass shell and the image as a lit solid, the piece that sticks out in magenta, with a thin white line where it crosses the shell. At the two ends λ² = a whatever the ratio: at p = 0 each step is the identity, and at p = 1 each step is amplitude damping with γ = 1, which resets the whole ball to the north pole; both are channels. This decides only whether the ball is kept, not complete positivity.traceDistance_contract (LEAN ✓). On a qubit, T = ½‖r − s‖ is a hand computation. Between steps the page takes the convex combination of the outputs of the two neighbouring whole steps; when each step is a channel, so is that combination, and the white line only shrinks along the whole rail; at whole steps the numbers are exactly those of N iterations.In the book: §4.1 · pure states are the skin, mixed states are shorter lines · §4.2 · three quantum noises · the north-pole ball criterion · trace distance under channels · §4.3 · the maximally mixed centre · trureturing (pinned commit): AmplitudeDampingContraction.lean (dampedAxis)