Skip to main content
https://raw.githubusercontent.com/dwavesystems/dwave-ocean-sdk/master/docs/_static/Ocean_SDK_Banner.png https://img.shields.io/pypi/v/dwave-ocean-sdk.svg https://img.shields.io/pypi/pyversions/dwave-ocean-sdk.svg https://readthedocs.com/projects/d-wave-systems-dwave-ocean-sdk/badge https://circleci.com/gh/dwavesystems/dwave-ocean-sdk.svg?style=svg

Ocean SDK is D-Wave’s suite of tools for solving hard problems with quantum computers.

Installation

Installation from PyPI:

pip install dwave-ocean-sdk

For more information, see the Ocean documentation’s installation page.

Getting Started

Sign up for the Leap quantum cloud service here: Leap signup.

Start learning with the following D-Wave resources:

Example Quantum Program

The following lines of code solve and visualize a random problem on a quantum computer.

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 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.

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 and dwave-examples GitHub repository, and many customer prototype applications on the D-Wave website.

Support

Find support here:

Contributing

Your contributions are welcome!

Ocean’s contributing guide has guidelines for contributing to Ocean packages.

License

Released under the Apache License 2.0. See LICENSE file.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dwave_ocean_sdk-9.5.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dwave_ocean_sdk-9.5.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file dwave_ocean_sdk-9.5.0.tar.gz.

File metadata

  • Download URL: dwave_ocean_sdk-9.5.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for dwave_ocean_sdk-9.5.0.tar.gz
Algorithm Hash digest
SHA256 e78f34d94d4cd5b35a8b3cd6a92c0ba50ea5830b5acfdec5ce4354657afb9074
MD5 5a55eb951e42b77fe00d517eafd10427
BLAKE2b-256 50ea0f44828eb15a60166e5512dac3194276124eb700f0d6b27f83254e611f63

See more details on using hashes here.

File details

Details for the file dwave_ocean_sdk-9.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dwave_ocean_sdk-9.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20a330e4654c160ad938759ff9789d95784cbf0b7d2b19a9e5f6ca73875786b3
MD5 1a81fa26c4ea677e6a449ac11d3ac090
BLAKE2b-256 33cec69380c84dacb695931427c8e630e0cef7cc5a20594aa8261c2c07620bd8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

9.5.0 This release

2 files

9.4.0

2 files

9.3.0

2 files

9.2.0

2 files

9.1.0

2 files

9.0.0

2 files

8.4.0

2 files

8.3.0

2 files

8.2.0

2 files

8.1.0

2 files

8.0.1

2 files

8.0.0

2 files

7.1.0

2 files

7.0.0

2 files

6.10.0

2 files

6.9.0

2 files

6.8.0

2 files

6.7.1

2 files

6.7.0

2 files

6.6.0

2 files

6.5.0

2 files

6.4.1

2 files

6.4.0

2 files

6.3.0

2 files

6.2.0

2 files

6.1.1

2 files

6.1.0

2 files

6.0.1

2 files

6.0.0

2 files

5.5.0

2 files

5.4.0

2 files

5.3.0

2 files

5.2.0

2 files

5.1.0

2 files

5.0.0

2 files

4.5.0

2 files

4.4.0

2 files

4.3.0

2 files

4.2.0

2 files

4.1.0

2 files

4.0.0

2 files

3.5.0

2 files

3.4.1

2 files

3.4.0

2 files

3.3.0

2 files

3.2.0

2 files

3.1.1

2 files

3.1.0

2 files

3.0.1

2 files

3.0.0

2 files

2.6.0

2 files

2.5.0

2 files

2.4.0

2 files

2.3.0

2 files

2.2.0

2 files

2.1.1

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.6.0

2 files

1.5.0

2 files

1.4.0

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

1 file

1.0.1

2 files

1.0.0

2 files

0.3.1

2 files

0.3.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page