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¶
Install the tools and configure for running on a D-Wave system (QPU) or locally (CPU/GPU).
Overview of Ocean Software¶
Learn how problems are formulated for solution on D-Wave systems using Ocean tools.
Examples¶
See how Ocean tools are used with these end-to-end examples.
Beginner-Level Examples¶
- Large Map Coloring demonstrates out-of-the-box solving of an arbitrary-sized problem.
- Vertex Cover solves a small graph problem.
- Constrained Scheduling solves a small constraint satisfaction problem.
- Boolean NOT Gate mathematically formulates a BQM for a two-variable problem.
- Boolean AND Gate demonstrates programming the QPU more directly (minor-embedding).
Intermediate-Level Examples¶
- Map Coloring example solves a more complex constraint satisfaction problem.
- Multiple-Gate Circuit looks more deeply at minor-embedding.
- Problem With Many Variables illustrates solving a large problem using both classical and quantum resources.
Advanced-Level Examples¶
- Working With Different Topologies running your code on software with different QPU-inspired topologies.
Demonstrations and Jupyter Notebooks¶
D-Wave’s dwave-examples GitHub repo contains demos, typically in the form of short code examples, you can copy (clone) and run.
D-Wave’s Leap Quantum Application Environment provides a number of Jupyter Notebooks with detailed code examples for various types of problems (for example, constraint satisfaction problems) and ways of using the quantum computer (for example, hybrid computing and reverse annealing). These can also serve as a framework in which to develop your own code.
Additional Tutorials¶
Getting Started with the D-Wave System
This guide in the System Documentation introduces the D-Wave quantum computer, provides some key background information on how the system works, and explains how to construct a simple problem that the system can solve.
D-Wave Problem-Solving Handbook
This guide for more advanced users has an opening chapter of illustrative examples that explain the main steps of solving problems on the D-Wave system through two “toy” problems.