Nearest-neighbour matchgates admit strong classical simulation
OpenQAlgorithms.Papers.Independent.Intakethird100.P77.nearestNeighbour_strongSimulationLet a uniformly described circuit family consist of two-qubit parity-block gates , where are unitary and , placed only on adjacent wires of a fixed path. Let the input on each wire be an independently normalized one-qubit pure state. Circuit structure, gate entries, and input amplitudes have polynomial-time finite bit descriptions to requested precision. For every existing output wire and outcome , a single deterministic classical polynomial-time machine computes a dyadic such that
The machine is fixed before the instance description, wire, outcome and requested precision . Its time includes the description cost and precision. This is strong simulation of a single final measurement for arbitrary product inputs, including inputs without definite fermionic parity.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P77
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakethird100.P77
open QAlgorithms
open QAlgorithms.Complexity (Str)
open QAlgorithms.Papers.Independent.Advance50.P19 (Major CARSystem)
open QAlgorithms.Papers.Independent.Information100.P32 (Op)
open scoped BigOperators Matrix ComplexConjugate
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF p.2 Theorem 1, with the precision convention of p.3. Arbitrary
normalized product inputs are allowed. The common phase of an equal-determinant
matchgate is retained; the local Gaussian identification on p.11 requires the
phase correction recorded in HARD.md. -/
theorem nearestNeighbour_strongSimulation (F : ParityFamily)
(I : ProductInputs F.width) (hF : F.Effective)
(hI : EffectiveNumbers I.data)
(hmatch : ∀ s g, g ∈ F.gates s → g.Allowable)
(hpath : ∀ s, RangeBound 1 (F.gates s)) :
StrongSimulation F.width (fun s k b =>
singleWireProbability (parityCircuit (F.gates s)).unitary (prodState (I.factor s)) k b) ∧
(∀ s (k : Fin (F.width s)) b,
singleWireProbability (parityCircuit (F.gates s)).unitary (prodState (I.factor s)) k b =
(1 + (if b then -1 else 1) *
(outputExpectation (parityCircuit (F.gates s)).unitary
(prodState (I.factor s)) (zOperator k)).re) / 2) := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P77
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let assign to every finite Boolean string a natural width and a finite ordered list of applications, each containing unitary complex matrices and two distinct ordered wire indices. Let assign a unit-norm two-component complex vector to each wire . Assume that every application satisfies , and that the absolute difference between its two wire indices is at most . Assume also the following effectiveness conditions. Write for true bits and for the encoding that concatenates, for each constituent string , the prefix , a false bit, and . The structural string , where is the application count, must be computable exactly in polynomial time. For each of the two complex data lists—first, the entries of followed by those of , application by application; second, the false and true components of , wire by wire—there must be a polynomial-time string function which, on , approximates the indicated entry’s real component when is false or imaginary component when is true, to absolute error at most , for every valid index and natural precision . Here an output string is interpreted as a signed binary integer divided by , with its first bit indicating a negative sign when true and its remaining bits giving the binary magnitude; missing bits contribute zero. Define the input vector by . An application acts on its ordered pair of wires by the matrix whose entry is zero if , and otherwise is for odd parity and for even parity; embedding it on all wires gives zero between strings that differ outside the selected pair. Let be the product of these embedded matrices in reverse list order, so the first listed application acts first. Then there exists a polynomial-time computable string function such that, for every , natural , wire , and Boolean , the signed dyadic value of approximates
to absolute error at most . Moreover, for every such ,
where is diagonal with entry on strings whose -th bit is false and on strings whose -th bit is true, and the inner product conjugates its first argument. Empty application lists give the identity. Width zero is allowed, with an empty application list and an empty product defining ; all conclusions requiring a wire index are then vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.