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. :param iqm_jobs: The list of IQMJob objects. :type iqm_jobs: List[IQMJob] :param identifier: a string identifying the job. :type identifier: Optional[str]

Returns:

The counts of all the IQMJob objects.

Return type:

List[Dict[str, int]]

Parameters:
  • iqm_jobs (List[IQMJob]) –

  • identifier (str | None) –