pygsti.algorithms.germselection.rank_one_inverse_trace_update

pygsti.algorithms.germselection.rank_one_inverse_trace_update#

rank_one_inverse_trace_update(vector_update, pinv_A, proj_A, pinv_A_trace, force_rank_increase=False)#

Helper function for calculating rank-one updates to the trace of the pseudoinverse. Takes as input a rank-one update, the pseudo-inverse of the matrix we’re updating, the projector onto the column space for the matrix whose pseudoinverse we are updating and a flag for specifying if we’re requiring the rank to increase.