Documentation

CslibFrontier.Foundations.Quantum.PauliCompression

Compression of the Pauli family #

A step toward robust Pauli rigidity, the analysis of the Pauli braiding test Natarajan and Vidick, §4.2, Theorem 14 (arXiv:1610.03574v1, p. 19). That theorem starts from consistency, linearity and anticommutation conditions of a strategy and produces exact Pauli operators close to each generator X(a), Z(b) on an enlarged state. This file proves the compression bound behind it, for the products X(a) Z(b). For unitaries X(a), Z(b) on ℂ^κ there is one isometry W : ℂ^κ → ℂ^{2ⁿ} ⊗ ℂ^J with, in every state φ,

E_{a,b} ‖X(a) Z(b) - Wᴴ (X^a Z^b ⊗ 1) W‖²_φ ≤ E_{p,q} ‖f(p) f(q) - f(pq)‖²_φ,

where f(s, a, b) = (-1)^s X(a) Z(b) is the Pauli family on the Pauli group (Cslib.Quantum.pauliFamily), and the right side is its multiplicative defect (Cslib.Quantum.exists_isometry_compress_pauliFamily). The bound does not depend on n.

The defect of the Pauli family is bounded by the consistency, linearity and anticommutation conditions of the strategy in CslibFrontier/Foundations/Quantum/Algebra/PauliFamily.lean, and the two compose (Cslib.Quantum.exists_isometry_compress_of_consistent). When both families are exactly linear and normalized, the same isometry also intertwines Z exactly and has squared X intertwining error equal to the twisted commutation error. Right multiplication by Z is exact in the Pauli family, while a right X factor must pass through the preceding Z.

The proof composes three steps:

Main definitions #

Main results #

References #

noncomputable def Cslib.Quantum.codeRep {ι : Type u_1} [Fintype ι] [DecidableEq ι] {κ : Type u_2} [Fintype κ] [DecidableEq κ] {L : Type u_3} [Fintype L] [DecidableEq L] {E : Matrix (κ × PauliGroup ι) L ℂ} (hEE : E.conjTranspose * E = 1) (hEP : E * E.conjTranspose = signProj (regularRep PauliGroup.negOne) true) :

The regular representation compressed to the -1 eigenspace of the central element satisfies the Pauli relations.

theorem Cslib.Quantum.conjTranspose_pauliFamily_mul {ι : Type u_1} {κ : Type u_2} [Fintype κ] [DecidableEq κ] (X Z : (ι → Bool) → Matrix κ κ ℂ) (hX : ∀ (a : ι → Bool), (X a).conjTranspose * X a = 1) (hZ : ∀ (b : ι → Bool), (Z b).conjTranspose * Z b = 1) (p : PauliGroup ι) :

The Pauli strings form an exact representation of the Pauli group.

The averaging isometry of the Pauli family lies in the -1 eigenspace of the central element: g(-1) V = -V, exactly.

theorem Cslib.Quantum.exists_isometry_compress_pauliFamily {ι : Type u} [Fintype ι] [DecidableEq ι] {κ : Type v} [Fintype κ] [DecidableEq κ] (X Z : (ι → Bool) → Matrix κ κ ℂ) (hX : ∀ (a : ι → Bool), (X a).conjTranspose * X a = 1) (hZ : ∀ (b : ι → Bool), (Z b).conjTranspose * Z b = 1) :
∃ (J : Type (max u v)) (x : Fintype J) (x_1 : DecidableEq J) (W : Matrix ((ι → Bool) × J) κ ℂ), W.conjTranspose * W = 1 ∧ ∀ (φ : AlgState (Matrix κ κ ℂ)), (Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => φ.norm (X a * Z b - W.conjTranspose * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (pauliXPow a * pauliZPow b) 1 * W) ^ 2) ≤ Finset.univ.expect fun (p : PauliGroup ι) => Finset.univ.expect fun (q : PauliGroup ι) => φ.norm (pauliFamily X Z p * pauliFamily X Z q - pauliFamily X Z (p * q)) ^ 2

Compression of the Pauli family, a step toward robust Pauli rigidity Natarajan and Vidick, §4.2, Theorem 14: for unitaries X(a), Z(b) on ℂ^κ there is one isometry W : ℂ^κ → ℂ^{2ⁿ} ⊗ ℂ^J under which, in every state φ, the products X(a) Z(b) are close on average to the Pauli strings X^a Z^b ⊗ 1, with error the multiplicative defect of the Pauli family (s, a, b) ↦ (-1)^s X(a) Z(b) and no dependence on n.

