cirq_google.engine.ProcessorConfig
Representation of a quantum processor configuration.
cirq_google.engine.ProcessorConfig(
*,
quantum_processor_config: quantum.QuantumProcessorConfig,
processor: cg.engine.AbstractProcessor,
device_config_revision: (DeviceConfigRevision | None) = None
) -> None
Describes available qubits, gates, and calibration data associated with
a processor configuration.
Args |
quantum_processor_config
|
The quantum processor config.
|
processor
|
The processor that this config describes.
|
device_config_revision
|
Run or Snapshot id.
|
Attributes |
calibration
|
Characterization metrics captured for this configuration.
|
config_name
|
The unique identifier for this config.
|
effective_device
|
The GridDevice generated from this configuration's device specification.
|
processor_id
|
The processor id for this config.
|
run_name
|
The run that generated this config (if available).
|
snapshot_id
|
The snapshot that contains this processor config.
|
Methods
sampler
View source
sampler(
max_concurrent_jobs: int = 100
) -> processor_sampler.ProcessorSampler
Returns the sampler backed by this config.
| Args |
max_concurrent_jobs
|
The maximum number of jobs to be sent
simultaneously to the Engine. This client-side throttle can be
used to proactively reduce load to the backends and avoid quota
violations when pipelining circuit executions.
|
| Returns |
A cirq.Sampler instance (specifically a engine_sampler.ProcessorSampler)
that will send circuits to the Quantum Computing Service
when sampled.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-01 UTC.
[[["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-07-01 UTC."],[],[]]