ffsim.random.random_antihermitian¶
- ffsim.random.random_antihermitian(dim, *, seed=None, dtype=<class 'complex'>)[source]¶
Return a random anti-Hermitian matrix.
The sampled matrix is
1jtimes a matrix sampled from the Gaussian unitary ensemble, the canonical distribution over Hermitian matrices; seerandom_hermitian(). Its eigenvalues are purely imaginary, and their imaginary parts follow the semicircle law on[-2 * sqrt(dim), 2 * sqrt(dim)].