exa.core.plotting.qpu_core.utils.logit_mean

Contents

exa.core.plotting.qpu_core.utils.logit_mean#

logit_mean(x)#

Calculates the logit mean. Intended to replace median fidelity values. Idea provided by Matthew Sarsby.

Parameters:

x (ndarray) – Numpy array of values to calculate logit mean for.

Returns:

Value corresponding to the logit mean.

Return type:

float