def idx_dictionary():
    """Map the polarization state inputs and output states to the t slice from the channel"""
    idx_of_outputs = {'Hout': [0, 6, 9, 14], 'Bout': [1, 7, 8, 15], 'Pout':
        [2, 5, 10, 13], 'Vout': [4, 3, 11, 12], 'Rout': [18, 19, 20, 17],
        'Lout': [23, 22, 21, 16]}
    idx_of_inputs = {'Hin': [0, 1, 2, 3, 18, 23], 'Pin': [6, 7, 5, 19, 22],
        'Vin': [9, 8, 10, 11, 20, 21], 'Rin': [14, 15, 13, 12, 17, 16]}
    idx_dict = {'Outputs': idx_of_outputs, 'Inputs': idx_of_inputs}
    return idx_dict
