cirq_google.workflow.execute

Execute a cg.QuantumExecutableGroup according to a cg.QuantumRuntimeConfiguration.

The ExecutableGroupResult's constituent parts will be saved to disk as they become available. Within the "{base_data_dir}/{run_id}" directory we save:

- The `cg.QuantumRuntimeConfiguration` at the start of the execution as a record
  of *how* the executable group was run.
- A `cg.SharedRuntimeInfo` which is updated throughout the run.
- An `cg.ExecutableResult` for each `cg.QuantumExecutable` as they become available.
- A `cg.ExecutableGroupResultFilesystemRecord` which is updated throughout the run.

rt_config The cg.QuantumRuntimeConfiguration specifying how to execute executable_group.
executable_group The cg.QuantumExecutableGroup containing the executables to execute.
base_data_dir Each data file will be written to the "{base_data_dir}/{run_id}/" directory, which must not already exist.

The cg.ExecutableGroupResult containing all data and metadata for an execution.

NotImplementedError If an executable uses the params field or anything other than a BitstringsMeasurement measurement field.
ValueError If base_data_dir is not a valid directory.