Documentation

CslibFrontier.Foundations.Quantum.Algebra.CStar

States and measurements in C⋆-algebras #

In a C⋆-algebra the state norm is controlled by the C⋆-norm: ‖cx‖_φ ≤ ‖c‖ ‖x‖_φ (Cslib.Quantum.AlgState.norm_mul_le), because c⋆c ≤ ‖c‖². So closeness in a state survives left multiplication by any operator, at the price of its norm (Cslib.Quantum.AlgState.Approx.mul_left_norm), and 0-closeness survives it outright. An effect with expectation 0 is 0-close to 0 (Cslib.Quantum.AlgState.approx_zero_of_apply_eq_zero).

The effects of a projective measurement are pairwise orthogonal (Cslib.Quantum.Measurement.IsProjective.mul_eq_zero): from E_a = E_a (∑_c E_c) E_a the nonnegative terms E_a E_c E_a = (E_c E_a)⋆(E_c E_a) with c ≠ a sum to 0, so each vanishes, and in a C⋆-algebra x⋆x = 0 forces x = 0. Hence functions of one projective measurement multiply pointwise (Cslib.Quantum.Measurement.IsProjective.sum_smul_mul_sum_smul).

Main results #

theorem Cslib.Quantum.AlgState.norm_mul_le {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] (φ : AlgState A) (c x : A) :
φ.norm (c * x) ≤ ‖c‖ * φ.norm x

In a C⋆-algebra, ‖cx‖_φ ≤ ‖c‖ ‖x‖_φ.

theorem Cslib.Quantum.AlgState.Approx.mul_left_norm {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {φ : AlgState A} {a b : A} {δ : ℝ} (h : φ.Approx δ a b) (c : A) :
φ.Approx (‖c‖ * δ) (c * a) (c * b)

Left multiplication by c turns δ-closeness into ‖c‖δ-closeness.

theorem Cslib.Quantum.AlgState.Approx.mul_left_zero {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {φ : AlgState A} {a b : A} (h : φ.Approx 0 a b) (c : A) :
φ.Approx 0 (c * a) (c * b)

0-closeness survives left multiplication by any operator.

theorem Cslib.Quantum.AlgState.approx_zero_of_apply_eq_zero {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {φ : AlgState A} {E : A} (h0 : 0 ≤ E) (h1 : E ≤ 1) (hE : φ E = 0) :
φ.Approx 0 E 0

An effect with expectation 0 is 0-close to 0.

theorem Cslib.Quantum.Measurement.IsProjective.mul_eq_zero {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {α : Type u_2} [Fintype α] {M : Measurement α A} (hM : M.IsProjective) {a b : α} (hab : a ≠ b) :
M.effect a * M.effect b = 0

The effects of a projective measurement are orthogonal.

theorem Cslib.Quantum.Measurement.IsProjective.commute_effect {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {α : Type u_2} [Fintype α] {M : Measurement α A} (hM : M.IsProjective) (a b : α) :
Commute (M.effect a) (M.effect b)

Two outcomes of one projective measurement commute.

theorem Cslib.Quantum.Measurement.IsProjective.sum_smul_mul_sum_smul {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {α : Type u_2} [Fintype α] {M : Measurement α A} (hM : M.IsProjective) (f g : α → ℂ) :
(∑ a : α, f a • M.effect a) * ∑ a : α, g a • M.effect a = ∑ a : α, (f a * g a) • M.effect a

Functions of a projective measurement multiply pointwise: (∑_a f(a) E_a)(∑_a g(a) E_a) = ∑_a f(a) g(a) E_a.

theorem Cslib.Quantum.Measurement.IsProjective.map {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {α : Type u_2} [Fintype α] {M : Measurement α A} {β : Type u_3} [Fintype β] [DecidableEq β] (hM : M.IsProjective) (f : α → β) :

Coarse-graining a projective measurement keeps it projective.

The observables of two bits g, h of the outcome of a projective measurement multiply to the observable of their parity.

theorem Cslib.Quantum.Measurement.norm_observable_map_sub_sq_le {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {α : Type u_2} [Fintype α] (M : Measurement α A) (φ : AlgState A) (f g : α → Bool) :
φ.norm ((map f M).observable - (map g M).observable) ^ 2 ≤ 4 * prob φ (map (fun (a : α) => f a ^^ g a) M) true

For a general measurement, the squared distance between two decoded observables is at most four times the probability of different decoder outputs.

theorem Cslib.Quantum.Measurement.IsProjective.norm_observable_map_sub_sq {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {α : Type u_2} [Fintype α] {M : Measurement α A} (hM : M.IsProjective) (φ : AlgState A) (f g : α → Bool) :
φ.norm ((Measurement.map f M).observable - (Measurement.map g M).observable) ^ 2 = 4 * prob φ (Measurement.map (fun (a : α) => f a ^^ g a) M) true

The squared distance between two bit observables of one projective measurement is four times the probability that those bits differ.