exa.core.multistate_classifier.distance_classifier.apply_scaled_average_readout

exa.core.multistate_classifier.distance_classifier.apply_scaled_average_readout#

apply_scaled_average_readout(input_data, component, data_variable_label, component_parameters)#

Apply scaled average readout to data - same logic as exa complex readout -> state probability.

Updates the provided data with the scaled average state labels.

Parameters:
  • input_data (Dataset) – The dataset containing the raw readout data.

  • component (str) – Component (e.g. qubit) whose readout data to process.

  • data_variable_label (str) – The data variable containing the raw readout data.

  • component_parameters (dict[str, Any]) – The model parameters.

Return type:

None