qlat_utils.fsqrt

qlat_utils.fsqrt(data)[source]
Separately calculate the square root real and imag part in case of complex types.

Parameters:

data – real, complex, np.ndarray like objects.

Returns:

squared data.

Return type:

same type as data.