Relative frequency and sampled single-particle fidelity
OpenQAlgorithms.Papers.Independent.Intake100.P37.symmetric_fidelityLet , let be any positive trace-one -qubit density invariant under every exchange of two sites, and let be normalized. Write for its th one-qubit reduction. Then, for every site ,
No Bose-support assumption is needed for this equality. Separately, the normalized photon-occupation embedding is an isometry whose range is exactly the qubit vectors fixed by every site permutation. For any positive trace-one photon occupation density , its embedded density is positive, trace one and exchange invariant. Its photon relative frequency therefore equals the fidelity of any sampled qubit marginal. In polarization 1 the relative frequency is
The diagonal entries are real for these densities. This identifies physical single-spatial-mode photon fidelity with the usual sampled-clone fidelity, without conflating swap invariance of arbitrary mixed states with support in the Bose subspace.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P37
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P37
open QAlgorithms
open scoped Matrix ComplexOrder ComplexConjugate Matrix.Norms.L2Operator
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.7-8 Eqs.(27)-(30): exchange-invariant mixed densities have equal
single-site and average fidelities. Bose support is used only for the separate
photon occupation identification, not imposed on all exchange-invariant rho. -/
theorem symmetric_fidelity (M : ℕ) (hM : 1 ≤ M) :
(∀ rho : Matrix (Qubits M) (Qubits M) ℂ,
IsDensityMatrix rho → ExchangeInvariant M rho →
∀ psi : EuclideanSpace ℂ (Fin 2), IsState psi →
∀ k : Fin M, meanCloneFidelity M rho psi = effectProb (pureDensity psi) (QAlgorithms.Papers.Independent.Support21.P18.siteReduction rho k)) ∧
(QAlgorithms.Papers.Independent.Support21.P18.occupationEmbedding M)ᴴ * QAlgorithms.Papers.Independent.Support21.P18.occupationEmbedding M = 1 ∧
(∀ v : EuclideanSpace ℂ (Qubits M),
(∀ pi : Equiv.Perm (Fin M), ∀ x : Qubits M, v (x ∘ pi) = v x) ↔
∃ w : EuclideanSpace ℂ (Fin (M + 1)), v = applyMatrix (QAlgorithms.Papers.Independent.Support21.P18.occupationEmbedding M) w) ∧
(∀ rho : Matrix (Fin (M + 1)) (Fin (M + 1)) ℂ, IsDensityMatrix rho →
IsDensityMatrix (photonDensity M rho) ∧
ExchangeInvariant M (photonDensity M rho) ∧
(∀ psi : EuclideanSpace ℂ (Fin 2), IsState psi →
∀ k : Fin M, photonFrequency M rho psi =
effectProb (pureDensity psi) (photonSample M rho k)) ∧
photonFrequency M rho (ket (0 : Fin 2)) =
∑ j : Fin (M + 1), (rho j j).re * ((M - j.val : ℕ) : ℝ) / M) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P37
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , identify bits with , and for a complex matrix on -bit strings define
Call exchange invariant when for every pair of sites and all bit strings , where swaps those sites. Define the matrix , with rows indexed by -bit strings and columns , by when has exactly true bits, and otherwise. The assertion is that, for every positive semidefinite matrix of trace that is exchange invariant, every unit vector , and every site ,
It also states that , and that a vector on -bit strings satisfies for every permutation of the sites and every if and only if there exists a vector with . Finally, for every positive semidefinite matrix of trace , the matrix is positive semidefinite with trace and is exchange invariant; for every unit vector and every ,
Here in the final formula is natural-number subtraction, which is nonnegative for the indicated indices.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.