@classmethod
def from_other_parameters(cls, params):
    """Alternative to ``__init__`` that takes parameters with less degrees
        of freedom as the input.

        Parameters
        ----------
        params: Type[AbstractParams]
            The input parameters

        Returns
        -------
        Type[AbstractParams]:
            The converted paramters s.t. all the rotation angles of the in
            and output parameters are the same.

        Note
        ----
        If all conversion functions for your parametrization are in
        qaoa._parameter_conversions.py and correctly registered for converter
        you don't need to override this function in its child classes
        """
    from entropica_qaoa.qaoa._parameter_conversions import converter
    return converter(params, cls)
