Skip to main content
KetQat

Appearance

Algorithm family

Grover search

Unstructured search of N=2^n items with a single marked state: the optimal iteration count grows as (pi/4)sqrt(N) and the success probability at that count approaches certainty. The registry's reference run measures success probability across n = 2..6.

Assumptions and execution semantics

The registry implementation draws shots from Grover's ANALYTIC success probability -- it is a modelled result, not a circuit execution, and every run records that. Circuit depth and gate counts are formula-derived for the standard construction. One marked state (all-ones); no noise model.

Implementations

Implementations of Grover search with engine, method, backend, abstraction level and execution semantics
EngineMethodBackendAbstraction levelSemantics
ketqat-runnershot-basedanalytic success-probability modelalgorithmic (no gate-level compilation)
MODELLED

Modelled — values follow from an analytic formula, no circuit was executed

shots are Bernoulli draws from sin^2((2k+1) asin(2^{-n/2})) at the exact optimal k; ketqat-sdk#228 fixed k at n=2

Problem and sizes

Instance types
marked-state-search
Size axis
qubit_count (n; N = 2^n items)
Sizes measured
n = 2
n = 3
n = 4
n = 5
n = 6
Parameters
marked_state, shots, seed

Suites and runs

Benchmark suites

Hash-verified runs

Quality and resources across size

One row per measured point; every row traces to its run. Semantics per the implementation table — nothing here mixes modelled and simulated values in one aggregate.

Per-size measurements for Grover search: success probability, depth, gates, runtime, with source runs
nSuccess probabilityDepthGates (2q)Runtime (s)Run
21.00000036 (1)0.0000grover-search-reference
30.940918515 (4)0.0000grover-search-reference
40.952881728 (9)0.0000grover-search-reference
50.999756945 (16)0.0000grover-search-reference
60.9978031378 (30)0.0000grover-search-reference

These points come from one reference sweep. One entrant is not a comparison; this table shows scaling, it ranks nothing.

References

  • Grover, A fast quantum mechanical algorithm for database searcharXiv:quant-ph/9605043
  • Boyer, Brassard, Hoyer, Tapp, Tight bounds on quantum searchingarXiv:quant-ph/9605034

Next action

Add a gate-level simulated implementation so the modelled curve can be checked against an executed circuit, and record conversion loss between the two abstraction levels.