Documentation

CslibFrontier.Computability.Circuit.Frontier.Quantum

Frontier lower bounds for quantum circuits #

Building on the active-qubit wire-segment tensor network compiler (Cslib.Circuits.Frontier.CompiledQuantumNet in CslibFrontier.Computability.Circuit.Frontier.Quantum.WireNetwork), this module establishes four families of unconditional quantum two-qubit gate lower bounds over Cslib.Quantum.Circuit N (allowing unlimited ancillas N and unlimited free single-qubit U(2) gates):

  1. BQP correlation decay and bounded-error decision (eventually_abs_quantumCorrelation_hardForm_le_of_layoutBound, eventually_abs_quantumCorrelation_hardForm_le_switched, eventually_lt_twoQubitCount_bqp_hardForm_switched). Correlation of single-qubit measurement acceptance probability with the nonconstructively chosen bilinear form hardForm n decays as 2 ^ (-γ n) below (1 + π / (6 arccos (5 / 6)) - ε) n ≈ 1.893993 n bond-rank-two gates (CNOT, CZ, Gate.controlled V) and (7 / 4 - ε) n general U(4) gates via layoutBound_four_one_third (A₄ = 1 / 3).
  2. UQP unbounded-error sign-rank (eventually_lt_twoQubitCount_uqp_hardForm_of_layoutBound, eventually_lt_twoQubitCount_uqp_hardForm_switched). Deciding hardForm n with strict threshold θ (θ < prob x ↔ hardForm n x, with arbitrarily small margin) requires more than (1 + π / (12 arccos (5 / 6)) - ε) n ≈ 1.446996 n bond-rank-two gates and (11 / 8 - ε) n general U(4) gates.
  3. Quadratic phase-state preparation fidelity decay (eventually_fidelity_phaseState_hardMatrix_le_of_layoutBound, eventually_fidelity_phaseState_hardMatrix_le_switched). Squared overlap ‖⟪ψ_{hardMatrix n}, C |x₀⟩⟫‖² with the n-qubit computational-basis phase state of the nonconstructively chosen hardMatrix n decays as 2 ^ (-γ n) below (1 + π / (3 arccos (5 / 6)) - ε) n ≈ 2.787986 n bond-rank-two gates and (5 / 2 - ε) n general U(4) gates.
  4. Reversible and quantum 𝔽₂ linear synthesis (eventually_lt_twoQubitCount_linear_of_layoutBound, eventually_lt_twoQubitCount_linear_switched). Coherently computing the nonconstructively chosen invertible submatrix-robust linear bijection boolMulVec (robustBijectiveMatrix n) requires more than (1 + 2π / (3 arccos (5 / 6)) - ε) n ≈ 4.575972 n bond-rank-two gates and (4 - ε) n general U(4) gates, with clean ancillas restored exactly.

The active-qubit wire-segment tensor network compiler and the four quantum frontier lower-bound families developed here and in CslibFrontier.Computability.Circuit.Frontier.Quantum.WireNetwork are original to this library.

Main definitions #

Main results #

References #

Chosen family of invertible submatrix-robust linear maps over 𝔽₂ #

Nonconstructively chosen family of invertible submatrix-robust n × n matrices over 𝔽₂.

boolMulVec (robustBijectiveMatrix n) is a bijection of Fin n → Bool (hence a genuine classical reversible n-qubit gate via Quantum.Gate.ofPerm).

Shared closed-set bisection supply-demand and asymptotic helpers #

1. BQP single-qubit measurement correlation decay (1.893993 n / 1.75 n) #

theorem Cslib.Circuits.Frontier.eventually_abs_quantumCorrelation_hardForm_le_of_layoutBound {d : ℕ} (hd : d = 3 ∨ d = 4) {A : ℝ} (hA : 0 < A) (hlayout : LayoutBound d A) {ε : ℝ} (hε : 0 < ε) :
∃ (γ : ℝ), 0 < γ ∧ ∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), (if d = 3 then AllBondRankTwo C else TwoLocal C) → ↑(twoQubitCount C) ≤ (1 + 1 / (4 * A) - ε) * ↑n → |quantumCorrelation {x : Fin n → Bool | hardForm n x = true} (quantumAcceptProb C q_out e x₀)| ≤ 2 ^ (-γ * ↑n)

