Bond-one MPS and quadratic tableau construction for Pauli predictions
OpenQAlgorithms.Papers.Independent.Intakethird100.P71.stabilizerPauli_bondOneLet be a pure -qubit stabilizer projector and a Hermitian Pauli string with phase . For each region , let be its reduced state with normalized identity on the complement. The coefficient vector has the exact bond-one representation
This representation includes the identically zero vector, the identity Pauli, and empty or full regions. There are a uniform classical tableau program and an absolute constant such that, from the signed full stabilizer/destabilizer tableau and the Pauli string, it emits the scalar code and all tensor entries within elementary indexed word operations. The scalar is one of ; machine cell values stay bounded by throughout execution. No conversion of an arbitrary unsimplified generator list is counted as free preprocessing.
The result gives an explicitly stored MPS with linear output size and quadratic classical construction time; it counts neither the quantum experiment nor dense matrix construction.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P71
noncomputable section
open MeasureTheory
open scoped Matrix ComplexConjugate ENNReal Matrix.Norms.Elementwise
namespace QAlgorithms.Papers.Independent.Intakethird100.P71
attribute [local instance] Classical.propDecidable
local notation "Config" n:max d:max =>
QAlgorithms.Papers.Independent.Information100.P21.Config (P := Fin n) (fun _ => d)
local notation "Op" n:max d:max =>
QAlgorithms.Papers.Independent.Information100.P21.Op (Config n d)
attribute [local instance] QAlgorithms.Papers.Independent.Intakethird100.P71.matrixContinuousENorm
local notation "Unitary" n:max d:max => Matrix.unitaryGroup (Config n d) ℂ
local notation "Local" n:max d:max => Fin n → Matrix.unitaryGroup (Fin d) ℂ
open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)
/-- PDF pp.20–21 Proposition I, Eqs.(C2)–(C7): exact bond-one factors for all
pure stabilizer snapshots, including a zero coefficient vector. The uniform
classical RAM program is quantified before N and the tableau. Its output is
one signed scalar plus 2N tensor entries; quadratic time includes scalar
computation on the full signed dual simulation tableau, and tensor writes.
The RAM uses the frozen elementary indexed/bit-operation semantics. -/
theorem stabilizerPauli_bondOne :
(∀ (n : ℕ) (T : QAlgorithms.Stabilizer.Tableau n),
QAlgorithms.Stabilizer.IsValidTableau T →
∀ O : QAlgorithms.Stabilizer.PauliString n, (O.phase = 0 ∨ O.phase = 2) →
∀ A : Finset (Fin n),
(O.toMatrix * reducedSnapshot A (QAlgorithms.Stabilizer.tableauProjector T)).trace =
(O.toMatrix * QAlgorithms.Stabilizer.tableauProjector T).trace *
∏ i, pauliFactor O i (decide (i ∈ A))) ∧
∃ (P : QAlgorithms.ExpanderCodes.DecoderImplementation) (C : ℕ), 0 < C ∧
∀ (n : ℕ) (T D : QAlgorithms.Stabilizer.Tableau n), DualTableau T D →
∀ O : QAlgorithms.Stabilizer.PauliString n, (O.phase = 0 ∨ O.phase = 2) →
∃ t : ℕ, t ≤ C*(n+1)^2 ∧
(QAlgorithms.ExpanderCodes.decoderExecution P (tableauInput T D O) t).halted = some true ∧
(QAlgorithms.ExpanderCodes.decoderExecution P (tableauInput T D O) t).output = tableauRecord T O ∧
(∀ u ≤ t, ∀ i : ℕ,
(QAlgorithms.ExpanderCodes.decoderExecution P (tableauInput T D O) u).memory i ≤ C*(n+1)^2) ∧
(O.toMatrix * QAlgorithms.Stabilizer.tableauProjector T).trace ∈ ({0,1,-1} : Set ℂ) := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P71
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For an -qubit Pauli string , write , where represents its phase in , and , with , , and . For a tableau , put , in increasing index order. Call valid when every row phase is or , all row matrices commute, no row matrix is times the increasing-order product of any subset of the other rows for any , and no increasing-order subset product of row matrices equals . The first assertion is that, for every natural , every valid , every Pauli string of phase or , and every subset ,
Here when the bit strings agree on , and otherwise; ranges over bit strings on . The second assertion is that there exist one finite word-machine program and one natural constant with the following uniform property. For every natural , every pair of valid tableaux satisfying
and every Pauli string of phase or , there is a natural time at which has halted successfully and its output is the following list: first if , if , and otherwise, followed for each site in increasing order by if and by otherwise. Every memory cell at every natural time contains a natural number at most , and . The machine input is the natural-number list beginning with , followed by the bit encodings of all rows of , then all rows of , then : each row or string is encoded by its two phase bits , followed by the two-bit codes , , , for its factors in site order, with bits represented by . Execution starts at instruction , with the input in consecutive memory cells and all remaining cells , allocated count equal to input length, empty output, no halt status, and step count . A nonhalted transition increments the instruction counter and step count before executing an instruction; instructions can set constants, load or store indirectly, perform natural addition, truncated subtraction, multiplication, division, or bitwise exclusive-or, branch according to a comparison , jump, increase the allocated count, append a memory value to the output, or halt with a Boolean success status. Division by zero or an absent instruction halts unsuccessfully; halted states remain fixed. Both assertions include , with empty matrix products interpreted as identities.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.