Skip to main content
QUICK REVIEW

[Paper Review] How to generate random matrices from the classical compact groups

Francesco Mezzadri|ArXiv.org|Sep 18, 2006
Analytic Number Theory ResearchMathematics11 references191 citations
TL;DR

This paper presents a simple, numerically stable algorithm to generate random matrices from classical compact groups—U(N), O(N), and USp(2N)—using QR decomposition and Householder reflections, ensuring uniform sampling under the Haar measure. The method extends to Dyson's circular ensembles and is implemented via recursive reduction, leveraging group-theoretic decomposition and invariant measures for efficient simulation in random matrix theory.

ABSTRACT

We discuss how to generate random unitary matrices from the classical compact groups U(N), O(N) and USp(N) with probability distributions given by the respective invariant measures. The algorithm is straightforward to implement using standard linear algebra packages. This approach extends to the Dyson circular ensembles too. This article is based on a lecture given by the author at the summer school on Number Theory and Random Matrix Theory held at the University of Rochester in June 2006. The exposition is addressed to a general mathematical audience.

Motivation & Objective

  • To provide a practical, accessible method for generating Haar-distributed random matrices from classical compact groups without requiring advanced numerical expertise.
  • To clarify the group-theoretic and measure-theoretic foundations underlying the generation of random matrices in random matrix theory (RMT).
  • To extend the method to Dyson's circular ensembles (CUE, COE, CSE) using the same core algorithmic framework.
  • To demonstrate that the algorithm is both numerically stable and computationally efficient, requiring only standard linear algebra operations.
  • To bridge the gap between theoretical RMT and numerical implementation by offering a self-contained, code-ready procedure.

Proposed method

  • The algorithm uses QR decomposition of a real or complex Gaussian matrix to generate a Haar-distributed unitary matrix, exploiting the invariance of the Gaussian distribution under orthogonal transformations.
  • For orthogonal and symplectic groups, the method recursively constructs matrices by generating random vectors uniformly on the unit sphere and applying Householder reflections to build orthogonal transformations.
  • The key insight is that the coset space O(N)/O(N−1) is isomorphic to the unit sphere S^{N−1}, allowing recursive reduction via group decomposition.
  • Householder reflections are used to map the standard basis vector e₁ to a random unit vector, ensuring uniformity on the sphere and invariance under Haar measure.
  • The decomposition U = H_N(v) · O' ensures that if v is uniform on S^{N−1} and O' is Haar-distributed on O(N−1), then U is Haar-distributed on O(N).
  • The same framework applies to U(N) and USp(2N) by using complex or quaternionic analogues of Householder reflections and QR decomposition.

Experimental results

Research questions

  • RQ1How can one generate a random matrix from the classical compact groups U(N), O(N), and USp(2N) with the correct Haar measure using only basic linear algebra operations?
  • RQ2What group-theoretic and measure-theoretic principles underlie the recursive construction of Haar-distributed matrices?
  • RQ3Why is the QR decomposition of a Gaussian matrix equivalent to sampling from the Haar measure on U(N)?
  • RQ4How can the coset decomposition O(N)/O(N−1) ≅ S^{N−1} be exploited to build a recursive algorithm for Haar measure generation?
  • RQ5What is the role of Householder reflections in constructing Haar-distributed orthogonal matrices, and how do they ensure numerical stability?

Key findings

  • The QR decomposition of an N×N complex Gaussian matrix yields a matrix distributed according to the Haar measure on U(N), due to the invariance of the Gaussian distribution under unitary transformations.
  • For O(N), the algorithm recursively generates a random orthogonal matrix by sampling a unit vector uniformly on S^{N−1} and applying a Householder reflection to map e₁ to that vector.
  • The decomposition O(N) = H_N(v) · O(N−1) ensures that if v is uniform on S^{N−1} and O(N−1) is Haar-distributed, then O(N) is also Haar-distributed.
  • The same method generalizes to USp(2N) by using quaternionic analogues of Householder reflections and symplectic QR decomposition.
  • The algorithm is numerically stable and efficient, requiring only O(N³) operations and standard linear algebra routines, making it suitable for high-dimensional simulations.
  • The factorization dμ_O(N) = dμ_{S^{N−1}} × dμ_O(N−1) confirms that the Haar measure on O(N) decomposes into the uniform measure on the sphere and the Haar measure on the subgroup O(N−1).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.