cirq_google.engine.create_default_noisy_quantum_virtual_machine
Creates a virtual engine with a noisy simulator based on a processor id.
cirq_google.engine.create_default_noisy_quantum_virtual_machine(
processor_id: str,
simulator_class: Optional[Type[SimulatesSamples]] = None,
**kwargs
) -> cirq_google.engine.SimulatedLocalEngine
Args |
processor_id
|
The string name of a processor that has available noise data.
|
simulator_class
|
The class of the type of simulator to be initialized. The
simulator class initializer needs to support the noise parameter.
|
**kwargs
|
Other arguments which are passed through to the simulator initializer.
The 'noise' argument will be overwritten with a new noise model.
|
Returns |
A SimulatedLocalEngine that uses a simulator of type simulator_class with a
noise model based on available noise data for the processor processor_id.
|
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."],[],[]]