BQP correlation decay with hardForm n under LayoutBound d A (d ∈ {3, 4}). For any ε > 0, there is γ > 0 such that for all large n, every quantum circuit C on ANY number of qubits N (with unlimited ancillas and unlimited 0/1-qubit U(2) gates) whose two-qubit gates have degree model d (AllBondRankTwo C for d = 3, or TwoLocal C for d = 4) and satisfy twoQubitCount C ≤ (1 + 1 / (4 A) - ε) n has single-qubit measurement correlation at most 2 ^ (-γ n) with the nonconstructively chosen bilinear form hardForm n (selected via Classical.choose).

theorem Cslib.Circuits.Frontier.eventually_abs_quantumCorrelation_hardForm_le_switched {ε : ℝ} (hε : 0 < ε) :
∃ (γ : ℝ), 0 < γ ∧ ∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), AllBondRankTwo C → ↑(twoQubitCount C) ≤ (1 + Real.pi / (6 * Real.arccos (5 / 6)) - ε) * ↑n → |quantumCorrelation {x : Fin n → Bool | hardForm n x = true} (quantumAcceptProb C q_out e x₀)| ≤ 2 ^ (-γ * ↑n)

Median-switched BQP correlation decay (1.893993 n). Below (1 + π / (6 arccos (5 / 6)) - ε) n ≈ 1.893993 n bond-rank-two two-qubit gates (with unlimited ancillas N and unlimited single-qubit U(2) gates), single-qubit measurement correlation with hardForm n decays exponentially as 2 ^ (-γ n).

theorem Cslib.Circuits.Frontier.eventually_abs_quantumCorrelation_hardForm_le_189399 {ε : ℝ} (hε : 0 < ε) :
∃ (γ : ℝ), 0 < γ ∧ ∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), AllBondRankTwo C → ↑(twoQubitCount C) ≤ (189399 / 100000 - ε) * ↑n → |quantumCorrelation {x : Fin n → Bool | hardForm n x = true} (quantumAcceptProb C q_out e x₀)| ≤ 2 ^ (-γ * ↑n)

Rational (1.89399 - ε) n BQP correlation decay with hardForm n.

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_bqp_hardForm_switched {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), AllBondRankTwo C → (∀ (x : Fin n → Bool), if hardForm n x = true then 2 / 3 ≤ quantumAcceptProb C q_out e x₀ x else quantumAcceptProb C q_out e x₀ x ≤ 1 / 3) → (1 + Real.pi / (6 * Real.arccos (5 / 6)) - ε) * ↑n < ↑(twoQubitCount C)

Bounded-error BQP decision lower bound (1.893993 n). Any bond-rank-two quantum circuit C deciding hardForm n with acceptance probability ≥ 2 / 3 on true inputs and ≤ 1 / 3 on false inputs requires more than (1 + π / (6 arccos (5 / 6)) - ε) n two-qubit gates.

theorem Cslib.Circuits.Frontier.eventually_abs_quantumCorrelation_hardForm_le_twoLocal {ε : ℝ} (hε : 0 < ε) :
∃ (γ : ℝ), 0 < γ ∧ ∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), TwoLocal C → ↑(twoQubitCount C) ≤ (7 / 4 - ε) * ↑n → |quantumCorrelation {x : Fin n → Bool | hardForm n x = true} (quantumAcceptProb C q_out e x₀)| ≤ 2 ^ (-γ * ↑n)

Unconditional general two-local U(4) BQP correlation decay below (7 / 4 - ε) n gates via layoutBound_four_one_third (A₄ = 1 / 3).

