iqm.benchmarks.compressive_gst.mgst.additional_fns.randvec

Contents

iqm.benchmarks.compressive_gst.mgst.additional_fns.randvec#

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

Generate vector with real and imaginary part drawn from the normal distribution.

Parameters:

n (int) – Number of elements for the random vector

Returns:

Length n vector with complex entries whose real and imaginary part is independently drawn

from the normal distribution with mean 0 and variance 1.

Return type:

g