pygsti.tools.errgenproptools.alpha#
- alpha(errorgen, tableau, desired_bitstring)#
First-order error generator sensitivity function for probability.
- Parameters:
errorgen (LocalStimElementaryErrorgenLabel or LocalElementaryErrorgenLabel) – 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.
- Returns:
sensitivity – Linear sensitivity of the probability of the desired bitstring to the specified elementary error generator for the given stabilizer state.
- Return type:
float