pennylane_calculquebec.processing.steps.readout_error_mitigation.get_full_readout_matrix

pennylane_calculquebec.processing.steps.readout_error_mitigation.get_full_readout_matrix#

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

Build and normalise the full readout response matrix for a set of qubits.

Constructs the tensor-product calibration matrix and normalises each column so that the values represent valid conditional probabilities.

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

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

Returns:

column-normalised \(2^n \times 2^n\) readout matrix

Return type:

numpy.ndarray