pygsti.extras.idletomography.idtcore.stochastic_jac_element

pygsti.extras.idletomography.idtcore.stochastic_jac_element#

stochastic_jac_element(prep, error, meas, outcome)#

Computes the Jacobian matrix element for a Stochastic error: how the probability of outcome changes with respect to the rate of error when preparing state prep and measuring in basis meas.

Parameters:
  • prep (NQPauliState) – The state that is prepared.

  • error (NQPauliOp) – The type (as a pauli operator) of Stochastic error.

  • meas (NQPauliState) – The basis that is measured (essentially the POVM).

  • outcome (NQOutcome) – The measurement outcome that is considered.

Return type:

float