Documentation

CsdLean4.Empirical.QM.QEC.BitFlipChannel

Empirical/QM/QEC: the bit-flip error channel #

Category: 3-Local.

The honest error model behind the three-qubit bit-flip code (ThreeQubit.lean): a single-qubit error is not a coherent rotation but a CPTP channel — decoherence from interaction with the environment. The canonical bit-flip channel is

Φ(ρ) = (1 − p) ρ + p · X ρ X,

a mixedUnitaryChannel with Kraus operators {√(1−p) · I, √p · X} (channels phase C4 of specs/channels-plan.md). With probability p the qubit suffers an X (bit-flip) error; with probability 1 − p it is left alone.

This is the "error = decoherence" statement made precise: the error is the environment-averaged image of the joint system-environment flow (the channel's Stinespring dilation, QuantumInfo.Channel.stinespringIsom). The correction — syndrome measurement and recovery — is the discrete X₁/X₂/X₃ recovery of ThreeQubit.lean; closing the loop to a measurement-conditioned update is LF5 work.

@[simp]

The Pauli X is self-adjoint.

The Pauli X is unitary: Xᴴ X = 1.

noncomputable def CSD.Empirical.QM.QEC.bitFlipChannel (p : ) (hp0 : 0 p) (hp1 : p 1) :

The single-qubit bit-flip channel Φ(ρ) = (1−p) ρ + p · X ρ X, the canonical decoherence / error model for a qubit: a mixedUnitaryChannel over {I, X} with probabilities {1−p, p} (Kraus {√(1−p) I, √p X}).

Equations
Instances For
    theorem CSD.Empirical.QM.QEC.bitFlipChannel_apply (p : ) (hp0 : 0 p) (hp1 : p 1) (ρ : Matrix (Fin 2) (Fin 2) ) :
    (bitFlipChannel p hp0 hp1).apply ρ = ↑(1 - p) ρ + p (pX * ρ * pX)

    The bit-flip channel acts as advertised: Φ(ρ) = (1−p) ρ + p · X ρ X. The decoherence reading of a single-qubit error.