import networkx as nx
import dwave_networkx as dnx
from dwave.system import DWaveCliqueSampler

sampler = DWaveCliqueSampler()
a = sampler.largest_clique_size 
K_a = nx.complete_graph(a)

clique = dnx.maximum_clique(K_a, sampler = sampler)

for node in K_a.nodes :
    if node not in clique:
        print(f"Missing {node =}")

print(len(clique))

