pygsti.report.small_eigval_err_rate

pygsti.report.small_eigval_err_rate(sigma, dataset, directGSTgatesets)

Compute per-gate error rate.

The per-gate error rate, extrapolated from the smallest eigvalue of the Direct GST estimate of the given gate string sigma.

Parameters:
  • sigma (GateString or tuple of gate labels) – The gate sequence that is used to estimate the error rate
  • dataset (DataSet) – The dataset used obtain gate string frequencies
  • directGSTgatesets (dictionary of GateSets) – A dictionary with keys = gate strings and values = GateSets.
Returns:

the approximate per-gate error rate.

Return type:

float