pennylane_calculquebec.processing.steps.readout_error_mitigation.get_readout_fidelities

pennylane_calculquebec.processing.steps.readout_error_mitigation.get_readout_fidelities#

pennylane_calculquebec.processing.steps.readout_error_mitigation.get_readout_fidelities(machine_name, chosen_qubits)#

Fetch state-0 and state-1 readout fidelities from the latest benchmark.

Parameters:
  • machine_name (str) – name of the target machine (e.g. "yamaska")

  • chosen_qubits (list[int]) – qubit indices used by the circuit

Returns:

(readout0, readout1) where readout0[i] is the state-0 fidelity for chosen_qubits[i] and readout1[i] is the state-1 fidelity.

Return type:

tuple[list[float], list[float]]