iqm.benchmarks.utils.count_native_gates#
- iqm.benchmarks.utils.count_native_gates(backend_arg: str | IQMBackendBase, transpiled_qc_list: List[IQMCircuit]) Dict[str, Dict[str, float]] #
Count the number of IQM native gates of each quantum circuit in a list.
- Parameters:
backend_arg (str | IQMBackendBase) – The backend, either specified as str or as IQMBackendBase.
transpiled_qc_list (List[IQMCircuit]) – a list of quantum circuits transpiled to [‘r’,’cz’,’barrier’,’measure’] gate set.
- Returns:
- Dictionary with
outermost keys being native operations.
values being Dict[str, float] with mean and standard deviation values of native operation counts.
- Return type: