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.
|