mqt.core.bench.grover¶
Grover benchmark instances and options.
Module Contents¶
- class Options(*, marked_bitstring: str, iterations: int | None = None)¶
Parameters for a Grover benchmark.
- class Grover(options: Options)¶
A validated single-solution Grover benchmark.
- evaluate(counts: Mapping[str, int]) Evaluation¶
Compare sampled counts with the ideal distribution.