A minimal client for interacting with D-Wave cloud resources, including solvers (QPU and hybrid) via the D-Wave API. Current version 0.14.4, requires Python >=3.10. Release cadence is irregular, with several minor releases per year.
pip install dwave-cloud-clientVerified import paths — ran on the pinned version, not inferred.
Initialize client, list available solvers.
Use `solver.identity` (a dict) or `solver.name` for hybrid solvers. For QPU solvers, use `solver.graph_id` for unique identification.
Use `'qubit' in solver.properties.get('category', '')` or check solver category via the solver's `properties` dict.Always use `with Client(...) as client:` or call `client.close()` when done.
Use `solver.identity` instead of `solver.id`, or check `solver.name` for hybrid solvers.
Set `DWAVE_API_TOKEN` environment variable or create a valid `dwave.conf` file. See https://docs.dwavesys.com/docs/latest/doc_getting_started.html.
Check internet connectivity and firewall settings. Ensure the API endpoint URL is correct (default is https://cloud.dwavesys.com/sapi).