pygsti.extras.idletomography.idttools

pygsti.extras.idletomography.idttools#

Idle Tomography utility routines

Functions

allerrors(nqubits, maxweight)

Lists every Pauli error operator for nqubits qubits with weight <= maxweight

allobservables(meas, maxweight)

Lists every weight <= maxweight observable whose expectation value can be extracted from the local Pauli measurement described by meas.

alloutcomes(prep, meas, maxweight)

Lists every "error bit string" that co1uld be caused by an error of weight up to maxweight when performing prep & meas (must be in same basis, but may have different signs).

extract_idle_errors(nqubits, model[, ...])

Get error rates on the global idle operation within a CloudNoiseModel object.

nontrivial_paulis(wt)

List all nontrivial paulis of given weight wt.

predicted_intrinsic_rates(nqubits, ...[, ...])

Get the exact intrinsic rates that would be produced by simulating model (for comparison with idle tomography results).

predicted_observable_rates(idtresults, typ, ...)

Get the exact observable rates that would be produced by simulating model (for comparison with idle tomography results).

set_idle_errors(nqubits, model, errdict[, ...])

Set specific or random error terms (typically for a data-generating model) within a noise model (a CloudNoiseModel object).

tile_pauli_fidpairs(base_fidpairs, nqubits, ...)

Tiles a set of base fiducial pairs on maxweight qubits to a set of fiducial pairs on nqubits qubits such that every set of maxweight qubits takes on the values in each base pair in at least one of the returned pairs.