get_hardware_adjacency method

Hi,

 

Can anyone tell me where get_hardware_adjacency() method is defined.

My code looks like this ...

-------------------------------------------------------------------------

from dwave_sapi2.util import get_hardware_adjacency
from dwave_sapi2.embedding import find_embedding

A = get_hardware_adjacency(solver_c16)

embeddings = find_embedding(S, A, verbose=1)

-------------------------------------------------------------------------

As dwave_sapi2 is not available I was looking around and I could find find_embedding in minorminer 

 

so I can write 

------------------------------------------------------

from minorminer import find_embedding

-------------------------------------------------------

But I am unable to find the module/package in python for get_hardware_adjacency

Any idea where it is? Is there an alternative way to get the adjacency?

 

Regards,

Manoj

 

 

 

 

0

Comments

3 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post