from typing import List
from typing import Any


def generate_allxy_combinations() -> List[Any]:
    """ Generate all combinations of the AllXY sequence from Reed 2013 """
    xymapping = {'I': 'I', 'x': 'X90', 'y': 'Y90', 'X': 'X180', 'Y': 'Y180'}
    ground_state_rotations = ['II', 'XX', 'YY', 'XY', 'YX']
    equator_state_rotations = ['xI', 'yI', 'xy', 'yx', 'xY', 'yX', 'Xy', 'Yx', 'xX', 'Xx', 'yY', 'Yy']
    excited_state_rotations = ['XI', 'YI', 'xx', 'yy']
    allxy_combinations_input = ground_state_rotations + equator_state_rotations + excited_state_rotations
    allxy_combinations = [(xymapping[x[0]], xymapping[x[1]]) for x in allxy_combinations_input]

    return allxy_combinations