![]() |
Returns a random orthogonal matrix distributed with Haar measure.
cirq.testing.random_orthogonal(
dim: int, *, random_state: 'cirq.RANDOM_STATE_OR_SEED_LIKE' = None
) -> np.ndarray
Returns | |
---|---|
The sampled orthogonal matrix. |
References | |
---|---|
'How to generate random matrices from the classical compact groups' http://arxiv.org/abs/math-ph/0609050 |