2. UQP unbounded-error sign-rank bounds (1.446996 n / 1.375 n) #

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_uqp_hardForm_of_layoutBound {d : ℕ} (hd : d = 3 ∨ d = 4) {A : ℝ} (hA : 0 < A) (hlayout : LayoutBound d A) {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (θ : ℝ) (C : Quantum.Circuit N), (if d = 3 then AllBondRankTwo C else TwoLocal C) → (∀ (x : Fin n → Bool), if hardForm n x = true then θ < quantumAcceptProb C q_out e x₀ x else quantumAcceptProb C q_out e x₀ x < θ) → (1 + 1 / (8 * A) - ε) * ↑n < ↑(twoQubitCount C)

UQP unbounded-error lower bound on hardForm n under LayoutBound d A (d ∈ {3, 4}). Every quantum circuit C deciding the nonconstructively chosen bilinear form hardForm n (selected via Classical.choose) with strict threshold θ (θ < prob x on true, prob x < θ on false, with arbitrarily small margin!) requires more than (1 + 1 / (8 A) - ε) n two-qubit gates.

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_uqp_hardForm_switched {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (θ : ℝ) (C : Quantum.Circuit N), AllBondRankTwo C → (∀ (x : Fin n → Bool), if hardForm n x = true then θ < quantumAcceptProb C q_out e x₀ x else quantumAcceptProb C q_out e x₀ x < θ) → (1 + Real.pi / (12 * Real.arccos (5 / 6)) - ε) * ↑n < ↑(twoQubitCount C)

Median-switched UQP unbounded-error lower bound (1.446996 n).

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_uqp_hardForm_144699 {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (θ : ℝ) (C : Quantum.Circuit N), AllBondRankTwo C → (∀ (x : Fin n → Bool), if hardForm n x = true then θ < quantumAcceptProb C q_out e x₀ x else quantumAcceptProb C q_out e x₀ x < θ) → (144699 / 100000 - ε) * ↑n < ↑(twoQubitCount C)

Rational (1.44699 - ε) n UQP unbounded-error lower bound on hardForm n.

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_uqp_hardForm_twoLocal {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (q_out : Fin N) (x₀ : Fin N → Bool) (θ : ℝ) (C : Quantum.Circuit N), TwoLocal C → (∀ (x : Fin n → Bool), if hardForm n x = true then θ < quantumAcceptProb C q_out e x₀ x else quantumAcceptProb C q_out e x₀ x < θ) → (11 / 8 - ε) * ↑n < ↑(twoQubitCount C)

Unconditional general two-local U(4) UQP lower bound (11 / 8 - ε) n via layoutBound_four_one_third (A₄ = 1 / 3).

3. Quadratic phase-state preparation fidelity decay (2.787986 n / 2.5 n) #

theorem Cslib.Circuits.Frontier.eventually_fidelity_phaseState_hardMatrix_le_of_layoutBound {d : ℕ} (hd : d = 3 ∨ d = 4) {A : ℝ} (hA : 0 < A) (hlayout : LayoutBound d A) {ε : ℝ} (hε : 0 < ε) :
∃ (γ : ℝ), 0 < γ ∧ ∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), (if d = 3 then AllBondRankTwo C else TwoLocal C) → ↑(twoQubitCount C) ≤ (1 + 1 / (2 * A) - ε) * ↑n → ‖inner ℂ (phaseState (hardMatrix n) e x₀) (C.run x₀)‖ ^ 2 ≤ 2 ^ (-γ * ↑n)

Quadratic phase-state preparation fidelity decay under LayoutBound d A (d ∈ {3, 4}). Below (1 + 1 / (2 A) - ε) n two-qubit gates (with unlimited ancillas N and unlimited single-qubit U(2) gates), the squared fidelity ‖inner ℂ (phaseState (hardMatrix n) e x₀) (C.run x₀)‖ ^ 2 against the phase state of the nonconstructively chosen matrix hardMatrix n (selected via Classical.choose) decays exponentially as 2 ^ (-γ n).

theorem Cslib.Circuits.Frontier.eventually_fidelity_phaseState_hardMatrix_le_switched {ε : ℝ} (hε : 0 < ε) :
∃ (γ : ℝ), 0 < γ ∧ ∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), AllBondRankTwo C → ↑(twoQubitCount C) ≤ (1 + Real.pi / (3 * Real.arccos (5 / 6)) - ε) * ↑n → ‖inner ℂ (phaseState (hardMatrix n) e x₀) (C.run x₀)‖ ^ 2 ≤ 2 ^ (-γ * ↑n)

Median-switched quadratic phase-state preparation fidelity decay (2.787986 n).

theorem Cslib.Circuits.Frontier.eventually_fidelity_phaseState_hardMatrix_le_278798 {ε : ℝ} (hε : 0 < ε) :
∃ (γ : ℝ), 0 < γ ∧ ∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), AllBondRankTwo C → ↑(twoQubitCount C) ≤ (278798 / 100000 - ε) * ↑n → ‖inner ℂ (phaseState (hardMatrix n) e x₀) (C.run x₀)‖ ^ 2 ≤ 2 ^ (-γ * ↑n)

Rational (2.78798 - ε) n phase-state preparation fidelity decay.

theorem Cslib.Circuits.Frontier.eventually_fidelity_phaseState_hardMatrix_le_twoLocal {ε : ℝ} (hε : 0 < ε) :
∃ (γ : ℝ), 0 < γ ∧ ∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), TwoLocal C → ↑(twoQubitCount C) ≤ (5 / 2 - ε) * ↑n → ‖inner ℂ (phaseState (hardMatrix n) e x₀) (C.run x₀)‖ ^ 2 ≤ 2 ^ (-γ * ↑n)

