Lemma 7: diagonal unitaries with one exactly returned ancilla
OpenQAlgorithms.Papers.Independent.Intake100.P83.lemma7Let be an Abelian group and let be a finite nonempty orthonormal on-site basis, with . For each , let be a unit-modulus character, so that and the physical action on sites is . Write for the exact finite products of individually -invariant unitaries acting on at most arbitrary named sites. A product string has character ; a charge sector is the full span of all strings with the same character.
Let and let be any unitary diagonal in the fixed product basis. Fix any normalized on-site state supported in a single on-site charge sector. There exists one such that, for every system vector ,
The ancilla has the same on-site representation and is returned exactly; the implementing is independent of . The equation for all vectors is the linear extension of the source's equation for all normalized states.
Thus diagonal phases can be synthesized even in the presence of extra invariant components.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P83
noncomputable section
open scoped BigOperators ComplexConjugate Matrix Kronecker Manifold ContDiff
attribute [local instance] Classical.propDecidable
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
namespace QAlgorithms.Papers.Independent.Intake100.P83
variable {A G : Type*} [Fintype A] [DecidableEq A]
/-- PDF pp.9-10 Lemma 7: one same-representation ancilla in any fixed normalized charge
state implements every diagonal unitary and is returned exactly. The implementing W is
chosen before the universally quantified system vector. -/
theorem lemma7 [CommGroup G] [Nonempty A] (chi : A → G → ℂ) (hchi : IsOnsite chi)
(n : ℕ) (hn : 1 ≤ n) (V : Op (Words A n))
(hV : V ∈ Matrix.unitaryGroup (Words A n) ℂ) (hdiag : Matrix.IsDiag V)
(a : EuclideanSpace ℂ A) (ha : QAlgorithms.IsState a) (hcharge : DefiniteCharge chi a) :
ImplementsWithAncilla chi n 2 a V := by sorry
end QAlgorithms.Papers.Independent.Intake100.P83
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a finite nonempty alphabet with decidable equality, let be a commutative group, and let satisfy , , and for every . For any natural number , any diagonal unitary matrix indexed by , and any vector of Euclidean norm such that there exists with as functions on whenever , there exists a matrix that is an exact finite product of unitary operators on , each supported on at most two distinct sites and commuting with every diagonal symmetry whose entry at a word is . Support means an embedding along an injection of a local operator, with its local matrix entry used when the two indexing words agree outside those sites and zero otherwise; the empty product is allowed. This satisfies for every vector , where the appended vector is defined coordinatewise by . Thus the same given ancilla vector appears exactly on both sides of the asserted equality.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.