https://123dok.net/document/qo5o69lk-separable-and-non-separable-spin-glass-models.html