We should use ``Real`` (see [here](https://docs.python.org/3/library/numbers.html)) protocol from Python's library Numbers for type hints. Currently, we have something like: ```python alpha: float | int | np.int64 ``` which is bad.