Documentation

CslibFrontier.Crypto.Game.Quantum

Concrete game bounds for native uniform quantum oracle circuits #

The existing resource-indexed game API applies to uniform quantum oracle-circuit families with separate qubit, elementary-gate, query and exact encoded-description budgets. Native generation supplies polynomial schedules for all classical input lengths up to a polynomial bound. A concrete error negligible along every componentwise polynomial schedule therefore gives asymptotic indistinguishability for every such family. This is an instance of the existing concrete-to-asymptotic theorem, not a new game or advantage notion.

The games remain parameters. A caller must show that its experiment executes the supplied family on input lengths within the declared bound and establishes the concrete security premise. These bridges do not add quantum-advice quantifiers, sample a random oracle or certify interactive QROM security. They are original infrastructure; no protocol security result is asserted here.

Main definitions #

Main results #

Every generated circuit for a classical input of length at most inputLength n respects the four budgets. The description coordinate is the exact length of encOracleCircuitDescription. The experiment using the family must separately respect this input-length bound. Static generator code and offline generation time/workspace are not part of these online circuit budgets.

theorem Cslib.Crypto.Game.Indistinguishable.of_uniformOracleCircuits {inputLength : ℕ → ℕ} (hinput : PolynomiallyBounded inputLength) {game₁ game₂ : Quantum.UniformOracleCircuitFamily → ℕ → Game} {ε : ℕ → Quantum.OracleCircuit.Resources → NNReal} (h : IndistinguishableWithin game₁ game₂ (WithinOracleCircuits inputLength) ε) (hneg : ∀ (qubits gates queries descriptionBits : ℕ → ℕ), PolynomiallyBounded qubits → PolynomiallyBounded gates → PolynomiallyBounded queries → PolynomiallyBounded descriptionBits → Negligible fun (n : ℕ) => ε n { qubits := qubits n, gates := gates n, queries := queries n, descriptionBits := descriptionBits n }) :

Concrete bounds negligible for every polynomial qubit, gate, query and generated-description schedule yield asymptotic indistinguishability for all native uniform families. Auxiliary lengths may be bounded by any polynomially bounded function; that bound need not itself be computable.

theorem Cslib.Crypto.Game.Indistinguishable.of_succ_uniformOracleCircuits {inputLength : ℕ → ℕ} (hinput : PolynomiallyBounded inputLength) {game : Quantum.UniformOracleCircuitFamily → ℕ → Game} {ε : ℕ → Quantum.OracleCircuit.Resources → NNReal} (h : SuccWithin game (WithinOracleCircuits inputLength) ε) (hneg : ∀ (qubits gates queries descriptionBits : ℕ → ℕ), PolynomiallyBounded qubits → PolynomiallyBounded gates → PolynomiallyBounded queries → PolynomiallyBounded descriptionBits → Negligible fun (n : ℕ) => ε n { qubits := qubits n, gates := gates n, queries := queries n, descriptionBits := descriptionBits n }) :

A concrete success bound along independent polynomial resource schedules yields asymptotic indistinguishability from failure, using the existing success/advantage equivalence.