def pauli_error(self) -> dict[tuple[cirq.GridQubit, cirq.GridQubit], float]:
        """Return the Pauli error of all qubit pairs."""
        return {
            pair: noise_utils.decay_constant_to_pauli_error(
                self._record(*pair).layer_fid, num_qubits=2
            )
            for pair in self.all_qubit_pairs
        }
Return the Pauli error of all qubit pairs.
cirq-core/cirq/experiments/two_qubit_xeb.py