iqm.benchmarks.quantum_volume.quantum_volume.get_ideal_heavy_outputs

iqm.benchmarks.quantum_volume.quantum_volume.get_ideal_heavy_outputs#

iqm.benchmarks.quantum_volume.quantum_volume.get_ideal_heavy_outputs(qc_list: List[IQMCircuit], sorted_qc_list_indices: Dict[Tuple[int, ...], List[int]]) List[Dict[str, float]]#

Calculate the heavy output bitrstrings of a list of quantum circuits.

Parameters:
  • qc_list (List[QuantumCircuit]) – the list of quantum circuits.

  • sorted_qc_list_indices (Dict[Tuple, List[int]]) – dictionary of indices (integers) corresponding to those in the original (untranspiled) list of circuits, with keys being final physical qubit measurements

Returns:

the list of heavy output dictionaries of each of the quantum circuits.

Return type:

List[Dict[str, float]]