pygsti.tools.errgenproptools.alpha_numerical

pygsti.tools.errgenproptools.alpha_numerical#

alpha_numerical(errorgen, tableau, desired_bitstring)#

First-order error generator sensitivity function for probability. This implementation calculates this quantity numerically, and as such is primarily intended for used as parting of testing infrastructure.

Parameters:
  • errorgen (ElementaryErrorgenLabel) – Error generator label for which to calculate sensitivity.

  • tableau (stim.Tableau) – Stim Tableau corresponding to the stabilizer state to calculate the sensitivity for.

  • desired_bitstring (str) – Bit string to calculate the sensitivity for.