Unconditional general two-local U(4) phase-state fidelity decay below (5 / 2 - ε) n gates via layoutBound_four_one_third (A₄ = 1 / 3).

4. Reversible and quantum linear synthesis (4.575972 n / 4 n) #

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_linear_of_layoutBound {d : ℕ} (hd : d = 3 ∨ d = 4) {A : ℝ} (hA : 0 < A) (hlayout : LayoutBound d A) {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), (if d = 3 then AllBondRankTwo C else TwoLocal C) → (∀ (x : Fin n → Bool), C.run (Quantum.glue e x x₀) = Quantum.ket (Quantum.glue e (boolMulVec (robustBijectiveMatrix n) x) x₀)) → (1 + 1 / A - ε) * ↑n < ↑(twoQubitCount C)

Reversible and quantum linear synthesis lower bound under LayoutBound d A (d ∈ {3, 4}). Every quantum circuit C on ANY number of qubits N (with unlimited clean ancillas restored to x₀ and unlimited single-qubit U(2) gates) computing the nonconstructively chosen invertible linear bijection boolMulVec (robustBijectiveMatrix n) (selected via Classical.choose) on e : Fin n ↪ Fin N requires more than (1 + 1 / A - ε) n two-qubit gates.

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_linear_switched {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), AllBondRankTwo C → (∀ (x : Fin n → Bool), C.run (Quantum.glue e x x₀) = Quantum.ket (Quantum.glue e (boolMulVec (robustBijectiveMatrix n) x) x₀)) → (1 + 2 * Real.pi / (3 * Real.arccos (5 / 6)) - ε) * ↑n < ↑(twoQubitCount C)

Median-switched reversible and quantum linear synthesis lower bound (4.575972 n). Synthesizing boolMulVec (robustBijectiveMatrix n) using bond-rank-two two-qubit gates (CNOT, CZ, Gate.controlled V) plus arbitrary free single-qubit U(2) gates and clean ancillas requires more than (1 + 2π / (3 arccos (5 / 6)) - ε) n ≈ 4.575972 n two-qubit gates.

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_linear_457597 {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), AllBondRankTwo C → (∀ (x : Fin n → Bool), C.run (Quantum.glue e x x₀) = Quantum.ket (Quantum.glue e (boolMulVec (robustBijectiveMatrix n) x) x₀)) → (457597 / 100000 - ε) * ↑n < ↑(twoQubitCount C)

Rational (4.57597 - ε) n reversible and quantum linear synthesis lower bound.

theorem Cslib.Circuits.Frontier.eventually_lt_twoQubitCount_linear_twoLocal {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (N : ℕ) (e : Fin n ↪ Fin N) (x₀ : Fin N → Bool) (C : Quantum.Circuit N), TwoLocal C → (∀ (x : Fin n → Bool), C.run (Quantum.glue e x x₀) = Quantum.ket (Quantum.glue e (boolMulVec (robustBijectiveMatrix n) x) x₀)) → (4 - ε) * ↑n < ↑(twoQubitCount C)

Unconditional general two-local U(4) linear synthesis lower bound (4 - ε) n via layoutBound_four_one_third (A₄ = 1 / 3), with clean ancillas restored exactly.