§3.1: checkerboard PREP circuit (45)–(47)
OpenQAlgorithms.Papers.Independent.Extend50.P44.checkerboardPrepLet , , and for real values not both zero. Fix the checkerboard label scheme and its data-preserving tensor factors before choosing the values. Signed normalized PREP and UNPREP operators at can be chosen so that circuit (45), without a deletion flag, satisfies
The preparation convention is (29)-(30), which also covers negative values; no square root of a negative data item is used. This improves the checkerboard base normalization.
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.13, (45)-(47): signed PREP/UNPREP checkerboard construction.
The two normalized preparation operators use the general sign conventions,
rather than taking square roots of negative entries in the printed (46). -/
theorem checkerboardPrep (n : ℕ) (hn : 1 ≤ n) :
∃ B : Scheme n n 1 (2 * n - 1), ∃ L : PrepLayout B,
CheckerLabels B ∧ L.active = Finset.univ ∧
∀ a : Fin 2 → ℝ, 0 < tableMax a →
∃ P : PreparationPair L a (1 / 2), B.matrix a = checkerboard n a ∧
QAlgorithms.IsBlockEncoding (0 : Fin (2 ^ n)) (L.noDeleteCircuit P)
((2 ^ n : ℕ) * (|a 0| + |a 1|) / 2) 0 (checkerboard n a) ∧
((2 ^ n : ℕ) : ℝ) * (|a 0| + |a 1|) / 2 ≤
(2 ^ n : ℕ) * max |a 0| |a 1| := 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 preparation layout as follows. The scheme has parameter balance , bijections , all labels valid, both slot sets equal to , unitary slot matrices with zeroth column constantly , and uniqueness of each label from its column and row output coordinates together; its output coordinates satisfy
The layout has active set , natural numbers , slot factorizations , sending zero to , nonempty residual sets , and unitary residual matrices with zeroth columns equal to the normalized indicators of those sets. Slot membership is equivalent to the data factor being active and the residual factor belonging to its residual set, and the data factors of the column and row slots of both equal . For every real table with , there exist unitary matrices on , writing , such that
The scheme matrix, defined by summing over valid labels with the specified row and column output coordinates, equals . Reindex and through to get slot matrices . The matrix on slot/output pairs obtained by applying , then , then , then , is precisely the false-to-false flag block of the layout circuit, since all labels are valid; it is unitary and obeys
Only the table as a whole must be nonzero; an individual entry may vanish.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.