qit.utils.rand_GL

qit.utils.rand_GL(n)

Random GL(n, C) matrix.

Parameters

n (int) – matrix size

Returns

random general linear n*n matrix, with normally distributed elements.

Return type

array[complex]

The \(\det S \neq 0\) condition is for now fulfilled only statistically, i.e. you almost never obtain a non-invertible matrix.