Finite exact tests from actual unitary inputs
OpenQAlgorithms.Papers.Independent.Intake100.P12.finite_basis_reductionFor integers , there is a finite family whose repeated-channel Choi matrices are linearly independent and span . For every linear unitary-channel target , process matrix , and real coefficient ,
Here Choi matrices and the contraction use the fixed source bases and unnormalized convention. This converts exact universal testing into exact finite testing; no arbitrary ambient matrix basis or nonlinear target is substituted.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P12
noncomputable section
open QAlgorithms
open scoped Matrix ComplexConjugate ComplexOrder Kronecker
namespace QAlgorithms.Papers.Independent.Intake100.P12
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
open QAlgorithms.Papers.Independent.Dependency50.P26 (ChannelChoi)
/-- PDF p.7, Eqs. (17)–(19): finitely many actual unitary inputs suffice;
linearity of the single-channel target is essential, and k=0 is excluded. -/
theorem finite_basis_reduction {d k : ℕ} (hd : 0 < d) (hk : 0 < k) :
∃ n : ℕ, ∃ B : Fin n → Matrix.unitaryGroup (Fin d) ℂ,
IsUnitaryBasis d k n B ∧
∀ (f : Op (Fin d × Fin d) →ₗ[ℂ] Op (Fin d × Fin d)),
UnitaryLinearTarget f → ∀ (S : Op (ProcessBasis (uniformWires d k))) (p : ℝ),
(∀ i, evaluateOracleSlots S (repeatedChoi k (B i)) = (p : ℂ) • f (gateChoi (B i : Op (Fin d)))) ↔
ExactUnitarySuccess S (fun U => f (gateChoi (U : Op (Fin d)))) p := by sorry
end QAlgorithms.Papers.Independent.Intake100.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every pair of positive natural numbers , define and the matrix
There exist a natural number and unitaries , , such that the matrices are complex-linearly independent and their complex span equals the complex span of all , , and such that the following holds for every complex-linear map satisfying , every complex process matrix indexed by , and every real . Writing
one has
The same finite family works for all such . Neither positivity nor normalization is assumed for , and no restriction is imposed on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.