pygsti.tools.fogitools

Utility functions for computing and working with first-order-gauge-invariant (FOGI) quantities.

Module Contents

Functions

first_order_gauge_action_matrix(clifford_superop_mx, ...)

Returns a matrix for computing the offset of a given gate's error generator due to a local gauge action.

first_order_gauge_action_matrix_for_prep(...)

Returns a matrix for computing the offset of a given gate's error generator due to a local gauge action.

first_order_gauge_action_matrix_for_povm(...)

Returns a matrix for computing the offset of a given gate's error generator due to a local gauge action.

construct_fogi_quantities(primitive_op_labels, ...[, ...])

TODO: docstring

compute_maximum_relational_errors(primitive_op_labels, ...)

TODO: docstring

op_elem_vec_name(vec, elem_op_labels, op_label_abbrevs)

op_elem_vec_names(vecs, elem_op_labels, op_label_abbrevs)

TODO: docstring

elem_vec_name(vec, elem_labels[, include_type])

TODO: docstring

elem_vec_names(vecs, elem_labels[, include_type])

TODO: docstring

pygsti.tools.fogitools.first_order_gauge_action_matrix(clifford_superop_mx, target_sslbls, model_state_space, elemgen_gauge_basis, elemgen_row_basis)

Returns a matrix for computing the offset of a given gate’s error generator due to a local gauge action. Note: clifford_superop must be in the std basis! TODO: docstring

pygsti.tools.fogitools.first_order_gauge_action_matrix_for_prep(prep_superket_vec, target_sslbls, model_state_space, elemgen_gauge_basis, elemgen_row_basis)

Returns a matrix for computing the offset of a given gate’s error generator due to a local gauge action. Note: clifford_superop must be in the std basis! TODO: docstring

pygsti.tools.fogitools.first_order_gauge_action_matrix_for_povm(povm_superbra_vecs, target_sslbls, model_state_space, elemgen_gauge_basis, elemgen_row_basis)

Returns a matrix for computing the offset of a given gate’s error generator due to a local gauge action. Note: clifford_superop must be in the std basis! TODO: docstring

pygsti.tools.fogitools.construct_fogi_quantities(primitive_op_labels, gauge_action_matrices, errorgen_coefficient_labels, op_errgen_indices, gauge_space, op_label_abbrevs=None, dependent_fogi_action='drop', norm_order=None)

TODO: docstring

pygsti.tools.fogitools.compute_maximum_relational_errors(primitive_op_labels, errorgen_coefficients, gauge_action_matrices, errorgen_coefficient_bases_by_op, gauge_basis, model_dim)

TODO: docstring

pygsti.tools.fogitools.op_elem_vec_name(vec, elem_op_labels, op_label_abbrevs)
pygsti.tools.fogitools.op_elem_vec_names(vecs, elem_op_labels, op_label_abbrevs)

TODO: docstring

pygsti.tools.fogitools.elem_vec_name(vec, elem_labels, include_type=True)

TODO: docstring

pygsti.tools.fogitools.elem_vec_names(vecs, elem_labels, include_type=True)

TODO: docstring