Documentation

CslibFrontier.Foundations.Quantum.Bell

Maximally entangled states and the Bell state #

The maximally entangled state |Φ_ι⟩ = |ι|^{-1/2} ∑_i |i, i⟩ of two copies of a system with computational basis ι (Cslib.Quantum.maxEntangled), and its two-qubit instance, the Bell state (EPR pair) |Φ⁺⟩ = (|00⟩ + |11⟩)/√2 (Cslib.Quantum.bell), de Wolf, Section 1.3. Local operators A and B on the two halves have correlation ⟨Φ| A ⊗ B |Φ⟩ = Tr(Aᵀ B)/|ι| (Cslib.Quantum.star_maxEntangled_dotProduct_kronecker_mulVec_eq_trace); for B = 1 this is de Wolf, Chapter 1, Exercise 15(a).

The Bell state is the shared resource of teleportation and superdense coding (CslibFrontier/Computability/Circuit/Quantum/Teleportation.lean, CslibFrontier/Computability/Circuit/Quantum/SuperdenseCoding.lean).

Main definitions #

Main results #

References #

noncomputable def Cslib.Quantum.maxEntangled (ι : Type u_1) [Fintype ι] [DecidableEq ι] :

The maximally entangled state |Φ_ι⟩ = |ι|^{-1/2} ∑_i |i, i⟩ of two copies of a system with computational basis ι.

theorem Cslib.Quantum.maxEntangled_apply {ι : Type u_1} [Fintype ι] [DecidableEq ι] (p : ι × ι) :
(maxEntangled ι).ofLp p = if p.1 = p.2 then ↑(√↑(Fintype.card ι))⁻¹ else 0
@[simp]
theorem Cslib.Quantum.maxEntangled_apply_self {ι : Type u_1} [Fintype ι] [DecidableEq ι] (i : ι) :
theorem Cslib.Quantum.maxEntangled_apply_of_ne {ι : Type u_1} [Fintype ι] [DecidableEq ι] {i j : ι} (h : i ≠ j) :

The maximally entangled state is a unit vector.

theorem Cslib.Quantum.star_maxEntangled_dotProduct_kronecker_mulVec {ι : Type u_1} [Fintype ι] [DecidableEq ι] (A B : Matrix ι ι ℂ) :
star (maxEntangled ι).ofLp ⬝ᵥ (Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) A B).mulVec (maxEntangled ι).ofLp = (∑ i : ι, ∑ j : ι, A i j * B i j) / ↑(Fintype.card ι)

The correlation of local operators on the maximally entangled state: ⟨Φ| A ⊗ B |Φ⟩ = (∑_{i,j} A_{ij} B_{ij}) / |ι|.

The correlation of local operators on the maximally entangled state as a trace: ⟨Φ| A ⊗ B |Φ⟩ = Tr(Aᵀ B) / |ι|.

The Bell state (EPR pair) |Φ⁺⟩ = (|00⟩ + |11⟩)/√2, the maximally entangled state of two qubits.