{"id":23645,"library":"dwave-cloud-client","title":"D-Wave Cloud Client","description":"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.","status":"active","version":"0.14.4","language":"python","source_language":"en","source_url":"https://github.com/dwavesystems/dwave-cloud-client","tags":["quantum computing","D-Wave","API client","solver"],"install":[{"cmd":"pip install dwave-cloud-client","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Provides higher-level solver access and sampling utilities.","package":"dwave-system","optional":true}],"imports":[{"note":"Standard import for high-level client.","wrong":null,"symbol":"Client","correct":"from dwave.cloud import Client"},{"note":"Low-level API client.","wrong":null,"symbol":"SolverApiClient","correct":"from dwave.cloud.api.client import SolverAPIClient"}],"quickstart":{"code":"from dwave.cloud import Client\n\n# Replace with your D-Wave API token or set DWAVE_API_TOKEN env var\ntoken = os.environ.get('DWAVE_API_TOKEN', '')\nwith Client(token=token) as client:\n    solvers = client.get_solvers()\n    for solver in solvers:\n        print(solver.id, solver.name)","lang":"python","description":"Initialize client, list available solvers."},"warnings":[{"fix":"Use `solver.identity` (a dict) or `solver.name` for hybrid solvers. For QPU solvers, use `solver.graph_id` for unique identification.","message":"In version 0.14.0, solver identification changed from a unique string `id` to a dictionary `identity` with `name` and `graph_id`. Code that relies on `solver.id` as a string will break.","severity":"breaking","affected_versions":">=0.14.0,<0.14.0"},{"fix":"Use `'qubit' in solver.properties.get('category', '')` or check solver category via the solver's `properties` dict.","message":"`Solver.is_vfyc` property is deprecated since dwave-cloud-client 0.14.1 and will be removed in a future version.","severity":"deprecated","affected_versions":">=0.14.1"},{"fix":"Always use `with Client(...) as client:` or call `client.close()` when done.","message":"Client closes resources on exit. Using `Client` outside a context manager and not calling `.close()` may leak connections or fail on garbage collection.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `solver.identity` instead of `solver.id`, or check `solver.name` for hybrid solvers.","cause":"Upgraded to dwave-cloud-client 0.14.0+ which changes solver identification from string `id` to dict `identity`.","error":"AttributeError: 'Solver' object has no attribute 'id'"},{"fix":"Set `DWAVE_API_TOKEN` environment variable or create a valid `dwave.conf` file. See https://docs.dwavesys.com/docs/latest/doc_getting_started.html.","cause":"Missing or malformed D-Wave configuration file or environment variables.","error":"dwave.cloud.exceptions.ConfigFileError: Config file 'dwave.conf' not found or invalid"},{"fix":"Check internet connectivity and firewall settings. Ensure the API endpoint URL is correct (default is https://cloud.dwavesys.com/sapi).","cause":"Network issues or D-Wave API endpoint unreachable.","error":"requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cloud.dwavesys.com', port=443): Max retries exceeded"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}