pygsti.tools.errgenproptools.alpha_pauli#
- alpha_pauli(errorgen, tableau, pauli)#
First-order error generator sensitivity function for pauli expectations.
- 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.
pauli (stim.PauliString) – Pauli to calculate the sensitivity for.
- Returns:
Linear sensitivity of the expectation value of the desired pauli observable to the specified elementary error generator for the given stabilizer state.
- Return type:
float