§3.3: symmetric tridiagonal encoding (57)–(62)
OpenQAlgorithms.Papers.Independent.Extend50.P44.tridiagonalBaseFor , let real values specify the symmetric tridiagonal matrix with diagonal and adjacent entries . Append a fixed zero sentinel at address and assume the resulting maximum magnitude is positive. A label scheme (58)-(60), chosen before the data, and the H3 preparation on 00,01,11 give
The base circuit has four flags and padded loading slots. An absolute constant bounds arithmetic Toffoli count by with no extra work qubits. The sparse-access reference flag register has bits. The construction includes and using the same effective sparsity support.
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.15-16, (57)-(62): symmetric tridiagonal base construction.
Three supported sparsity states give normalization 3 max|a| despite four
physical states. Arithmetic needs no extra work qubits; data uses 2N slots. -/
theorem tridiagonalBase :
∃ C : ℝ, 0 < C ∧ ∀ n : ℕ, ∃ B : Scheme n 2 (n + 1) 1,
TridiagonalLabels B ∧ B.ArithmeticCost (C * (n + 1)) 0 ∧
loadingCost (baseLoadingSchedule (2 * 2 ^ n)) = 2 * 2 ^ n ∧
Fintype.card ((Bool × Bool) × Fin 4) = 2 ^ 4 ∧
Fintype.card ((Bool × Bool × Bool) × Fin (2 ^ n)) = 2 ^ (n + 3) ∧
∀ a : Fin (2 * 2 ^ n - 1) → ℝ, 0 < tableMax (triTable n a) →
B.matrix (triTable n a) = tridiagonal n a ∧
QAlgorithms.IsBlockEncoding ((false, false), 0) (B.baseCircuit (triTable n a))
(3 * tableMax (triTable n a)) 0 (tridiagonal n a) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P44
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There is a real constant such that for every natural number , including , writing and , there exists a scheme with parameter balance , bijections , both slot sets equal to , and unitary slot matrices whose zeroth columns are on those slots and zero at slot . Valid labels map into their respective slot sets and are uniquely determined by their column and row output coordinates together. For every label ,
and whenever the label is valid,
There are three reversible Boolean circuits with no work bits implementing the column map, row map, and invalid-label-controlled flip of the second of two flags, respectively, preserving both flags for the first two maps. Coordinates are encoded by concatenated, most-significant-bit-first binary strings. Elementary gates flip a target when all of at most two controls are true, with the target excluded from its controls; the total number of two-control gates across the three circuits is at most . The schedule has sum ; the ancillary index set of two Boolean flags and a slot in has cardinality ; and the set of three Boolean flags together with an index in has cardinality . For every real , extend it to by setting its last entry to zero, and suppose . The scheme matrix formed by summing over valid labels with prescribed row and column output coordinates equals
With , applying , then to the first flag and a flip of the second flag exactly at invalid labels, then , gives a unitary matrix whose ancillary block at , multiplied by , equals . For , the input table and the target matrix each have one entry.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.