mqt.core.bench.ghz¶
GHZ benchmark instances and options.
Module Contents¶
- class Options(*, qubits: int, topology: Topology = Topology.LINEAR, basis: Basis = Basis.Z)¶
Parameters for a GHZ benchmark.
- class GHZ(options: Options)¶
A validated GHZ benchmark.
- evaluate(counts: Mapping[str, int]) Evaluation¶
Compare sampled counts with the ideal distribution.