§5: constant-depth cluster preparation
OpenQAlgorithms.Papers.Independent.Intakenext100.P52.rectangular_cluster_constant_depthFor a rectangular grid, including a one-dimensional row, let be the state obtained by preparing at every vertex and applying once on every horizontal and vertical nearest-neighbour edge. There is a natural constant , independent of both grid dimensions, such that
Every physical layer consists of gates on pairwise disjoint supports, and all two-qubit gates are nearest-neighbour s. Four edge matchings and the initial Hadamard layer give a bound uniform in grid size. Empty grids have the scalar vacuum state.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P52
noncomputable section
open scoped Matrix ComplexConjugate
namespace QAlgorithms.Papers.Independent.Intakenext100.P52
open QAlgorithms.Papers.Independent.Information100.P21 (Vec)
open QAlgorithms.Papers.Independent.Gap20.P01 (applyRect)
/-- Cluster preparation, PDF p.8: a dimension-independent constant comes before
both grid dimensions. Four disjoint CZ matchings plus one H layer suffice;
commutation is not treated as permission to overlap gates in a physical layer. -/
theorem rectangular_cluster_constant_depth :
∃ D : ℕ, D ≤ 5 ∧ ∀ r c : ℕ,
∃ layers : List (List (PrepGate (RectangularSites r c))),
layers.length ≤ D ∧ (∀ L ∈ layers, LegalPrepLayer L) ∧
(∀ g ∈ layers.flatten, GridPrepGate g) ∧
act (prepMatrix layers) (ket (fun _ : RectangularSites r c => false)) = graphClusterState (gridEdges r c) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P52
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There exists a natural number , independent of the grid dimensions, such that for every pair of natural numbers , there is a list of at most layers of preparation gates on . Within each layer, supports at distinct list positions are disjoint, with supports for and for ; every controlled-phase gate uses adjacent grid sites. Let consist of the ordered edges from each site to its next row neighbour and its next column neighbour, whenever present. A Hadamard gate applies at its site and leaves other sites unchanged, while multiplies assignment by , identifying Booleans with . Flattening the layers and applying their gates in list order sends the basis vector concentrated on the all-zero assignment exactly to the vector with amplitudes . This includes grids with a zero dimension: their assignment space has one element, and the specified target amplitude is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.