pygsti.extras.idletomography.idttools.predicted_observable_rates#
- predicted_observable_rates(idtresults, typ, nqubits, maxweight, model)#
Get the exact observable rates that would be produced by simulating model (for comparison with idle tomography results).
- Parameters:
idtresults (IdleTomographyResults) – The idle tomography results object used to determing which observable rates should be computed, and the provider of the Jacobian relating the intrinsic rates internal to model to these observable rates.
typ ({"samebasis","diffbasis"}) – The type of observable rates to predict and return.
nqubits (int) – The number of qubits.
maxweight (int) – The maximum weight of errors to consider.
model (CloudNoiseModel) – The noise model to extract error rates from.
- Returns:
rates – A dictionary of the form: rate = rates[pauli_fidpair][obsORoutcome], to match the structure of an IdleTomographyResults object’s `
- Return type:
dict