Documentation

CslibFrontier.Foundations.Quantum.PauliEPR

EPR projection from paired Pauli strings #

Averaging the same Pauli string on both halves gives the rank-one projection onto the maximally entangled state. The phase average removes unequal bit strings and the translation average makes all remaining diagonal amplitudes equal.

Main definitions #

Main results #

theorem Cslib.Quantum.expect_pauliString_kronecker_self {ι : Type u_1} [Fintype ι] [DecidableEq ι] :
(Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (pauliString a b) (pauliString a b)) = pureState (maxEntangled (ι → Bool))

The uniform paired Pauli average is the projection onto the EPR vector on the two extracted bit-string registers.

theorem Cslib.Quantum.norm_sub_eprProjector_sq_eq {ι : Type u_1} [Fintype ι] [DecidableEq ι] (φ : AlgState (Matrix ((ι → Bool) × (ι → Bool)) ((ι → Bool) × (ι → Bool)) ℂ)) :
have E := pureState (maxEntangled (ι → Bool)); φ.norm (E - 1) ^ 2 = (φ (1 - E)).re

Squared leakage is the state's weight on the complementary EPR projection.

theorem Cslib.Quantum.norm_sub_eprProjector_sq_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] (φ : AlgState (Matrix ((ι → Bool) × (ι → Bool)) ((ι → Bool) × (ι → Bool)) ℂ)) :
φ.norm (pureState (maxEntangled (ι → Bool)) - 1) ^ 2 ≤ 1 / 2 * ((Finset.univ.expect fun (a : ι → Bool) => φ.norm (kroneckerOne (pauliXPow a) - oneKronecker (pauliXPow a)) ^ 2) + Finset.univ.expect fun (b : ι → Bool) => φ.norm (kroneckerOne (pauliZPow b) - oneKronecker (pauliZPow b)) ^ 2)

Agreement of the two ideal X and Z families controls the part of a state outside the EPR projection. The state may be the restriction of a state with extra registers.

noncomputable def Cslib.Quantum.extractedRegisterEmbedding {Q : Type u_2} {J : Type u_3} {K : Type u_4} [Fintype Q] [DecidableEq Q] [Fintype J] [DecidableEq J] [Fintype K] [DecidableEq K] :
Matrix (Q × Q) (Q × Q) ℂ →⋆ₐ[ℂ] Matrix ((Q × J) × Q × K) ((Q × J) × Q × K) ℂ

Place an operator on the extracted registers, with identities on both ancillas. The target basis keeps each register beside its player's ancilla.

A first-side register operator remains on the first side after placing the ancillas.

A second-side register operator remains on the second side after placing the ancillas.

noncomputable def Cslib.Quantum.extractedEprProjection {Q : Type u_2} {J : Type u_3} {K : Type u_4} [Fintype Q] [DecidableEq Q] [Fintype J] [DecidableEq J] [Fintype K] [DecidableEq K] :
Matrix ((Q × J) × Q × K) ((Q × J) × Q × K) ℂ

Projection onto the EPR state on the two extracted registers, with the identity on both ancillary registers. The registers are in player order.

Regrouping the extracted registers puts the pure EPR projector before both ancillas.

The extracted EPR projection is self-adjoint.