Submitting Problems and Visualizing Results¶
Submitting Problems¶
A problem is formulated in a Python program, which you run to submit the problem to a solver.
To run a Python program, open the program file and
click the Run icon (in the top right corner of the Leap IDE)
or execute the following command in a terminal:
python <file_name>.py
- <file_name>
The file name of the program.
Tip
Although a terminal is opened automatically when you open a workspace, you can also open one by selecting the Terminal > New Terminal menu.
The results are returned and displayed in the terminal.
Visualizing Problem Results in the Problem Inspector¶
The D-Wave problem inspector provides a graphical interface for examining a D-Wave quantum computer’s problem results. To learn how to implement the code to visualize the problem results and display other information in the problem inspector, see problem inspector in the Ocean documentation.