Documentation

CsdLean4.Empirical.CSD.QEC.RegisterFlow

Empirical/CSD: the three-qubit register ⊗ environment as one Σ-flow, and QEC on Σ #

Category: 3-Local (CSD-side companion to Empirical/QM/QEC/RegisterDilation.lean; closes the register ⊗ environment residue of Empirical/CSD/QEC/ThreeQubit.lean).

QEC/ThreeQubit.lean produced the one-qubit bit-flip channel from a Σ-flow on qubit ⊗ qubit (bitFlipFlow_traceRight_barycenter) and read the code and the syndrome as regions of Σ. QM/QEC/SyndromeRecovery.lean then made the syndrome-conditioned recovery one channel on the mixed state. This file puts the pieces on the whole register:

The independent-noise channel (bit-flip_p)^{⊗3} — whose double- and triple-flip branches the code mis-corrects into the logical flip — is Empirical/CSD/QEC/IndependentNoiseFlow.lean (indepFlow_recovery: the 3p² − 2p³ residual); singleFlipChannel is its correctable part with free weights. What is not here: a Hamiltonian generating U_q (the flow is the time-one map of the projective action, as for bitFlipFlow).

Source #

Shor 1995, Phys. Rev. A 52, R2493; Knill–Laflamme 1997, Phys. Rev. A 55, 900.

The joint index as Fin 32, and the flow on ℂℙ³¹ #

The joint index (register) × (environment) = (Fin 2 × Fin 2 × Fin 2) × Fin 4 as Fin 32.

Equations
Instances For
    noncomputable def CSD.Empirical.CSDBridge.QEC.registerU32 (q : Fin 4 → ℝ) (hq0 : ∀ (k : Fin 4), 0 ≤ q k) (hq1 : ∑ k : Fin 4, q k = 1) :

    The register's joint unitary as an element of U(32), reindexed to Fin 32.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem CSD.Empirical.CSDBridge.QEC.registerU32_val (q : Fin 4 → ℝ) (hq0 : ∀ (k : Fin 4), 0 ≤ q k) (hq1 : ∑ k : Fin 4, q k = 1) :
      noncomputable def CSD.Empirical.CSDBridge.QEC.registerFlow (q : Fin 4 → ℝ) (hq0 : ∀ (k : Fin 4), 0 ≤ q k) (hq1 : ∑ k : Fin 4, q k = 1) :
      LF4.CPN 32 → LF4.CPN 32

      The register's de-isolation flow on ℂℙ³¹: the projective action of U_q. A flow of the corpus's cpSectorData (Σ = P = ℂℙ³¹, π = id).

      Equations
      Instances For
        theorem CSD.Empirical.CSDBridge.QEC.measurable_registerFlow (q : Fin 4 → ℝ) (hq0 : ∀ (k : Fin 4), 0 ≤ q k) (hq1 : ∑ k : Fin 4, q k = 1) :

        The joint representative: the canonical unit section of ℂℙ³¹, transported to the joint index.

        Equations
        Instances For
          theorem CSD.Empirical.CSDBridge.QEC.isUnitaryLift_registerFlow (p₀ : LF4.CPN 32) (q : Fin 4 → ℝ) (hq0 : ∀ (k : Fin 4), 0 ≤ q k) (hq1 : ∑ k : Fin 4, q k = 1) :

          ★ The register flow lifts U_q, with no hypotheses.

          The single-error channel as the environment marginal of the flow, and QEC on Σ #

          ★★ The register's single-error channel is the environment marginal of the joint Σ-flow. For a preparation on ℂℙ³¹ that is a product with the environment ready (a.e., in the canonical representative, with register representative repS), the reduced density operator of the flowed preparation is singleFlipChannel q applied to the register's density operator.

          theorem CSD.Empirical.CSDBridge.QEC.registerFlow_recovery (p₀ : LF4.CPN 32) (μprep : MeasureTheory.Measure (LF4.CPN 32)) [MeasureTheory.IsProbabilityMeasure μprep] (repS : LF4.CPN 32 → EuclideanSpace ℂ (Fin 2 × Fin 2 × Fin 2)) (hrepS_unit : ∀ (x : LF4.CPN 32), ‖repS x‖ = 1) (hrepS_meas : Measurable repS) (q : Fin 4 → ℝ) (hq0 : ∀ (k : Fin 4), 0 ≤ q k) (hq1 : ∑ k : Fin 4, q k = 1) (hprod : ∀ᵐ (x : LF4.CPN 32) ∂μprep, LF2.outerProduct (registerRep x) = Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (LF2.outerProduct (repS x)) (LF2.outerProduct (EuclideanSpace.single 0 1))) (hcode : ∀ᵐ (x : LF4.CPN 32) ∂μprep, (Matrix.toEuclideanLin QM.QEC.codeProj) (repS x) = repS x) :

          ★★★ QEC on Σ, end to end. Let the register preparation live in the code region (P₀ (repS x) = repS x a.e.: every prepared ray lies in the codespace ℂℙ¹ ⊂ ℂℙ⁷), the environment be ready, and the joint Σ-flow be registerFlow q. Then the syndrome-conditioned recovery channel, applied to the environment marginal of the flowed preparation, returns the register's density operator: the flow's leak into the environment is undone exactly.