def inferred_xeb_error(self) -> Mapping[tuple[cirq.GridQubit, cirq.GridQubit], float]:
        """Return the inferred XEB error for all pairs."""
        return MappingProxyType(
            {
                pair: 1 - noise_utils.decay_constant_to_xeb_fidelity(decay, 2)
                for pair, decay in self.inferred_decay_constant().items()
            }
        )
Return the inferred XEB error for all pairs.
cirq-core/cirq/experiments/two_qubit_xeb.py