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: Optional[cirq_google.api.v2.device_pb2.DeviceSpecification
] = None
) -> cirq_google.engine.SimulatedLocalEngine
Creates a noiseless engine object based on the cirq simulator,
a default validator, and a provided device.
Args |
processor_id
|
name of the processor to simulate. This is an arbitrary
string identifier and does not have to match the processor's name
in QCS.
|
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 2024-06-27 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 2024-06-27 UTC."],[],[]]