A Quantum Algorithm Framework for Discrete Probability Distributions With Applications to Rényi Entropy Estimation | Synapse