is the reflection through
ProvedGroverWiki.diffusion_reflectiongrover-algorithmquantum-computingquantum-search
Let and . Then is the reflection through :
- ;
- for every with .
Together with the oracle's reflection property, this is what keeps the state of Grover's algorithm in a two-dimensional plane.
Preamble
import Mathlib import Definitions.Def_GroverWiki_Defs open Matrix
Formal statement
namespace GroverWiki
/-- `U_s = 2|s⟩⟨s| - I` is the reflection through `|s⟩`: it fixes `|s⟩` and negates every
vector orthogonal to `|s⟩`. -/
theorem diffusion_reflection (N : ℕ) :
diffusion N *ᵥ uniformState N = uniformState N ∧
∀ v : Fin N → ℂ, star (uniformState N) ⬝ᵥ v = 0 → diffusion N *ᵥ v = -v := 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. 4)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.