O_close_1

tenpy.linalg.random_matrix.O_close_1(size, a=0.01)[source]

return an random orthogonal matrix ‘close’ to the Identity.

Parameters:
  • size (tuple) – (n, n), where n is the dimension of the output matrix.

  • a (float) – Parameter determining how close the result is to the identity; \(\lim_{a \rightarrow 0} <|O-E|>_a = 0`\) (where E is the identity).

Returns:

O – Orthogonal matrix close to the identity (for small a).

Return type:

ndarray