How do you use your API through python?
Hello! I've been trying this, and getting the error "API token not defined"
from dwave.cloud import Client
client = Client.from_config(token='my_actual_token')
client.get_solvers()
# Submit BQM to a D-Wave sampler
sampler = EmbeddingComposite(DWaveSampler())
Could anyone help me out?
Comments
Please sign in to leave a comment.