Getting Started

New to Ocean? The following sections describe how to install Ocean tools, what they are and how they fit together, and give examples of using them to solve hard problems on a D-Wave quantum computer.

Initial Set Up

D-Wave’s Leap integrated development environment (IDE) is the fastest way to get started writing your quantum application or just learning to use Ocean tools. This cloud-based IDE—run in your browser—is available to all Leap accounts. It provides reusable/disposable workspaces (developer environments pre-configured with Ocean and other standard libraries as well as D-Wave extensions) for running code from your own GitHub repository or a collection of code examples you can then modify.

Alternatively, install the tools and configure for running problems on D-Wave remote compute resources, including quantum-classical hybrid solvers and the D-Wave quantum processing unit (QPU), or locally on your CPU.

D-Wave Compute Resources

Use Ocean’s samplers to solve problems on D-Wave’s compute resources (solvers) or locally on your CPU.


See how Ocean tools are used with these end-to-end examples.

Because many large, hard problems are best approached with quantum-classical hybrid solvers, a good place to start is with examples of the Beginner-Level Examples: Hybrid Computing section and then learn how to work directly on the quantum computer with examples of the Beginner-Level Examples: Using the QPU section.

Beginner-Level Examples: Hybrid Computing

Beginner-Level Examples: Using the QPU

Intermediate-Level Examples

Advanced-Level Examples

Additional Examples

D-Wave’s dwave-examples GitHub repo contains many more code examples:

Further Learning