mm.math.rotmat

math.rotmat(num_modes)

Rotation matrix from quadratures to complex amplitudes.