English
Languages
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.ignis.verification.AccreditationFitter

class AccreditationFitter[source]

Class for fitters for accreditation

Implementation follows the methods from Samuele Ferracin, Theodoros Kapourniotis and Animesh Datta New Journal of Physics, Volume 21, November 2019 https://iopscience.iop.org/article/10.1088/1367-2630/ab4fd6

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

bound_variation_distance(theta)

This function computes the bound on variation distance based and the confidence

single_protocol_run(results, postp_list, v_zero)

Single protocol run of accreditation protocol on simul backend

Attributes

N_acc

bound

confidence

flag

g_num

num_runs

num_traps

outputs

bound_variation_distance(theta)[source]

This function computes the bound on variation distance based and the confidence

Parameters

theta (float) – number between 0 and 1

single_protocol_run(results, postp_list, v_zero)[source]

Single protocol run of accreditation protocol on simul backend

Parameters
  • results (Result) – results of the quantum job

  • postp_list (list) – list of strings used to post-process outputs

  • v_zero (int) – position of target