@staticmethod
def order_labels_for_hopping_ops(double_exc, gde):
    """
        Orders the hopping operators according to the grouped excitations for the full singlet
        UCCSD.

        Args:
            double_exc (list): list of double excitations
            gde (list of lists): list of grouped excitations for full singlet UCCSD

        Returns:
            list: ordered_labels to order hopping ops
        """
    labeled_de = []
    for i, _ in enumerate(double_exc):
        labeled_de.append((double_exc[i], i))
    ordered_labels = []
    for group in gde:
        for exc in group:
            for l_e in labeled_de:
                if exc == l_e[0]:
                    ordered_labels.append(l_e[1])
    return ordered_labels