theorem Cslib.Quantum.exists_isometry_compress_intertwine_pauliFamily {ι : Type u} [Fintype ι] [DecidableEq ι] {κ : Type v} [Fintype κ] [DecidableEq κ] (X Z : (ι → Bool) → Matrix κ κ ℂ) (hX : ∀ (a : ι → Bool), (X a).conjTranspose * X a = 1) (hZ : ∀ (b : ι → Bool), (Z b).conjTranspose * Z b = 1) (hXmul : ∀ (a b : ι → Bool), X a * X b = X (a + b)) (hZmul : ∀ (a b : ι → Bool), Z a * Z b = Z (a + b)) :
∃ (J : Type (max u v)) (x : Fintype J) (x_1 : DecidableEq J) (W : Matrix ((ι → Bool) × J) κ ℂ), W.conjTranspose * W = 1 ∧ (∀ (b : ι → Bool), W * Z b = Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (pauliZPow b) 1 * W) ∧ (∀ (φ : AlgState (Matrix κ κ ℂ)), (Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => φ.norm (X a * Z b - W.conjTranspose * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (pauliXPow a * pauliZPow b) 1 * W) ^ 2) ≤ Finset.univ.expect fun (p : PauliGroup ι) => Finset.univ.expect fun (q : PauliGroup ι) => φ.norm (pauliFamily X Z p * pauliFamily X Z q - pauliFamily X Z (p * q)) ^ 2) ∧ ∀ (a : ι → Bool), have D := W * X a - Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (pauliXPow a) 1 * W; D.conjTranspose * D = Finset.univ.expect fun (b : ι → Bool) => have B := Z b * X a - ↑(BitString.signVal (a ⬝ᵥ b)) • (X a * Z b); B.conjTranspose * B

The same isometry compresses the rounded Pauli products and exactly intertwines Z. For each X string separately, the Gram matrix of its intertwining error equals the average Gram matrix of the twisted commutators with the Z strings.

theorem Cslib.Quantum.exists_isometry_compress_of_consistent {ι : Type u} [Fintype ι] [DecidableEq ι] {κ : Type v} [Fintype κ] [DecidableEq κ] (X Z ZB : (ι → Bool) → Matrix κ κ ℂ) (hX : ∀ (a : ι → Bool), X a ∈ unitary (Matrix κ κ ℂ)) (hZ : ∀ (b : ι → Bool), Z b ∈ unitary (Matrix κ κ ℂ)) (hZB : ∀ (b : ι → Bool), ZB b ∈ unitary (Matrix κ κ ℂ)) (hXB : ∀ (a b : ι → Bool), Commute (X a) (ZB b)) (hZZB : ∀ (b b' : ι → Bool), Commute (Z b) (ZB b')) :
∃ (J : Type (max u v)) (x : Fintype J) (x_1 : DecidableEq J) (W : Matrix ((ι → Bool) × J) κ ℂ), W.conjTranspose * W = 1 ∧ ∀ (φ : AlgState (Matrix κ κ ℂ)), (Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => φ.norm (X a * Z b - W.conjTranspose * Matrix.kroneckerMap (fun (x1 x2 : ℂ) => x1 * x2) (pauliXPow a * pauliZPow b) 1 * W) ^ 2) ≤ 5 * ((((8 * Finset.univ.expect fun (b : ι → Bool) => φ.norm (Z b - ZB b) ^ 2) + Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => φ.norm (Z b * X a - ↑(BitString.signVal (a ⬝ᵥ b)) • (X a * Z b)) ^ 2) + Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (a' : ι → Bool) => φ.norm (X a * X a' - X (a + a')) ^ 2) + Finset.univ.expect fun (b : ι → Bool) => Finset.univ.expect fun (b' : ι → Bool) => φ.norm (Z b * Z b' - Z (b + b')) ^ 2)

Compression from consistency, anticommutation and linearity, a step toward robust Pauli rigidity Natarajan and Vidick, §4.2, Theorem 14, for unitary families (see CslibFrontier/Foundations/Quantum/Algebra/PauliFamily.lean for how these conditions relate to the source's): for unitaries X(a), Z(b) (Alice) and Zᴮ(b) (Bob, commuting with Alice's) on ℂ^κ, there is one isometry W : ℂ^κ → ℂ^{2ⁿ} ⊗ ℂ^J such that in every state φ E_{a,b} ‖X(a) Z(b) - Wᴴ (X^a Z^b ⊗ 1) W‖²_φ ≤ 5 (8 ε_c + ε_a + ε_X + ε_Z), with the consistency, anticommutation and linearity defects of Cslib.Quantum.expect_norm_pauliFamily_sub_sq_le.