Skip to content

Annealing and Ising

dwave-ocean-sdk

Maintained by dwavesystems

D-Wave Ocean is the anchor ecosystem for D-Wave-style annealing workflows, bundling modeling, samplers, embeddings, and surrounding utilities into one stack.

PythonApache-2.0FlagshipQtangl relevant
dwave-ocean-sdk illustration

Resource snapshot

Category

Annealing and Ising

Stars

524

Last pushed

May 27, 2026Updated 3mo ago

Open issues

30

What it is

Ocean is not just one library. It is the collection point for a family of tools that make annealing-oriented workflows usable in practice, from problem modeling and embeddings to samplers and cloud access.

That makes it especially valuable for education and comparison. Instead of talking about annealing in the abstract, readers can inspect the actual software layers needed to make an annealing workflow real.

Who it's for

Developers exploring Ising-model formulations, D-Wave tooling, or the practical software around annealing workflows.

What you can build or learn

  • Model optimization workloads in an annealing-oriented ecosystem.
  • Understand how samplers, embeddings, and utilities fit together in practice.
  • Compare annealing stacks against gate-model optimization workflows.

Plays well with

License

Apache-2.0

SPDX identifier detected from the repository metadata or license files.

Repository README

Preview from the project README.

Rendered as Markdown inside a scrollable preview. Long READMEs stay contained; expand or open on GitHub for the full document.

~346 words · about 2 min readOpen on GitHub

.. image:: https://raw.githubusercontent.com/dwavesystems/dwave-ocean-sdk/master/docs/_static/Ocean_SDK_Banner.png

:target: https://pypi.python.org/pypi/dwave-ocean-sdk

:target: https://pypi.python.org/pypi/dwave-ocean-sdk

.. image:: https://readthedocs.com/projects/d-wave-systems-dwave-ocean-sdk/badge :target: https://docs.ocean.dwavesys.com

.. image:: https://circleci.com/gh/dwavesystems/dwave-ocean-sdk.svg?style=svg :target: https://circleci.com/gh/dwavesystems/dwave-ocean-sdk

.. index-start-marker

Ocean SDK <https://docs.dwavequantum.com/en/latest/ocean/>_ is D-Wave's <https://www.dwavequantum.com/>_ suite of tools for solving hard problems with quantum computers.

.. index-end-marker

Installation

.. installation-start-marker

Installation from PyPI <https://pypi.org/project/dwave-ocean-sdk/>_:

.. code-block:: bash

pip install dwave-ocean-sdk

For more information, see the Ocean documentation's installation <https://docs.dwavequantum.com/en/latest/ocean/install.html>_ page.

.. installation-end-marker

Getting Started

Sign up for the Leap quantum cloud service here: Leap signup <https://cloud.dwavesys.com/leap/signup>_.

Start learning with the following D-Wave resources:

  • D-Wave Documentation <https://docs.dwavequantum.com/en/latest/index.html>_ to learn about quantum computers and how to use them.

  • Get Started with Ocean Software <https://docs.dwavequantum.com/en/latest/ocean/index_get_started.html>_ to install and start coding with Ocean software.

  • dwave-examples <https://github.com/dwave-examples>_ for code examples and Jupyter Notebooks.

  • Resource Library <https://www.dwavequantum.com/learn/resource-library>_ on D-Wave website for whitepapers and additional resources.

Example Quantum Program

The following lines of code solve and visualize a random <https://docs.dwavequantum.com/en/latest/ocean/api_ref_dimod/generators.html#random>_ problem <https://docs.dwavequantum.com/en/latest/concepts/models.html#binary-quadratic-models>_ on a quantum computer.

.. code-block:: python

import dimod
import dwave.inspector
import dwave.system

bqm = dimod.generators.ran_r(1, 20)
sampler = dwave.system.EmbeddingComposite(dwave.system.DWaveSampler())
sampleset = sampler.sample(bqm, num_reads=100)
dwave.inspector.show(sampleset)

The left side of the visualized <https://docs.dwavequantum.com/en/latest/quantum_research/embedding_guidance.html>_ solution represents the problem's variables as circles, with white dots for variables assigned values of -1 and blue dots for values of +1; the colors of the connecting lines represent values of the quadratic coefficients for each pair of variables. The right side shows the qubits representing these variables on a quantum processing unit.

.. image:: https://raw.githubusercontent.com/dwavesystems/dwave-ocean-sdk/master/docs/_static/inspector_bqm_ran_r_20.png

You can find introductory examples in the documentation <https://docs.dwavequantum.com/en/latest/quantum_research/index_examples_beginner.html>_ and dwave-examples <https://github.com/dwave-examples>_ GitHub repository, and many customer prototype applications on the D-Wave website <https://www.dwavequantum.com/learn/featured-applications/>_.

Support

Find support here:

  • Leap user community <https://support.dwavesys.com/hc/en-us/community/topics>_ to converse with a large community of D-Wave users.
  • Leap help center <https://support.dwavesys.com/hc/en-us>_ to search the Leap knowledge base.
  • SDK GitHub repo <https://github.com/dwavesystems/dwave-ocean-sdk/issues>_ to open issues or request features on the Ocean SDK or on any one of its packages <https://github.com/dwavesystems>_.

Contributing

Your contributions are welcome!

Ocean's contributing guide <https://docs.dwavequantum.com/en/latest/ocean/contribute.html>_ has guidelines for contributing to Ocean packages.

License

Released under the Apache License 2.0. See LICENSE file.

Read on GitHub

Activity

Latest release

—

Watchers

37

Python support

—

How this relates to Qtangl

Ocean is directly relevant to Qtangl because it shows what a real optimization-focused ecosystem looks like when modeling, embeddings, and solver selection all matter. Even if Qtangl stays classical-dominant today, this family of tools is part of the honest comparison set for QUBO and planning-style workloads.

Learn digest

Get monthly updates when library entries change.

Monthly digest: new library entries, updated flagships, and one editorial pick.

Related resources

Keep exploring nearby tools.

dwavesystems

chimera-embedding

This is a repository for algorithms to generate native-structured embeddings.

PythonApache-2.0

28 stars · Updated 7y ago

dwavesystems

dimod

A shared API for QUBO/Ising samplers.

PythonApache-2.0FlagshipQtangl relevant

142 stars · Updated 3mo ago

dwavesystems

dwave-cloud-client

A minimal implementation of the REST interface used to communicate with D-Wave Solver API (SAPI) servers.

PythonApache-2.0

62 stars · Updated 3mo ago

dwavesystems

dwave_embedding_utilities

Provides utilities for mapping between source and target models.

PythonApache-2.0Archive

11 stars · Updated 8y ago

dwavesystems

dwave_micro_client_dimod

dimod wrapper for the D-Wave Micro Client

PythonApache-2.0Archive

8 stars · Updated 8y ago

dwavesystems

qbsolv

Qbsolv,a decomposing solver, finds a minimum value of a large quadratic unconstrained binary optimization (QUBO) problem by splitting it into pieces solved either via a D-Wave system or a classical tabu solver.

qApache-2.0FlagshipQtangl relevantArchive

920 stars · Updated 4y ago