The initial ket is close to :
ProvedGroverWiki.perpState_inner_uniformStategrover-algorithmquantum-computingquantum-search
Let , let , let and . Then
Equivalently, the angle between and satisfies , i.e. : the initial state is close to the state orthogonal to .
Preamble
import Mathlib import Definitions.Def_GroverWiki_Defs open Matrix
Formal statement
namespace GroverWiki
/-- The initial ket is close to `|s'⟩`: `⟨s'|s⟩ = √((N-1)/N)`. -/
theorem perpState_inner_uniformState {N : ℕ} (hN : 2 ≤ N) (ω : Fin N) :
star (perpState ω) ⬝ᵥ uniformState N = (Real.sqrt (((N : ℝ) - 1) / N) : ℂ) := by sorry
end GroverWiki
Source
Wikipedia, "Grover's algorithm", revision oldid=1373498442, https://en.wikipedia.org/w/index.php?title=Grover%27s_algorithm&oldid=1373498442, section "Geometric proof" (PDF p. 5)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.