U_close_1¶
full name: tenpy.linalg.random_matrix.U_close_1
parent module:
tenpy.linalg.random_matrixtype: function
-
tenpy.linalg.random_matrix.U_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 to the identity. \(\lim_{a \rightarrow 0} <|O-E|>_a = 0\) (where E is the identity).
- Returns
- Undarray
Unitary matrix close to the identiy (for small a). Eigenvalues are chosen i.i.d. as
exp(1.j*a*x)with x uniform in [-1, 1].