# Execution

Source: https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/execution

Boulder Opal uses computational graphs to represent quantum systems for efficient simulations.

See the [Understanding graphs in Boulder Opal](https://docs.q-ctrl.com/boulder-opal/topics/understanding-graphs-in-boulder-opal)
topic and [How to represent quantum systems using graphs](https://docs.q-ctrl.com/boulder-opal/user-guides/how-to-represent-quantum-systems-using-graphs)
user guide to learn more about computational graphs. The
[Choosing the approach to simulate a quantum system](https://docs.q-ctrl.com/boulder-opal/topics/choosing-the-approach-to-simulate-a-quantum-system)
topic provides an overview of the different graph-based simulation options in Boulder Opal.

During graph execution, and depending on the size of your system, you can choose between
eager and compiled modes for running your simulation. Learn more about how to best execute
graph calculations in our [Improving calculation performance in graphs](https://docs.q-ctrl.com/boulder-opal/topics/improving-calculation-performance-in-graphs) topic.

## Classes

|||
|-----------------------------------------------------------------------|---------------------------------------------------------------|
| [ExecutionMode](https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/ExecutionMode.md#boulderopal.graph.ExecutionMode)   | Configuration for the execution mode used in execute_graph.   |

## Functions

|||
|-----------------------------------------------------------------|-----------------------------------------------------------------|
| [execute_graph](https://docs.q-ctrl.com/references/boulder-opal/boulderopal/graph/execute_graph.md#boulderopal.execute_graph)   | Evaluate a graph corresponding to a set of generic functions.   |
