§IV Eqs.(68)–(87): invariant re-uploading blueprint
OpenQAlgorithms.Papers.Independent.Extend50.P01.reupload_invarianceLet a group act on data , with a unitary representation on qubits. Let be a unitary embedding with . For arbitrary parameters , choose data-independent unitary blocks commuting with every , where . Let be a unit vector fixed exactly by every , and a Hermitian observable with . Put , , and . Then
The conjugation channels of each also commute with the symmetry conjugation on every operator. These are sufficient conditions for invariant re-uploading predictions.
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.10–11, Eqs.(68)–(87), recap p.20: sufficient conditions for all parameters and
inputs. The state is exactly fixed and normalized, and the observable is Hermitian. -/
theorem reupload_invariance {S X Theta : Type*} [Group S] [MulAction S X]
(n L : ℕ) (U : S →* Op n) (hU : ∀ s, U s ∈ Matrix.unitaryGroup (Qubits n) ℂ)
(E : X → Op n) (hE : ∀ x, E x ∈ Matrix.unitaryGroup (Qubits n) ℂ)
(hequiv : ∀ s x, E (s • x) = conjugate (U s) (E x))
(W : Theta → Fin (L + 1) → Op n)
(hW : ∀ theta j, W theta j ∈ Matrix.unitaryGroup (Qubits n) ℂ)
(hcomm : ∀ theta j s, Commute (W theta j) (U s))
(psi0 : EuclideanSpace ℂ (Qubits n)) (hpsi : IsState psi0)
(hfixed : ∀ s, act (U s) psi0 = psi0)
(O : Op n) (hO : O.IsHermitian) (hinv : ∀ s, conjugate (U s) O = O) :
(∀ theta x s,
reupload (E (s • x)) (List.ofFn (W theta)) = conjugate (U s) (reupload (E x) (List.ofFn (W theta))) ∧
act (reupload (E (s • x)) (List.ofFn (W theta))) psi0 =
act (U s) (act (reupload (E x) (List.ofFn (W theta))) psi0) ∧
expectation O (act (reupload (E (s • x)) (List.ofFn (W theta))) psi0) =
expectation O (act (reupload (E x) (List.ofFn (W theta))) psi0)) ∧
(∀ theta j s rho, conjugate (W theta j) (conjugate (U s) rho) =
conjugate (U s) (conjugate (W theta j) rho)) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P01
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a group acting on a type , let be any parameter type, and let be natural numbers. Suppose satisfies , , and unitarity of all its values; suppose has unitary values and satisfies for every ; and suppose matrices , for and , are unitary and commute with every . Let satisfy and for every , and let be Hermitian with for every . Define , with when , and define the expectation of in a vector as . Then for every ,
Also, for every and every complex matrix indexed by -bit strings,
The matrix need not be a density matrix; and are included, and or may be empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.