pygsti.tools.errgenproptools.slow_bulk_alpha_pauli#
- slow_bulk_alpha_pauli(errorgens, tableau, paulis)#
First-order error generator sensitivity function for pauli expectations.
- Parameters:
errorgens (iterable of LocalStimElementaryErrorgenLabel) – 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.
paulis (list[PauliString])
- Returns:
Linear sensitivities of the expectation values of the desired pauli observables to the specified elementary error generators for the given stabilizer state. Returned as a two dimensional numpy array, with rows indexed by paulis, and columns indexed by error generators.
- Return type:
np.ndarray[np.double]