Pair encoding yields a range-three simulation
OpenQAlgorithms.Papers.Independent.Intakethird100.P77.pairEncoding_rangeThreeLet be an effectively uniform circuit family in nearest-neighbour controlled-/one-qubit normal form, with positive logical width and first-wire output. Encode as and as , extending the encoding linearly. A target family of allowable matchgates on two physical wires per logical wire can be fixed before the quantum input so that, for an absolute ,
The probability equality holds for every normalized logical input and both output values . Effective descriptions of target structure and gate entries are included. This is an upper bound from the alternative construction; it asserts no minimality of range three.
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.6 closing remark: the alternative two-wire encoding admits a uniform
range-three upper bound and constant gate overhead. No minimality of range
three is asserted. The first physical line is the logical output line. -/
theorem pairEncoding_rangeThree :
∃ C : ℕ, 0 < C ∧ ∀ F : SourceFamily, F.Effective →
(∀ s, 0 < F.width s) →
∃ G : (s : Str) → List (ParityApp (2 * F.width s)),
(ParityFamily.mk (fun s => 2 * F.width s) G).Effective ∧
(∀ s g, g ∈ G s → g.Allowable) ∧
(∀ s, RangeBound 3 (G s) ∧ (G s).length ≤ C * (F.gates s).length) ∧
∀ s (k : Fin (F.width s)), k.val = 0 →
∀ (q : Fin (2 * F.width s)), q.val = 0 →
∀ psi : EuclideanSpace ℂ (Qubits (F.width s)), IsState psi →
∀ b, singleWireProbability (parityCircuit (G s)).unitary
(encodeState encodeTwoBits psi) q b =
singleWireProbability (sourceCircuit (F.gates s)).unitary psi k b := by sorry
end QAlgorithms.Papers.Independent.Intakethird100.P77
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There exists a positive natural number such that every effective source family with positive width for every finite Boolean string admits a family of ordered gate lists on wires satisfying the following conditions. Source gates are arbitrary one-qubit unitaries on specified wires or controlled- gates on specified wires satisfying . Here effectiveness uses the following encoding: is true bits, and concatenates , a false bit, and for each . The source code must be polynomial-time computable, where a one-qubit description is and a controlled- description is . The numerical list records each one-qubit matrix’s entries in order and no entries for controlled-; a polynomial-time function on must approximate the real part of data entry for false and its imaginary part for true , within for every valid and every . Its output represents a signed binary integer divided by , with a true initial bit denoting a negative sign and the tail giving the binary magnitude, with missing bits read as false. Each gate of specifies distinct target wires and two unitary matrices ; the local matrix entry from to is zero between different parities, is on even parity, and is on odd parity. Every target gate satisfies , its two wire indices differ by at most , and . The target code is polynomial-time computable, and its numerical list, comprising the four entries of each followed by the four entries of , has a polynomial-time approximation procedure with the same convention. For every , source wire with index , target wire with index , unit vector on length- bit strings, and Boolean ,
The operators apply their gate lists in listed order, each gate acting identically on untouched wires. Empty parameter strings and empty source gate lists are included; the length bound forces the target list to be empty when the source list is empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.