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:
|Φ⁺⟩ = (e₀ + e₃)/√2(imported asqmKetPhiPlus),|Ψ⁺⟩ = (e₁ + e₂)/√2,|Φ⁻⟩ = (e₀ − e₃)/√2,|Ψ⁻⟩ = (e₁ − e₂)/√2.
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 #
|Ψ⁺⟩ = (e₁ + e₂)/√2.
Equations
Instances For
|Φ⁻⟩ = (e₀ − e₃)/√2.
Equations
Instances For
|Ψ⁻⟩ = (e₁ − e₂)/√2.
Equations
Instances For
The three nontrivial single-qubit encodings (on the first qubit) #
X ⊗ I: bit flip on the high qubit. Swaps |00⟩↔|10⟩, |01⟩↔|11⟩.
Equations
- CSD.Empirical.QM.SuperdenseCoding.pauliX_tensor_I = Matrix.of fun (i j : Fin 4) => match i, j with | 0, 2 => 1 | 1, 3 => 1 | 2, 0 => 1 | 3, 1 => 1 | x, x_1 => 0
Instances For
Z ⊗ I: phase flip on the high qubit. diag(1, 1, −1, −1).
Equations
- CSD.Empirical.QM.SuperdenseCoding.pauliZ_tensor_I = Matrix.of fun (i j : Fin 4) => match i, j with | 0, 0 => 1 | 1, 1 => 1 | 2, 2 => -1 | 3, 3 => -1 | x, x_1 => 0
Instances For
XZ ⊗ I on the high qubit, where XZ = [[0, −1], [1, 0]].
Equations
- CSD.Empirical.QM.SuperdenseCoding.pauliXZ_tensor_I = Matrix.of fun (i j : Fin 4) => match i, j with | 0, 2 => -1 | 1, 3 => -1 | 2, 0 => 1 | 3, 1 => 1 | x, x_1 => 0
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).
Image identities: the four encodings produce the four Bell states #
(X ⊗ I)|Φ⁺⟩ = |Ψ⁺⟩.
(Z ⊗ I)|Φ⁺⟩ = |Φ⁻⟩.
(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.