def METHOD_NAME(
    num_modals: list[int],
    excitations: str
    | int
    | list[int]
    | Callable[
        [int, tuple[int, int]],
        list[tuple[tuple[int, ...], tuple[int, ...]]],
    ],
    qubit_mapper: QubitMapper,
) -> tuple[
    dict[str, SparsePauliOp],
    dict[str, list[bool]],
    dict[str, tuple[tuple[int, ...], tuple[int, ...]]],