qlat_utils.get_data_sig

qlat_utils.get_data_sig(x, RngState rs)

Return a signature (a floating point number, real or complex) of data viewed as a 1-D array of numbers.

Result only depends on the value of the data, not the structure. x can be an instance of LatData or np.ndarray.