Creates a simulated local processor from a device specification template.
cirq_google.engine.virtual_engine_factory.create_noiseless_virtual_processor_from_template(
processor_id: str,
template_name: str,
gate_sets: Optional[Iterable[serializable_gate_set.SerializableGateSet]] = None
) -> cirq_google.engine.SimulatedLocalProcessor
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.
|
template_name
|
File name of the device specification template, see
cirq_google/devices/specifications for valid templates.
|
gate_sets
|
Iterable of serializers to use in the processor. Defaults
to the FSIM_GATESET.
|