Polynomial time
A running-time bound that grows no faster than a fixed power of the input length. It is a central theoretical notion of efficient computation, though it does not guarantee practical speed.
On this page
Plain-language explanation
The input length matters: an integer N has roughly log2(N) bits, so a procedure polynomial in N may be exponential in the number of bits used to write it. Polynomial algorithms can also have large exponents or constants. Quantum complexity classes use a comparable scaling idea with a specified success probability and uniform construction of circuits.
This is necessary for understanding Shor's theoretical achievement. It also gives beginners a precise way to read efficient without assuming a calculation will finish quickly on a real device.
Example
A factoring method polynomial in the number of input bits has fundamentally different scaling from trying a number of candidates proportional to the integer itself. For a 100-bit number, the numerical value can be enormous even though its written input is only 100 bits long.
Scope and limits
Polynomial is a theoretical classification, not a promise of affordability. A tenth-power algorithm or a large constant can make feasible inputs expensive.
Exponential scaling is a related idea. Polynomial growth uses a fixed exponent on the input length. Exponential growth places the input length in the exponent, producing much faster eventual growth.
Sources
Verification scope
Recorded source check ·
Algorithms, complexity, simulation and mathematical background
Version observed dated August 27, 2026; educational synthesis, not experimental performance evidence.
Verification scope
Recorded source check ·
Theoretical factoring and discrete-logarithm algorithms and their scaling
Expanded preprint of the 1994 result; no claim about contemporary cryptographic-scale execution.