def METHOD_NAME(self) -> Dict[str, Any]:
    """Exports data to a Python dictionary.
    Note: Information about the order measurements is not preserved.
    """
    return {
        "nqubits": self.nqubits,
        "qubit_indices": self.qubit_indices,
        "shots": self.shots,
        "counts": self.get_counts(),
    }