@staticmethod
def get_reverse_state(state):
    """Do a symmetry around 1 of the state ::

        * 0 -> 2
        * 1 -> 1
        * 2 -> 0
        * else -> else

        :param state: state to reverse
        :type state: int
        :return: Integer from 0 to 2 (usually)
        :rtype: int
        """
    if state == 1:
        return 1
    if state == 0:
        return 2
    if state == 2:
        return 0
    return state
