We're celebrating World Quantum Day 2022! Join us

Module: cirq_google.engine.virtual_engine_factory

Functions to instantiate SimulatedLocalEngines to simulate various Google Devices.

Functions

create_noiseless_virtual_engine_from_device(...): Creates an Engine object with a single processor backed by a noiseless simulator.

create_noiseless_virtual_engine_from_latest_templates(...): Creates a noiseless virtual engine based on current templates.

create_noiseless_virtual_engine_from_proto(...): Creates a noiseless virtual engine object from a device specification proto.

create_noiseless_virtual_engine_from_templates(...): Creates a noiseless virtual engine object from a device specification template.

create_noiseless_virtual_processor_from_proto(...): Creates a simulated local processor from a device specification proto.

create_noiseless_virtual_processor_from_template(...): Creates a simulated local processor from a device specification template.

FSIM_GATESET Instance of cirq_google.serialization.SerializableGateSet

Gate set that combines sqrt(iswap) and syc as one fsim id.

METRICS_1Q ['single_qubit_p00_error', 'single_qubit_p11_error', 'single_qubit_readout_separation_error', 'parallel_p00_error', 'parallel_p11_error', 'single_qubit_rb_average_error_per_gate', 'single_qubit_rb_incoherent_error_per_gate', 'single_qubit_rb_pauli_error_per_gate']
METRICS_2Q ['two_qubit_sycamore_gate_xeb_average_error_per_cycle', 'two_qubit_sycamore_gate_xeb_pauli_error_per_cycle', 'two_qubit_sycamore_gate_xeb_incoherent_error_per_cycle', 'two_qubit_sqrt_iswap_gate_xeb_average_error_per_cycle', 'two_qubit_sqrt_iswap_gate_xeb_pauli_error_per_cycle', 'two_qubit_sqrt_iswap_gate_xeb_incoherent_error_per_cycle', 'two_qubit_parallel_sycamore_gate_xeb_average_error_per_cycle', 'two_qubit_parallel_sycamore_gate_xeb_pauli_error_per_cycle', 'two_qubit_parallel_sycamore_gate_xeb_incoherent_error_per_cycle', 'two_qubit_parallel_sqrt_iswap_gate_xeb_average_error_per_cycle', 'two_qubit_parallel_sqrt_iswap_gate_xeb_pauli_error_per_cycle', 'two_qubit_parallel_sqrt_iswap_gate_xeb_incoherent_error_per_cycle']
MOST_RECENT_TEMPLATES

{
 'rainbow': 'rainbow_12_10_2021_device_spec.proto.txt',
 'weber': 'weber_12_10_2021_device_spec.proto.txt'
}

PERFECT_T1_VALUE 1000000
T1_METRIC_NAME 'single_qubit_idle_t1_micros'