Running Your First Example Problem

This example runs on the quantum processing unit (QPU) and launches the problem inspector.

To run your first example problem, do the following:

  1. Log in to your Leap account at https://cloud.dwavesys.com/leap.

  2. Go to the Workspaces page by clicking the IDE Workspaces link.

  3. Create a new workspace with the Clustering example by clicking New Workspace and selecting the Clustering example on the Examples tab.

  4. In the Explorer in the left pane, open the clustering example’s Python file clustering.py.

  5. Click the Run icon Run Python File in Terminal (in the top right corner of the Leap IDE).

The problem results (also known as a sample set) are returned and displayed in the terminal. The problem inspector also displays a graphical representation of the problem results on the QPU.