Exact finite adaptive FLO simulation by symbol recurrence
OpenQAlgorithms.Papers.Independent.Intake100.P22.flo_simulation_exactFix a finite number of fermionic modes. Let have Hermitian Majorana generators satisfying . The symbol map sends each ordered Majorana monomial linearly to the corresponding ordered Grassmann monomial; it is not multiplicative. Gaussian states, operators, and maps have the meanings of Definitions 1–3 of the paper. All maps act on the full complex operator algebra, including its odd sector.
Fix any finite adaptive FLO program. Each unitary step is specified by a real skew and its supplied rotation , acting quantumly by from Eq.(4); each occupation measurement has a separate finite continuation for its two outcomes. From an initial Gaussian density with covariance , initialize . At each unitary update by the kernel , and at each outcome update by Eq.(51). Record every intermediate symbol and every branch.
Let be the corresponding unnormalized quantum branch density and the computed symbol at the same tree node . Then
The traces are real. If , then . If , the normalized state is Gaussian and its symbol is . Consequently the terminal weights reproduce the complete outcome distribution and the symbols describe the state at every step. The fixed classical recurrence is independent of the input density apart from its initial covariance. This is a finite exact algebraic simulation statement; no bit encoding, accuracy parameter, or polynomial runtime bound is added.
For every node the operator is reconstructed as , where ranges over increasing-index supports and is the corresponding ordered Majorana monomial. For , its normalized covariance has diagonal zero and, for ,
Thus both the state and its covariance are explicit outputs of the finite recurrence.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P22
noncomputable section
open scoped BigOperators Matrix ComplexConjugate ComplexOrder
namespace QAlgorithms.Papers.Independent.Intake100.P22
open QAlgorithms.Papers.Independent.Advance50.P19
(CARSystem Major monomial wick totalFermionParity)
open QAlgorithms.Papers.Independent.Information100.P21 (Op)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.1-2,6,11-12: finite adaptive FLO simulation by the explicit symbol
recurrence, simultaneously at every intermediate node. Computed terminal
weights are exactly Born path probabilities and sum to one; impossible branches
have zero operator and are never normalized. No bit-runtime or polynomial
arithmetic-complexity bound is asserted by this finite exact statement. -/
theorem flo_simulation_exact {n : ℕ} (s : CARSystem n) (P : FLOProgram n)
(rho : Op (Qubits n)) (M : Matrix (Major n) (Major n) ℝ) (h : StateWith s rho M) :
let f := ((2 : ℂ) ^ n)⁻¹ • grassExp ((Complex.I / 2) •
grassQuadratic (M.map Complex.ofReal) (fun a => grassVar (2 * n) a.val))
let Q := quantumRun s P rho
let G := symbolicRun P f
treeMap (majoranaSymbol s) Q = G ∧
(treeLeaves Q).map (fun X => X.trace.re) = (treeLeaves G).map symbolWeight ∧
((treeLeaves G).map symbolWeight).sum = 1 ∧
(∀ w ∈ (treeLeaves G).map symbolWeight, 0 ≤ w) ∧
(∀ X ∈ treeValues Q, X = operatorFromSymbol s (majoranaSymbol s X) ∧
X.trace.im = 0 ∧ 0 ≤ X.trace.re ∧
(X.trace.re = 0 → X = 0) ∧
(0 < X.trace.re → FermionicGaussianState s (normalizeComplexTrace X) ∧
regularCorrelation s (normalizeComplexTrace X) = symbolCorrelation (majoranaSymbol s X) ∧
∀ A : Finset (Major n),
majoranaSymbol s (normalizeComplexTrace X) A = X.trace⁻¹ * majoranaSymbol s X A)) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P22
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , including , let , , and let be Hermitian complex matrices on satisfying . Define , , and , where . Exterior generators anticommute and square to zero; in generators write . Let be any finite recursively formed program whose nodes are a stop, a unitary step followed by another program, or a measurement of an index followed by two programs. Every unitary step supplies real matrices satisfying , , , and ; its matrix action is conjugation by
Measurement outcome acts by , where
Let have trace , and let be a real skew matrix such that
Construct a matrix-valued tree by running from : a stop records its current matrix, a unitary node records its matrix before conjugation and has the recursively updated child, and a measurement node records its current matrix and has the two recursively updated children. Construct a polynomial-valued tree with the same recording rules, starting from , using the following symbolic updates in three consecutively ordered blocks , each indexed by :
where , , and the bracket extracts the product of every generator in the last two blocks. Then replacing every recorded in by gives exactly . The ordered list of real traces of the leaves of equals the ordered list of weights of the leaves of ; these weights sum to , and each is nonnegative. For every matrix recorded anywhere in ,
If , then is a density matrix whose symbol is for some real skew matrix ; moreover, for every ,
and for every . Leaf lists visit the zero-outcome subtree before the one-outcome subtree; lists of all recorded values include each node before its descendants. Empty products equal ; for , measurement nodes cannot occur because there is no measurement index.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.