Documentation

CslibFrontier.Foundations.Quantum.Algebra.FourierMeasurement

The Fourier measurement of a family of observables #

Let A(a), for a ∈ {0,1}ⁿ, be ±1 observables: self-adjoint with A(a)² = 1. Their Fourier coefficients Â(u) = E_a (-1)^{u·a} A(a) (Cslib.Quantum.fourierCoeff) are self-adjoint, and by Parseval their squares sum to 1. So the squares form a measurement with outcomes u ∈ {0,1}ⁿ, the Fourier measurement B_u = Â(u)² (Cslib.Quantum.fourierMeasurement). It is the measurement in the proof of Natarajan and Vidick, §3, Theorem 10 (arXiv:1610.03574v1), which rounds approximately linear observables to exactly linear ones.

The sum ∑_u Â(u)³ is the average E_{a,b} A(a) A(b) A(a + b) (Cslib.Quantum.sum_fourierCoeff_cube). So if this average is at least 1 - δ in a state φ, then, in that state:

Both hold in any star-ordered algebra and any state. The source instead dilates B to a projective measurement on a larger space (Naimark). Orthogonalizing B in place, by de la Salle's theorem, keeps the rounded observables in the algebra of A. For self-adjoint contractions, the Fourier squares can have total effect below the identity. The estimates also control the missing mass and the Walsh sums of these unnormalized effects.

Main definitions #

Main results #

References #

