dwave-ocean-sdk 8.3.0
pip install dwave-ocean-sdk
Released:
Software development kit for open source D-Wave tools
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: D-Wave
- Requires: Python >=3.9
-
Provides-Extra:
all
Classifiers
- License
- Operating System
- Programming Language
Project description
Ocean 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:
System Documentation to learn about quantum computers and how to use them.
Getting Started with Ocean to install and start coding with Ocean software.
dwave-examples for code examples and Jupyter Notebooks.
Resource Library on D-Wave website for whitepapers and additional 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.
You can find introductory examples in the Ocean documentation and dwave-examples GitHub repository, and many customer prototype applications on the D-Wave website.
Support
Find support here:
Leap user community to converse with a large community of D-Wave users.
Leap help center to search the Leap knowledge base.
SDK GitHub repo to open issues or request features on the Ocean SDK or on any one of its packages.
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.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: D-Wave
- Requires: Python >=3.9
-
Provides-Extra:
all
Classifiers
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dwave_ocean_sdk-8.3.0.tar.gz
.
File metadata
- Download URL: dwave_ocean_sdk-8.3.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5271fa8d1e36b7c40ad70abffb74f440adeec41ea0a2fdbc4b2658d33c6d8e |
|
MD5 | d65a28216264887ef96ee360f68eaf03 |
|
BLAKE2b-256 | 0177dd92ef9b580fdd3f573c9f70ab34452a897332a5cc2ad6c70888fa10b96e |
File details
Details for the file dwave_ocean_sdk-8.3.0-py3-none-any.whl
.
File metadata
- Download URL: dwave_ocean_sdk-8.3.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41db69a2cc861efa0de96fbaea5d432eb7a60081950941351567c3a9bb6fc360 |
|
MD5 | 8f07548b5b177d51dd1e264a034ebb13 |
|
BLAKE2b-256 | 02f72e50f25137d4387779c860edeea3a0c861558db13488bfe736c23788f439 |