振幅(每个基态一根柱子)amplitude (one bar per basis state)
虚线:原来的态dashed: the original state
错误与亮起的校验errors and lit checks
解码器这一步翻回的比特the qubit the decoder flips back now
第十四章的三比特位翻转重复码:V|0⟩ = |000⟩,V|1⟩ = |111⟩,逻辑态 α|0⟩ + β|1⟩ 编成 α|000⟩ + β|111⟩。两道校验 g₁ = Z₁Z₂、g₂ = Z₂Z₃ 只问相邻两个比特一不一致,从不问 α、β。八个基态按两道校验的读数分成四间两两正交的房。本页是数值演示,不是证明。
pauli_word_mul(LEAN ✓);模 2 辛奇偶的读法是正文由它推出的。orthogonal_syndrome_recovery(LEAN ✓)。“σ 混合”取例题第四步的 σ = diag(½, ¼, ⅛, ⅛):四个分支的柱子按权重分宽窄,回到码空间后并排拼成一整根。Chapter 14's three-qubit bit-flip repetition code: V|0⟩ = |000⟩, V|1⟩ = |111⟩, so the logical state α|0⟩ + β|1⟩ is encoded as α|000⟩ + β|111⟩. The two checks g₁ = Z₁Z₂ and g₂ = Z₂Z₃ only ask whether neighbouring qubits agree, never about α or β. By the readings of the two checks the eight basis states fall into four pairwise orthogonal rooms. The page is a numerical illustration, not a proof.
pauli_word_mul (LEAN ✓); reading it as a symplectic parity mod 2 is the chapter's consequence of it.orthogonal_syndrome_recovery (LEAN ✓). “σ mixture” takes σ = diag(½, ¼, ⅛, ⅛) from step 4 of the example: the bars of the four branches are as wide as their weights, and back in the code space they line up side by side into one whole bar.In the book: Chapter 14 · Pauli words and stabilizer syndromes · logical recovery on orthogonal syndromes · the repetition code worked through