def find_clique_embedding(k, m, n=None, t=None, target_edges=None):
    import random
    _, nodes = k
    m, n, t, target_edges = _chimera_input(m, n, t, target_edges)
    if len(nodes) == 1:
        qubits = set().union(*target_edges)
        qubit = random.choice(tuple(qubits))
        embedding = [[qubit]]
    elif len(nodes) == 2:
        if not isinstance(target_edges, list):
            edges = list(target_edges)
        edge = edges[random.randrange(len(edges))]
        embedding = [[edge[0]], [edge[1]]]
    else:
        embedding = processor(target_edges, M=m, N=n, L=t).tightestNativeClique(len(nodes))
    if not embedding:
        raise ValueError("cannot find a K{} embedding for given Chimera lattice".format(k))
    return dict(zip(nodes, embedding))