pygsti.algorithms.fiducialselection

pygsti.algorithms.fiducialselection#

Functions for selecting a complete set of fiducials for a GST analysis.

Functions

add_penalties_greedy(unpenalized_score, fid_list)

build_bitvec_mx(n, k)

Create an array of all length-n and Hamming weight k binary vectors.

clean_fid_list(model, circuit_cache, ...[, ...])

compute_composite_fiducial_score(model, ...)

Compute a composite score for a fiducial list.

construct_compact_evd_cache(model, ...[, ...])

create_candidate_fiducial_list(target_model)

Generate prep and measurement fiducials for a given target model.

create_circuit_cache(model, circuit_list)

Function for generating a cache of PTMs for the available fiducials.

create_meas_cache(model, available_meas_fid_list)

Make a dictionary structure mapping native measurements and circuits to numpy column vectors corresponding to the transpose of the effective measurement effects.

create_meas_mxs(model, meas_fid_list[, ...])

Make a list of matrices for the model measurement operations.

create_prep_cache(model, available_prep_fid_list)

Make a dictionary structure mapping native state preps and circuits to numpy column vectors for the corresponding effective state prep.

create_prep_mxs(model, prep_fid_list[, ...])

Make a list of matrices for the model preparation operations.

find_fiducials(target_model[, ...])

Generate prep and measurement fiducials for a given target model.

test_fiducial_list(model, fid_list, prep_or_meas)

Tests a prep or measure fiducial list for informational completeness.

xor(*args)

Implements logical xor function for arbitrary number of inputs.