iqm.benchmarks.utils.extract_fidelities

iqm.benchmarks.utils.extract_fidelities#

iqm.benchmarks.utils.extract_fidelities(cal_url: str) tuple[list[list[int]], list[float], str]#

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

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

topology: str

Name of the chip topology layout, currently either “star” or “crystal”

Return type:

list_couplings