Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

is_error_not_significant

is_error_not_significant(val, fraction=1.0, absolute=None)[source]

Check if the standard error of given value is not significant.

Parameters:
  • val (float | AffineScalarFunc) – Input value to evaluate. This is assumed to be float or ufloat.

  • fraction (float) – Valid fraction of the nominal part to its standard error. This function returns False if the nominal part is smaller than the error by this fraction.

  • absolute (float | None) – Use this value as a threshold if given.

Returns:

True if the standard error of given value is not significant.

Return type:

bool