theorem Cslib.Quantum.sum_walshSum_mul_walshSum {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (f g : (ι → Bool) → R) :
∑ u : ι → Bool, walshSum f u * walshSum g u = 2 ^ Fintype.card ι • ∑ x : ι → Bool, f x * g x

Parseval for products of Walsh sums: ∑_u (∑_x (-1)^{u·x} f(x)) (∑_y (-1)^{u·y} g(y)) = 2ⁿ ∑_x f(x) g(x).

theorem Cslib.Quantum.walshSum_mul_walshSum {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (f g : (ι → Bool) → R) (u : ι → Bool) :
walshSum f u * walshSum g u = walshSum (fun (z : ι → Bool) => ∑ x : ι → Bool, f x * g (x + z)) u

A product of Walsh sums is the Walsh sum of a convolution: (∑_x (-1)^{u·x} f(x)) (∑_y (-1)^{u·y} g(y)) = ∑_z (-1)^{u·z} ∑_x f(x) g(x + z).

noncomputable def Cslib.Quantum.fourierCoeff {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (A : (ι → Bool) → R) (u : ι → Bool) :
R

The Fourier coefficient Â(u) = E_a (-1)^{u·a} A(a) of a family indexed by bit strings.

theorem Cslib.Quantum.sum_fourierCoeff_mul_self_eq {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (A : (ι → Bool) → R) :
∑ u : ι → Bool, fourierCoeff A u * fourierCoeff A u = (2 ^ Fintype.card ι)⁻¹ • ∑ a : ι → Bool, A a * A a

Parseval identifies the sum of the Fourier squares with the mean of the original squares.

theorem Cslib.Quantum.sum_fourierCoeff_mul_self {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] {A : (ι → Bool) → R} (hA2 : ∀ (a : ι → Bool), A a * A a = 1) :
∑ u : ι → Bool, fourierCoeff A u * fourierCoeff A u = 1

Parseval: the squares of the Fourier coefficients of ±1 observables sum to 1.

theorem Cslib.Quantum.sum_fourierCoeff_cube {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (A : (ι → Bool) → R) :
∑ u : ι → Bool, fourierCoeff A u * (fourierCoeff A u * fourierCoeff A u) = ↑((2 ^ Fintype.card ι)⁻¹ ^ 2) • ∑ a : ι → Bool, ∑ b : ι → Bool, A a * A b * A (a + b)

∑_u Â(u)³ = E_{a,b} A(a) A(b) A(a + b).

theorem Cslib.Quantum.smul_sum_mul_walshSum {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (A D : (ι → Bool) → R) :
(2 ^ Fintype.card ι)⁻¹ • ∑ a : ι → Bool, A a * walshSum D a = ∑ u : ι → Bool, fourierCoeff A u * D u

E_a A(a) (∑_u (-1)^{a·u} D(u)) = ∑_u Â(u) D(u).

theorem Cslib.Quantum.smul_sum_walshSum_mul {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (A D : (ι → Bool) → R) :
(2 ^ Fintype.card ι)⁻¹ • ∑ a : ι → Bool, walshSum D a * A a = ∑ u : ι → Bool, D u * fourierCoeff A u

E_a (∑_u (-1)^{a·u} D(u)) A(a) = ∑_u D(u) Â(u).

theorem Cslib.Quantum.fourierCoeff_mul_of_linear {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (A : (ι → Bool) → R) (hlin : ∀ (a b : ι → Bool), A a * A b = A (a + b)) (u a : ι → Bool) :

A Fourier coefficient of an exactly linear family is a right eigenspace operator, with the eigenvalue given by its character.

theorem Cslib.Quantum.fourierCoeff_mul_self_of_linear {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] (A : (ι → Bool) → R) (hlin : ∀ (a b : ι → Bool), A a * A b = A (a + b)) (u : ι → Bool) :

The Fourier coefficient at an exact character is idempotent.

theorem Cslib.Quantum.isSelfAdjoint_walshSum {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {D : (ι → Bool) → R} (hD : ∀ (x : ι → Bool), IsSelfAdjoint (D x)) (a : ι → Bool) :
theorem Cslib.Quantum.isSelfAdjoint_fourierCoeff {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (u : ι → Bool) :
theorem Cslib.Quantum.fourierCoeff_mul_self_nonneg {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (u : ι → Bool) :

The Fourier squares of self-adjoint observables are positive.

noncomputable def Cslib.Quantum.fourierMeasurement {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] [PartialOrder R] [StarOrderedRing R] (A : (ι → Bool) → R) (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (hA2 : ∀ (a : ι → Bool), A a * A a = 1) :
Measurement (ι → Bool) R

The Fourier measurement u ↦ Â(u)² of a family of ±1 observables.

theorem Cslib.Quantum.fourierMeasurement_effect {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (hA2 : ∀ (a : ι → Bool), A a * A a = 1) (u : ι → Bool) :
theorem Cslib.Quantum.fourierMeasurement_isProjective_of_linear {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (hA2 : ∀ (a : ι → Bool), A a * A a = 1) (hlin : ∀ (a b : ι → Bool), A a * A b = A (a + b)) :

The Fourier measurement of exactly linear observables is projective.

theorem Cslib.Quantum.walshSum_fourierMeasurement_of_linear {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (hA2 : ∀ (a : ι → Bool), A a * A a = 1) (hlin : ∀ (a b : ι → Bool), A a * A b = A (a + b)) (a : ι → Bool) :

Decoding a character of the Fourier measurement recovers the corresponding observable of an exactly linear family.

theorem Cslib.Quantum.fourierMeasurement_mul_self_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (hA2 : ∀ (a : ι → Bool), A a * A a = 1) (u : ι → Bool) :

The Fourier measurement satisfies B_u² ≤ B_u.

theorem Cslib.Quantum.re_apply_sum_fourierCoeff_cube {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [Algebra ℂ R] {A : (ι → Bool) → R} [PartialOrder R] (φ : AlgState R) :
(φ (∑ u : ι → Bool, fourierCoeff A u * (fourierCoeff A u * fourierCoeff A u))).re = Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => (φ (A a * A b * A (a + b))).re

In a state, Re φ(∑_u Â(u)³) = E_{a,b} Re φ(A(a) A(b) A(a + b)).

theorem Cslib.Quantum.one_sub_le_fourierCoeff_moments_of_linear {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (φ : AlgState R) (hTotal : ∑ u : ι → Bool, fourierCoeff A u * fourierCoeff A u ≤ 1) {δ : ℝ} (hδ : 1 - δ ≤ Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => (φ (A a * A b * A (a + b))).re) :
1 - δ ≤ (φ (∑ u : ι → Bool, fourierCoeff A u * fourierCoeff A u)).re ∧ 1 - 2 * δ ≤ ∑ u : ι → Bool, (φ (fourierCoeff A u * fourierCoeff A u * (fourierCoeff A u * fourierCoeff A u))).re

Near linearity bounds the missing mass and the fourth-moment defect of the Fourier squares, provided their total effect is at most the identity.

theorem Cslib.Quantum.one_sub_le_sum_fourierMeasurement_sq {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (hA2 : ∀ (a : ι → Bool), A a * A a = 1) (φ : AlgState R) {δ : ℝ} (hδ : 1 - δ ≤ Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => (φ (A a * A b * A (a + b))).re) :
1 - 2 * δ ≤ ∑ u : ι → Bool, (φ ((fourierMeasurement A hA hA2).effect u * (fourierMeasurement A hA hA2).effect u)).re

The Fourier measurement is almost projective. If E_{a,b} Re φ(A(a) A(b) A(a + b)) ≥ 1 - δ, then ∑_u Re φ(B_u²) ≥ 1 - 2δ.

theorem Cslib.Quantum.expect_norm_sub_walshSum_sq_le_of_contractions {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (φ : AlgState R) [SelfAdjointDecompose R] (hTotal : ∑ u : ι → Bool, fourierCoeff A u * fourierCoeff A u ≤ 1) {δ : ℝ} (hδ : 1 - δ ≤ Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => (φ (A a * A b * A (a + b))).re) :
(Finset.univ.expect fun (a : ι → Bool) => φ.norm (A a - walshSum (fun (u : ι → Bool) => fourierCoeff A u * fourierCoeff A u) a) ^ 2) ≤ 2 * δ

The Walsh sums of the Fourier squares are close to the original self-adjoint contractions when their triple correlations are near one.

theorem Cslib.Quantum.expect_norm_sub_walshSum_sq_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] {R : Type u_2} [Ring R] [StarRing R] [Algebra ℂ R] [StarModule ℂ R] {A : (ι → Bool) → R} [PartialOrder R] [StarOrderedRing R] (hA : ∀ (a : ι → Bool), IsSelfAdjoint (A a)) (hA2 : ∀ (a : ι → Bool), A a * A a = 1) (φ : AlgState R) [SelfAdjointDecompose R] {δ : ℝ} (hδ : 1 - δ ≤ Finset.univ.expect fun (a : ι → Bool) => Finset.univ.expect fun (b : ι → Bool) => (φ (A a * A b * A (a + b))).re) :
(Finset.univ.expect fun (a : ι → Bool) => φ.norm (A a - walshSum (fourierMeasurement A hA hA2).effect a) ^ 2) ≤ 2 * δ

The characters of the Fourier measurement of involutions are close to the observables when their triple correlations are near one.