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
sizetuple

(n, n), where n is the dimension of the output matrix.

afloat

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

Returns
Ondarray

Orthogonal matrix close to the identiy (for small a).