Abstract / §III: generator symmetrization constructs equivariant ansatz circuits
OpenQAlgorithms.Papers.Independent.Extend50.P01.generator_symmetrizationLet be a finite group represented unitarily by on qubits. Let be Hermitian generators, with arbitrary real angles . Define . Then each is Hermitian, each is unitary, and
The ordered product is also unitary. Zero twirls are retained and generate identity gates. This constructs the equivariant counterpart of the complete ansatz, without a universality or resource improvement claim.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P01
noncomputable section
open scoped Matrix Kronecker ComplexConjugate Matrix.Norms.L2Operator Manifold ContDiff
open MeasureTheory
namespace QAlgorithms.Papers.Independent.Extend50.P01
attribute [local instance] Classical.propDecidable Classical.decEq
-- PDF pp.3,8: reuse the accepted operator type, exp(-itH), and A X A†.
-- Notation specializes the imported interfaces without introducing duplicate declarations.
local notation "Op" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Op (Qubits n))
local notation "evolve" => QAlgorithms.Papers.Independent.Information100.P32.evolution
local notation "conjugate" => QAlgorithms.conjSuperop
-- PDF pp.3,10–11: the imported quadratic form is Re(psi† A psi).
local notation "expectation" => QAlgorithms.Papers.Independent.Information100.P21.quad
-- PDF pp.5,16–19: accepted active-wire operator, with identities on all spectators.
local notation "onWire" => QAlgorithms.Papers.Independent.Advance50.P49.onWire
-- PDF p.5: the imported phase-free Pauli tensor uses 0=I,1=X,2=Y,3=Z.
local notation "pauliWord" => QAlgorithms.Papers.Independent.Gap48.P33.pauliWord
/-- PDF pp.1,8–10, Eq.(54): equivariant gates and complete ordered ansatz products.
Zero twirls remain in the list. -/
theorem generator_symmetrization {S : Type*} [Group S] [Fintype S]
(n k : ℕ) (U : S →* Op n) (hU : ∀ s, U s ∈ Matrix.unitaryGroup (Qubits n) ℂ)
(G : Fin k → Op n) (hG : ∀ j, (G j).IsHermitian) (theta : Fin k → ℝ) :
(∀ j, (finiteTwirl U (G j)).IsHermitian ∧
evolve (finiteTwirl U (G j)) (theta j) ∈ Matrix.unitaryGroup (Qubits n) ℂ ∧
∀ s, Commute (evolve (finiteTwirl U (G j)) (theta j)) (U s)) ∧
orderedProd (fun j => evolve (finiteTwirl U (G j)) (theta j)) ∈
Matrix.unitaryGroup (Qubits n) ℂ ∧
∀ s, Commute (orderedProd (fun j => evolve (finiteTwirl U (G j)) (theta j))) (U s) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P01
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every finite group , including its specified group and finite enumeration structures, all natural numbers , every multiplicative identity-preserving map such that each is unitary, every family of Hermitian matrices on those bit strings, and every family of real numbers , define
Then each is Hermitian, each is unitary, and for every ; moreover, the reversed product is unitary and commutes with every . A group is nonempty, so ; and are allowed, with the product for equal to the identity.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.