cirq_google.engine.create_noiseless_virtual_engine_from_device
Creates an Engine object with a single processor backed by a noiseless simulator.
cirq_google.engine.create_noiseless_virtual_engine_from_device(
processor_id: str,
device: cirq.Device,
device_specification: (v2.device_pb2.DeviceSpecification | None) = None
) -> SimulatedLocalEngine
Creates a noiseless engine object based on the cirq simulator,
a default validator, and a provided device.
Args |
processor_id
|
name of the virtual processor to simulate.
Use list_virtual_processors to obtain available names.
|
device
|
A cirq.Device to validate circuits against.
|
device_specification
|
aDeviceSpecification proto that the processor
should return if get_device_specification() is queried.
|
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 2025-07-23 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 2025-07-23 UTC."],[],[]]