View source on GitHub |
Returns a random special unitary distributed with Haar measure.
cirq.testing.random_special_unitary(
dim: int, *, random_state: Optional[np.random.RandomState] = None
) -> np.ndarray
Returns | |
---|---|
The sampled special unitary. |