§2.4: Hermitian base construction (35)–(36)
OpenQAlgorithms.Papers.Independent.Extend50.P44.hermitianBaseConstructionFix a compatible base scheme and a transpose permutation on every physical label. Assume , preserves the data label and range predicate, the row oracle is the column oracle composed with , and the two sparsity preparations coincide. For real supplied data with , prepend Z to the data-flag RX rotation as in (36). Then
The circuit retains one loading of items and physical flags. Hermiticity is a conclusion about the full unitary, including invalid-label completions.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P44
noncomputable section
namespace QAlgorithms.Papers.Independent.Extend50.P44
open scoped BigOperators ComplexConjugate Matrix
open QAlgorithms.Papers.Independent.Frontier18.P11 (complexMatrix)
open QAlgorithms.Papers.Independent.Information100.P34 (permutationMatrix)
open QAlgorithms.Papers.Independent.Next46.P21 (tCount)
variable {n s d m : ℕ}
/-- PDF p.11, (35)-(36): RX preceded by Z, transpose, and range deletion
produce a Hermitian full unitary with the base resources. -/
theorem hermitianBaseConstruction (B : Scheme n s d m) (T : TransposeOracle B)
(a : Fin (2 ^ d) → ℝ) (active : Finset (Fin (2 ^ d))) (hactive : active.Nonempty)
(hpadding : ∀ j, j ∉ active → a j = 0)
(ha : 0 < tableMax a) :
QAlgorithms.IsBlockEncoding ((false, false), 0) (B.baseCircuit a true)
(B.baseAlpha a) 0 (B.matrix a) ∧
(B.baseCircuit a true)ᴴ = B.baseCircuit a true ∧
loadingCost (baseLoadingSchedule active.card) = active.card ∧
Fintype.card ((Bool × Bool) × Fin (2 ^ s)) = 2 ^ (s + 2) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P44
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For natural numbers , write and . Let be a scheme with , bijections , Boolean validity , nonempty slot sets , and unitaries with first columns uniform on their respective slot sets and zero elsewhere; valid labels map into the corresponding slot sets and are uniquely determined by their column and row system positions. Suppose a permutation of satisfies , , , for every label, and . Let , and let be nonempty, with outside it and . Define to have diagonal entries and off-diagonal entries , and define
Let implement the label bijections while preserving flags, let apply only to the slot, and set , regrouped onto . For
the conclusion is that is unitary, its all-false, zero-slot block satisfies , and . The loading schedule has sum , and the ancilla index set has cardinality . Table entries within may be zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.