deltakit.decode.analysis.EmpiricalDecodingErrorDistribution.get_num_errors_on_logical#

EmpiricalDecodingErrorDistribution.get_num_errors_on_logical(logical: int) int#

Helper function that can compute the number of errors that happened on a given logical.

Parameters:

logical (int) – The zero indexed logical over which to compute the number of errors that happened on that logical.

Returns:

The number of errors that happened on a given logical.

Return type:

int