pygsti.tools.fogitools.first_order_gauge_action_matrix_for_prep#
- 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