iqm.benchmarks.utils.retrieve_all_counts

iqm.benchmarks.utils.retrieve_all_counts#

iqm.benchmarks.utils.retrieve_all_counts(iqm_jobs: list[IQMJob], identifier: str | None = None) list[dict[str, int]]#

Retrieve the counts from a list of IQMJob objects.

Parameters:
  • iqm_jobs (list[IQMJob]) – The list of IQMJob objects.

  • identifier (str | None) – a string identifying the job.

Returns:

The counts of all the IQMJob objects.

Return type:

list[dict[str, int]]