pygsti.tools.matrixtools.gram_matrix

Contents

pygsti.tools.matrixtools.gram_matrix#

gram_matrix(m, adjoint=False)#

If adjoint=False, then return m.T.conj() @ m, computed in a more efficient way.

If adjoint=True, return m @ m.T.conj(), likewise computed in a more efficient way.