pygsti.algorithms.germselection.rank_one_psuedoinverse_update

pygsti.algorithms.germselection.rank_one_psuedoinverse_update#

rank_one_psuedoinverse_update(vector_update, pinv_A, proj_A, force_rank_increase=False)#

Helper function for calculating rank-one pseudoinverse updates. 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.