§III remarks: emulating the inverse with the same samples
OpenQAlgorithms.Papers.Independent.Intakethird100.P67.inverse_emulationLet normalized pure input samples generate the full algebra on their span, and let their output records be the exact images under an unknown unitary . The output samples also generate the full algebra on their span . Running the same emulator with input and output samples exchanged gives, for every , a threshold such that all and all density operators supported on satisfy
The threshold is uniform over the new input. The construction uses the supplied records in reverse roles; it does not query an inverse-unitary oracle.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P67
noncomputable section
open scoped ComplexConjugate Matrix Matrix.Norms.L2Operator
attribute [local instance] Classical.propDecidable
open MeasureTheory Filter
namespace QAlgorithms.Papers.Independent.Intakethird100.P67
variable {I J K L A : Type*} [Fintype I] [DecidableEq I]
[Fintype J] [DecidableEq J] [Fintype K] [DecidableEq K]
[Fintype L] [DecidableEq L] [Fintype A] [DecidableEq A]
/-- PDF p.4: swapping the supplied records implements U-dagger uniformly on H_out.
The circuit accesses samples, not a callable U-dagger. -/
theorem inverse_emulation (phi : K → EuclideanSpace ℂ I) (a : K)
(hK : 2 ≤ Fintype.card K) (hphi : ∀ k, IsState (phi k))
(hgen : Generates (pureSamples phi)) (U : Matrix.unitaryGroup I ℂ) :
let out := fun k => act (U : Matrix I I ℂ) (phi k)
Generates (pureSamples out) ∧ ∀ eps : ℝ, 0 < eps → ∃ N : ℕ, ∀ T ≥ N,
∀ rho : Matrix I I ℂ, IsDensityMatrix rho → InSampleSupport (pureSamples out) rho →
traceDistance (emulate out a (U : Matrix I I ℂ)ᴴ T rho) (densityConjugation (U : Matrix I I ℂ)ᴴ rho) ≤ eps := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P67
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be finite index types with decidable equality, let , fix , and let every have norm . For any family , write and let be the functional-calculus value of on ; say that this family generates its corner when the complex span of all nonempty products of the equals . Assume that generates its corner, and let be unitary. Define . The assertion is that also generates its corner and that the following uniform approximation holds. To specify its map, put , for , , , and
For , let be the product applying to system and ancilla , in increasing application order, let use instead, and put , where . Set , , and define
Empty history products are identities. For every real , there exists a natural number such that, for every and every positive semidefinite matrix of trace satisfying ,
In particular, is chosen before , and no upper bound on is imposed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.