Skip to content

Commit fe72856

Browse files
authored
cirq-google - get CZ gate noise properties from engine calibration data (#7116)
* cirq-google - get CZ gate noise properties from QVM calibration data This adds 3 new CZ-gate calibration metrics to be translated from `cirq_google.Calibration` to `cirq_google.GoogleNoiseProperties` - two_qubit_parallel_cz_gate_xeb_pauli_error_per_cycle (gate_pauli_errors) - two_qubit_parallel_cz_gate_xeb_entangler_theta_error_per_cycle (fsim_errors) - two_qubit_parallel_cz_gate_xeb_entangler_phi_error_per_cycle (fsim_errors) * The key needs to be a type not an instance
1 parent 3b9eceb commit fe72856

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cirq-google/cirq_google/engine/calibration_to_noise_properties.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@
5454
}
5555
GATE_PREFIX_PAIRS: Dict[Type['cirq.Gate'], str] = {
5656
cg_ops.SycamoreGate: 'two_qubit_parallel_sycamore_gate',
57+
ops.CZPowGate: 'two_qubit_parallel_cz_gate',
5758
ops.ISwapPowGate: 'two_qubit_parallel_sqrt_iswap_gate',
5859
}
5960
GATE_ZPHASE_CODE_PAIRS: Dict[Type['cirq.Gate'], str] = {
6061
cg_ops.SycamoreGate: 'syc',
62+
ops.CZPowGate: 'cz',
6163
ops.ISwapPowGate: 'sqrt_iswap',
6264
}
6365

0 commit comments

Comments
 (0)