def inferred_pauli_error(self) -> Mapping[tuple[cirq.GridQubit, cirq.GridQubit], float]:
        """Return the inferred Pauli error for all pairs."""
        single_q_paulis = self.rb_result.pauli_error()
        xeb = self.xeb_result.pauli_error()

        def _pauli_error(q0: cirq.GridQubit, q1: cirq.GridQubit) -> float:
            q0, q1 = sorted([q0, q1])
            return xeb[(q0, q1)] - single_q_paulis[q0] - single_q_paulis[q1]

        return MappingProxyType({pair: _pauli_error(*pair) for pair in self.all_qubit_pairs})
Return the inferred Pauli error for all pairs.
cirq-core/cirq/experiments/two_qubit_xeb.py