§3.4: Hermitian extended-binary-tree base construction (67)–(74)
OpenQAlgorithms.Papers.Independent.Extend50.P44.extendedTreeBaseLet and . Give the extended binary tree the edge between each vertex and , edge weight , diagonal weight at vertex 0 and at vertices , and diagonal weight elsewhere. Assume .
There are data-independent reversible labels (69)-(74), with a full transpose completion, such that the Hermitian base circuit obeys
Three supplied values occupy four physical data states; four supported sparsity states occupy three bits, giving five flags. At the internal-node weight need not occur. No preamplification or PREP improvement is asserted here.
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 pp.17-18, (67)-(74): Hermitian extended-tree base construction.
The three data items occupy a four-state register; four supported sparsity
states occupy three bits. At n=1 the low-bit register is empty. -/
theorem extendedTreeBase (n : ℕ) (hn : 1 ≤ n) :
∃ B : Scheme n 3 2 (n + 1), ∃ T : TransposeOracle B,
TreeLabels B ∧
(∀ l, (T.transpose l).2.val = if l.1.val = 2 then
(l.2.val + 2 ^ n) % 2 ^ (n + 1) else l.2.val) ∧
loadingCost (baseLoadingSchedule 3) = 3 ∧
Fintype.card ((Bool × Bool) × Fin 8) = 2 ^ 5 ∧
∀ a : Fin 3 → ℝ, 0 < tableMax a →
B.matrix (treeTable a) = extendedTree n a ∧
QAlgorithms.IsBlockEncoding ((false, false), 0) (B.baseCircuit (treeTable a) true)
(4 * tableMax a) 0 (extendedTree n a) ∧
(B.baseCircuit (treeTable a) true)ᴴ = B.baseCircuit (treeTable a) true := 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 every natural number , put and . There exist a scheme and a label permutation as follows. The scheme has parameter balance , bijections , both slot sets , and unitary slot matrices whose zeroth columns equal on those slots and zero elsewhere. Valid labels map into their slot sets and are uniquely determined by their column and row output coordinates together. The validity condition is
and every valid label satisfies
The permutation is involutive, preserves the data index and validity, satisfies for every label, and ; its second coordinate is when , and otherwise. The loading schedule has sum , and two Boolean flags together with a slot in form an ancillary index set of cardinality . For every real table with , extend it to . The scheme matrix, formed by summing over valid labels with prescribed output coordinates, equals
Let and . Applying to the slot, , then to the first flag while flipping the second flag exactly at invalid labels, then , gives a unitary Hermitian matrix , with
The same scheme and permutation work for every such table, including tables with individual zero entries.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.