exa.core.post_processing.contrast_computation.add_contrast#
- add_contrast(default_sweep_parameters_index=0)#
Wrapper to create a post processor which adds the qubit readout contrast and the angle in the complex plane that maximizes the contrast.
Convert the values of the first default_data_parameter into readout contrast values.
- Parameters:
default_sweep_parameters_index (int) – The index of the experiment’s default sweep parameters. The corresponding parameter tells the axis along which to perform the principal component analysis in
compute_contrast(). By default, the first default sweep parameter is used.- Returns:
Post processor to add the contrast data. See
compute_contrast()for details about parameter names.- Return type: