Anton Lebedev, Annika Möslein, Olha I. Yaman, Del Rajan, Philip Intallura
{"title":"Effects of the entropy source on Monte Carlo simulations","authors":"Anton Lebedev, Annika Möslein, Olha I. Yaman, Del Rajan, Philip Intallura","doi":"arxiv-2409.11539","DOIUrl":null,"url":null,"abstract":"In this paper we show how different sources of random numbers influence the\noutcomes of Monte Carlo simulations. We compare industry-standard pseudo-random\nnumber generators (PRNGs) to a quantum random number generator (QRNG) and show,\nusing examples of Monte Carlo simulations with exact solutions, that the QRNG\nyields statistically significantly better approximations than the PRNGs. Our\nresults demonstrate that higher accuracy can be achieved in the commonly known\nMonte Carlo method for approximating $\\pi$. For Buffon's needle experiment, we\nfurther quantify a potential reduction in approximation errors by up to\n$1.89\\times$ for optimal parameter choices when using a QRNG and a reduction of\nthe sample size by $\\sim 8\\times$ for sub-optimal parameter choices. We\nattribute the observed higher accuracy to the underlying differences in the\nrandom sampling, where a uniformity analysis reveals a tendency of the QRNG to\nsample the solution space more homogeneously. Additionally, we compare the\nresults obtained with the QRNG and PRNG in solving the non-linear stochastic\nSchr\\\"odinger equation, benchmarked against the analytical solution. We observe\nhigher accuracy of the approximations of the QRNG and demonstrate that\nequivalent results can be achieved at 1/3 to 1/10-th of the costs.","PeriodicalId":501215,"journal":{"name":"arXiv - STAT - Computation","volume":"53 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - STAT - Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.11539","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this paper we show how different sources of random numbers influence the
outcomes of Monte Carlo simulations. We compare industry-standard pseudo-random
number generators (PRNGs) to a quantum random number generator (QRNG) and show,
using examples of Monte Carlo simulations with exact solutions, that the QRNG
yields statistically significantly better approximations than the PRNGs. Our
results demonstrate that higher accuracy can be achieved in the commonly known
Monte Carlo method for approximating $\pi$. For Buffon's needle experiment, we
further quantify a potential reduction in approximation errors by up to
$1.89\times$ for optimal parameter choices when using a QRNG and a reduction of
the sample size by $\sim 8\times$ for sub-optimal parameter choices. We
attribute the observed higher accuracy to the underlying differences in the
random sampling, where a uniformity analysis reveals a tendency of the QRNG to
sample the solution space more homogeneously. Additionally, we compare the
results obtained with the QRNG and PRNG in solving the non-linear stochastic
Schr\"odinger equation, benchmarked against the analytical solution. We observe
higher accuracy of the approximations of the QRNG and demonstrate that
equivalent results can be achieved at 1/3 to 1/10-th of the costs.