def METHOD_NAME(self) -> Dict[str, Any]:
    d: Dict[str, Any] = {'atol': self.atol, 'allow_partial_czs': self.allow_partial_czs}
    if self.additional_gates:
        d['additional_gates'] = list(self.additional_gates)
    return d