After continued-fraction recovery in quantum order finding, an even candidate denominator can be used to try the displayed greatest common divisors. Return only a divisor strictly between one and . If is the true even multiplicative order with a nontrivial halfway power, success follows from factor extraction from an even modular order. A candidate that is not a period can occasionally still yield a factor; testing before the gcds therefore changes single-run success probabilities. The output-factor check guarantees correctness in either convention.
Chinese remainder theorem Created 2026-09-24 Updated 2026-09-24
For pairwise coprime positive integers , reduction induces a ring isomorphism
Equivalently, every list of residue classes modulo the has a unique simultaneous residue class modulo their product.
Coprime polynomials 2026-10-06
Two polynomials over a field are coprime if their only common factors are nonzero constants. Equivalently, their greatest common divisor is a unit in the polynomial ring. In one variable this is equivalent to a Bezout identity with polynomial coefficients. Independent members of a pencil spanned by coprime polynomials are themselves coprime.
A nonzero finitely generated subgroup of the additive rational numbers is an infinite cyclic group. Put the generators over a common positive denominator. Their integer numerators generate the ideal given by their greatest common divisor, and Bezout identity expresses that divisor as an integer combination of them. Dividing back by the denominator gives a single generator.
Fourier sample 2026-10-07
A Fourier sample is a computational-basis measurement outcome after applying a quantum Fourier transform to a quantum state . Its distribution is given by the squared Fourier amplitudes. For a uniform periodic coset of spacing , samples are the multiples with uniform . Samples need not individually reveal the whole period: a greatest common divisor can remove factors from a single reduced denominator, motivating two-sample exact period recovery.
Number theory Created 2026-09-24 Updated 2026-09-24