Returns the cirq Circuit for the Quantum Engine program.
This is only
supported if the program was created with the V2 protos.
Args
circuit_num
if this is a multi-circuit program, the index of the circuit
to return. This argument is zero-indexed. Negative values
indexing from the end of the list.
Returns the cirq Circuit for the Quantum Engine program.
This is only
supported if the program was created with the V2 protos.
Args
circuit_num
if this is a multi-circuit program, the index of the circuit
to return. This argument is zero-indexed. Negative values
indexing from the end of the list.
Unique ID of the program within the parent project.
created_after
retrieve jobs that were created after this date
or time.
created_before
retrieve jobs that were created after this date
or time.
has_labels
retrieve jobs that have labels on them specified by
this dict. If the value is set to *, filters having the label
regardless of the label value will be filtered. For example, to
query programs that have the shape label and have the color
label with value red can be queried using
{'color': 'red', 'shape':'*'}
execution_states
retrieve jobs that have an execution state that
is contained in execution_states. See
quantum.ExecutionStatus.State enum for accepted values.
Unique ID of the program within the parent project.
created_after
retrieve jobs that were created after this date
or time.
created_before
retrieve jobs that were created after this date
or time.
has_labels
retrieve jobs that have labels on them specified by
this dict. If the value is set to *, filters having the label
regardless of the label value will be filtered. For example, to
query programs that have the shape label and have the color
label with value red can be queried using
{'color': 'red', 'shape':'*'}
execution_states
retrieve jobs that have an execution state that
is contained in execution_states. See
quantum.ExecutionStatus.State enum for accepted values.
A unique identifier representing an automation run for the
specified processor. An Automation Run contains a collection of
device configurations for a processor.
snapshot_id
A unique identifier for an immutable snapshot reference.
A snapshot contains a collection of device configurations for the
processor.
device_config_name
An identifier used to select the processor configuration
utilized to run the job. A configuration identifies the set of
available qubits, couplers, and supported gates in the processor.
job_id
Optional job id to use. If this is not provided, a random id
of the format 'job-################YYMMDD' will be generated,
where # is alphanumeric and YYMMDD is the current year, month,
and day.
param_resolver
Parameters to run with the program.
repetitions
The number of repetitions to simulate.
description
An optional description to set on the job.
labels
Optional set of labels to set on the job.
Returns
An EngineJob. If this is iterated over it yields one EngineResult.
Raises
ValueError
If a processor id hasn't been specified to run the job
ValueError
If only one of run_name and device_config_name are specified.
ValueError
If either run_name and device_config_name are set but
processor_id is empty.
A unique identifier representing an automation run for the
specified processor. An Automation Run contains a collection of
device configurations for a processor.
snapshot_id
A unique identifier for an immutable snapshot reference.
A snapshot contains a collection of device configurations for the
processor.
device_config_name
An identifier used to select the processor configuration
utilized to run the job. A configuration identifies the set of
available qubits, couplers, and supported gates in the processor.
job_id
Optional job id to use. If this is not provided, a random id
of the format 'job-################YYMMDD' will be generated,
where # is alphanumeric and YYMMDD is the current year, month,
and day.
param_resolver
Parameters to run with the program.
repetitions
The number of repetitions to simulate.
description
An optional description to set on the job.
labels
Optional set of labels to set on the job.
Returns
An EngineJob. If this is iterated over it yields one EngineResult.
Raises
ValueError
If a processor id hasn't been specified to run the job
ValueError
If only one of run_name and device_config_name are specified.
ValueError
If either run_name and device_config_name are set but
processor_id is empty.
In contrast to run, this runs across multiple parameter sweeps, and
does not block until a result is returned.
Args
processor_id
Processor id for running the program.
run_name
A unique identifier representing an automation run for the
specified processor. An Automation Run contains a collection of
device configurations for a processor.
snapshot_id
A unique identifier for an immutable snapshot reference.
A snapshot contains a collection of device configurations for the
processor.
device_config_name
An identifier used to select the processor configuration
utilized to run the job. A configuration identifies the set of
available qubits, couplers, and supported gates in the processor.
job_id
Optional job id to use. If this is not provided, a random id
of the format 'job-################YYMMDD' will be generated,
where # is alphanumeric and YYMMDD is the current year, month,
and day.
params
Parameters to run with the program.
repetitions
The number of circuit repetitions to run.
description
An optional description to set on the job.
labels
Optional set of labels to set on the job.
Returns
An EngineJob. If this is iterated over it returns a list of
TrialResults, one for each parameter sweep.
Raises
ValueError
If a processor id hasn't been specified to run the job
ValueError
If only one of run_name and device_config_name are specified.
ValueError
If either run_name and device_config_name are set but
processor_id is empty.
In contrast to run, this runs across multiple parameter sweeps, and
does not block until a result is returned.
Args
processor_id
Processor id for running the program.
run_name
A unique identifier representing an automation run for the
specified processor. An Automation Run contains a collection of
device configurations for a processor.
snapshot_id
A unique identifier for an immutable snapshot reference.
A snapshot contains a collection of device configurations for the
processor.
device_config_name
An identifier used to select the processor configuration
utilized to run the job. A configuration identifies the set of
available qubits, couplers, and supported gates in the processor.
job_id
Optional job id to use. If this is not provided, a random id
of the format 'job-################YYMMDD' will be generated,
where # is alphanumeric and YYMMDD is the current year, month,
and day.
params
Parameters to run with the program.
repetitions
The number of circuit repetitions to run.
description
An optional description to set on the job.
labels
Optional set of labels to set on the job.
Returns
An EngineJob. If this is iterated over it returns a list of
TrialResults, one for each parameter sweep.
Raises
ValueError
If a processor id hasn't been specified to run the job
ValueError
If only one of run_name and device_config_name are specified.
ValueError
If either run_name and device_config_name are set but
processor_id is empty.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-08 UTC."],[],[]]