pygsti.tools.matrixtools.pivot_indices_after_deflation

pygsti.tools.matrixtools.pivot_indices_after_deflation#

pivot_indices_after_deflation(m_fixed, m)#

m_fixed and m have the same number of rows.

Returns an index vector J of columns of m, chosen by QRCP after projecting out the contributions from m_fixed.

Parameters:
  • m_fixed (ndarray)

  • m (ndarray)

Return type:

ndarray