iqm.benchmarks.entanglement.ghz.extract_fidelities

iqm.benchmarks.entanglement.ghz.extract_fidelities#

iqm.benchmarks.entanglement.ghz.extract_fidelities(cal_url: str, qubit_layout: List[int]) Tuple[List[List[int]], List[float]]#

Returns couplings and CZ-fidelities from calibration data URL

Parameters:
  • cal_url (str) – str The url under which the calibration data for the backend can be found

  • qubit_layout (List[int]) – List[int] The subset of system-qubits used in the protocol, indexed from 0

Returns:

List[List[int]]

A list of pairs, each of which is a qubit coupling for which the calibration data contains a fidelity.

list_fids: List[float]

A list of CZ fidelities from the calibration url, ordered in the same way as list_couplings

Return type:

list_couplings