Boulder Opal uses graphs to represent all computations. All usage of graphs is via the Graph object, which you can construct directly.

In the sections below, the Graph object with the available graph operations, and the ways of running calculations and optimizations with graphs are documented.

For context on the role of graphs and their usage in Boulder Opal see the Understanding graphs in Boulder Opal topic. To develop hands-on experience with graphs, complete the Get familiar with graphs tutorial. The How to calculate and optimize with graphs and How to represent quantum systems using graphs user guides can show you how to solve relevant problems with Boulder Opal using graphs.