Documentation

CsdLean4.Empirical.QM.Resources.SuperdenseCoding

Empirical/QM: Superdense coding #

Category: 3-Local (promotion-ready to 2-Framework on demand).

Superdense coding (Bennett-Wiesner 1992): two classical bits are transmitted by sending a single qubit, provided the sender and receiver share one half each of a Bell pair. The sender applies one of four single-qubit operations {I, X, Z, XZ} to her half of |Φ⁺⟩; the four results are the four mutually orthogonal Bell states, so the receiver recovers the two-bit message by a Bell-basis measurement.

This file delivers the algebraic core: the four encoding maps carry |Φ⁺⟩ to the four Bell states (up to a phase on the last), and the four Bell states are an orthonormal family — hence perfectly distinguishable, i.e. exactly two classical bits.

Basis and conventions #

Two qubits live in EuclideanSpace ℂ (Fin 4) with the ordering |00⟩ = e₀, |01⟩ = e₁, |10⟩ = e₂, |11⟩ = e₃ (matching Empirical/QM/Gates/BellPrep.lean). The four Bell states:

The encodings act on the first (high-bit) qubit; X ⊗ I, Z ⊗ I, XZ ⊗ I are the explicit 4×4 matrices. (XZ ⊗ I)|Φ⁺⟩ = −|Ψ⁻⟩ (phase −1), which does not affect orthogonality.

Source #

Bennett and Wiesner 1992, Phys. Rev. Lett. 69, 2881.

The remaining three Bell states #

The three nontrivial single-qubit encodings (on the first qubit) #

X ⊗ I: bit flip on the high qubit. Swaps |00⟩↔|10⟩, |01⟩↔|11⟩.

Equations
Instances For

    Z ⊗ I: phase flip on the high qubit. diag(1, 1, −1, −1).

    Equations
    Instances For

      XZ ⊗ I on the high qubit, where XZ = [[0, −1], [1, 0]].

      Equations
      Instances For

        Component extraction for |Φ⁺⟩ #

        qmKetPhiPlus.ofLp is (1/√2) at indices 0, 3 and 0 elsewhere (re-derived locally; BellPrep's versions are private).

        For any row k, applying a matrix M to |Φ⁺⟩ collapses to (M[k,0] + M[k,3]) / √2.

        Image identities: the four encodings produce the four Bell states #

        (XZ ⊗ I)|Φ⁺⟩ = −|Ψ⁻⟩ (phase −1; orthogonality is unaffected).

        (I ⊗ I)|Φ⁺⟩ = |Φ⁺⟩ (the trivial encoding).

        The Bell basis is orthonormal (perfect distinguishability) #

        The four Bell states form an orthonormal family: distinct states are orthogonal and each is a unit vector. Combined with the image identities above, the four single-qubit encodings carry |Φ⁺⟩ to a perfectly distinguishable family — exactly two classical bits.

        Stated as the six pairwise-orthogonality identities plus the four unit-norm identities.