iqm.benchmarks.compressive_gst.mgst.additional_fns.randU_Haar

Contents

iqm.benchmarks.compressive_gst.mgst.additional_fns.randU_Haar#

iqm.benchmarks.compressive_gst.mgst.additional_fns.randU_Haar(n: int) ndarray#

Return a Haar distributed random unitary.

Parameters:

n (int) – Matrix dimension of the unitary

Returns:

Random unitary matrix distributed according to the Haar measure.

Return type:

U