def map_l2dist_gaussianmech_renyiDP(sensitivity, scale, alpha):
    """map an L2 distance `sensitivity` through the gaussian mechanism with parameter `scale` to (alpha, epsilon)-RDP
    Proposition 7 and Corollary 3: https://arxiv.org/pdf/1702.07476.pdf#subsection.6.3

    :param sensitivity: maximum L2 distance perturbation of a query
    :param scale: standard deviation of gaussian noise
    :param alpha: order of renyi divergence > 1
    :returns epsilon
    """
    return alpha * (sensitivity / scale) ** 2 / 2