Giter Club home page Giter Club logo

dwave-ocean-sdk's Introduction

docs/_static/Ocean_SDK_Banner.png

https://readthedocs.com/projects/d-wave-systems-dwave-ocean-sdk/badge https://ci.appveyor.com/api/projects/status/c8ofdgyiy4w38lu3?svg=true https://circleci.com/gh/dwavesystems/dwave-ocean-sdk.svg?style=svg

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:

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.

docs/_static/inspector_bqm_ran_r_20.png

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:

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.

dwave-ocean-sdk's People

Contributors

joelpasvolsky avatar randomir avatar arcondello avatar thisac avatar fionahanington avatar kotarotanahashi avatar bellert avatar charleswhchan avatar shpface avatar quackduck avatar brettkoonce avatar brianm1028 avatar m3ller avatar richardkmichael avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.