Geometric series: for
ProvedShorWiki.sum_omega_pow_mul_eq_zeroquantum-computingshor-algorithm
Let be a positive integer, , and . Then
This is the cancellation used to show that the uniform superposition of the eigenstates collapses to the single basis state .
Preamble
import Mathlib import Definitions.Def_ShorWiki_Defs open Matrix Kronecker
Formal statement
namespace ShorWiki
theorem sum_omega_pow_mul_eq_zero (r k : ℕ) (hk : 1 ≤ k) (hkr : k ≤ r - 1) :
∑ j ∈ Finset.range r, omega r ^ (j * k) = 0 := by sorry
end ShorWiki
Source
Wikipedia, "Shor's algorithm", revision oldid=1378862216, https://en.wikipedia.org/w/index.php?title=Shor%27s_algorithm&oldid=1378862216, section "Quantum phase estimation" (PDF p. 5)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.