pygsti.forwardsims.termforwardsim_calc_generic

pygsti.forwardsims.termforwardsim_calc_generic#

Defines generic Python-version of map forward simulator calculations

Functions

circuit_achieved_and_max_sopm(fwdsim, ...)

Compute the achieved and maximum sum-of-path-magnitudes (SOPM) for a given circuit and model.

compute_pruned_path_polynomials_given_threshold(...)

Computes probabilities for multiple spam-tuples of circuit

create_circuitsetup_cacheel(fwdsim, ...)

find_best_pathmagnitude_threshold(fwdsim, ...)

Computes probabilities for multiple spam-tuples of circuit

pathmagnitude_threshold(oprep_lists, ...[, ...])

Find the pathmagnitude-threshold needed to achieve some target sum-of-path-magnitudes: so that the sum of all the path-magnitudes greater than this threshold achieve the target (or get as close as we can).

prs_as_polynomials(fwdsim, rholabel, ...[, ...])

Computes polynomials of the probabilities for multiple spam-tuples of circuit

prs_directly(fwdsim, rholabel, elabels, ...)

refresh_magnitudes_in_repcache(repcache, ...)

traverse_paths_upto_threshold(oprep_lists, ...)

Traverse all the paths up to some path-magnitude threshold, calling fn_visitpath for each one.