How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Separate Shor factoring bit, gate, and query costs
Statement
Let , , and let be a reduced rational encoded in binary, with the bit length of . Let be the attempt cap in Shor factoring with verified output and bounded outer retries, and put . For the arithmetic, control, sampler and post-processing work after the declared circuits are supplied, under the explicit reversible-arithmetic branch and ideal exact-angle QFT branch of Shor factoring cost-accounting branches, the procedure uses
- quantum gates;
- controlled modular-multiplier calls and zero external black-box queries;
- expected classical bit operations, including sampler bits and exact computation of .
For the same order-finding control flow with only bare controlled access to , one phase-estimation sample costs controlled- queries, so the outer algorithm uses such queries. No polynomial-in- query bound, finite-alphabet compilation, uniform-family gate claim, or circuit-description generation-time bound is asserted.
Facts & Assumptions
Given: The algorithm Shor factoring with verified output and bounded outer retries on binary input , with its declared outer cap and phase width .
For , , and internal failure target , the order finder uses independent samples. Its cost theorem gives controlled modular-multiplier calls, gates and classical bit transitions in the explicit-arithmetic/ideal-QFT model; with bare controlled- access, one sample costs queries (Modular order finding with rational reconstruction, Separate order-finding query, gate, and bit costs).
A known controlled modular multiplication uses gates, and the repeated-squaring constants and inverses can be computed in classical bit transitions (Gate and bit cost of modular multiplication and powering).
The ideal exact-angle inverse QFT has gates, while the named cost convention keeps this ideal count separate from the explicit arithmetic circuits, multiplier calls, bare-unitary queries and classical bit operations; it asserts no finite gate alphabet or uniform family (Shor factoring cost-accounting branches).
The even/perfect-power preprocessing takes schoolbook bit operations (Even and perfect-power preprocessing returns a proper factor).
For , one rejection-sampler call halts almost surely, returns a uniform element of , and uses at most expected random bits and expected total bit transitions (Rejection sampling is uniform, almost surely terminating, and has expected linear bit cost).
Classical bit cost counts machine transitions, including random-bit generation, arithmetic, comparisons, preprocessing and output writing (Classical bit-operation cost).
The resource model records gate occurrences, work wires, oracle queries, description length, generator time, and classical bit costs as distinct coordinates; separate theorems must establish each bound (Circuit-family and computation cost model).
Proof
The Shor algorithm fixes , so [F1] gives multiplier calls, gates and classical bit transitions for each order-finding invocation. There are at most such invocations, so their totals are calls, gates and bit transitions. The definition of gives because is a positive constant.
In the bare controlled- branch, one phase sample applies controlled powers for . Repeating the bare call times implements the th power, so one sample uses queries. For fixed , [F1] gives samples per order call. At most calls therefore use queries.
The perfect-power check costs by [F4]. Each order call costs classical bit transitions by [F1]. The outer verification adds at most transitions per attempt: binary modular exponentiation uses products of -bit integers. Schoolbook multiplication takes transitions, and binary long division has at most quotient positions, each requiring an -bit comparison/subtraction, so product remainders also take transitions. The Euclidean gcd algorithm has remainder steps because in each pair of successive divisions the positive remainder at least halves; each division takes transitions by the same long-division count. Divisor comparisons and remainder checks fit this bound. By [F5], each sampler call uses expected total transitions. Thus all these per-attempt work is in total.
The exact cap is computed by increasing until . Since and , ; also . Hence . Throughout this loop, the exact powers have bits, and each of at most multiply/compare iterations costs schoolbook bit transitions. Computing therefore costs .
In the explicit-arithmetic branch, each multiplier call is charged to the supplied reversible circuit; it is not a black-box query. [F2] supplies its gate count and [F3] supplies the separate ideal QFT count. The resulting gate count is the bound in step 1.1; the distinct coordinates are those of [F7].
Combining steps 1.3 and 1.4 gives expected classical bit operations.
Remarks
The current cost-model definition and the QA08 arithmetic and order-finding cost theorems provide the stated separate resource coordinates. The supplied-circuit and ideal-QFT conventions above determine which bounds are asserted; they provide no circuit-description generation-time bound.
Depends on
- Shor factoring with verified output and bounded outer retries
- Separate order-finding query, gate, and bit costs
- Gate and bit cost of modular multiplication and powering
- Shor factoring cost-accounting branches
- Even and perfect-power preprocessing returns a proper factor
- Rejection sampling is uniform, almost surely terminating, and has expected linear bit cost
- The Axiom of Countable Choice ($\mathrm{AC}_\omega$)
- The axiom of dependent choice: a relation in which every element is related to something admits an $\mathbb{N}$-indexed chain
- Classical bit-operation cost
- Circuit-family and computation cost model
- Modular order finding with rational reconstruction
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
68 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (standard reference, not scraped)
- Ronald de Wolf, Quantum Computing: Lecture Notes (standard reference, not scraped)