{"id":21328730,"url":"https://github.com/rsvp/randomsys","last_synced_at":"2025-07-12T08:32:07.119Z","repository":{"id":138912745,"uuid":"43399181","full_name":"rsvp/randomsys","owner":"rsvp","description":"Algorithmic study of random systems. / Keywords: probability stochastic process ANU quantum random number generator Gaussian statistics ","archived":false,"fork":false,"pushed_at":"2017-10-03T18:10:53.000Z","size":177,"stargazers_count":11,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T16:22:39.177Z","etag":null,"topics":["algorithm","anu","generator","probability","pseudorandom","quantum","random","statistics","stochastic"],"latest_commit_sha":null,"homepage":"https://git.io/randquantum","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsvp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-09-29T22:58:07.000Z","updated_at":"2022-06-05T18:51:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"0a5087a1-b8b3-4b3f-9a25-d0c175418b9f","html_url":"https://github.com/rsvp/randomsys","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rsvp/randomsys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsvp%2Frandomsys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsvp%2Frandomsys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsvp%2Frandomsys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsvp%2Frandomsys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsvp","download_url":"https://codeload.github.com/rsvp/randomsys/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsvp%2Frandomsys/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264962373,"owners_count":23689802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","anu","generator","probability","pseudorandom","quantum","random","statistics","stochastic"],"created_at":"2024-11-21T21:40:38.593Z","updated_at":"2025-07-12T08:32:06.827Z","avatar_url":"https://github.com/rsvp.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# randomsys\n\n[![Join the chat at https://gitter.im/rsvp/randomsys](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/rsvp/randomsys?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nWe study the behavior of random systems algorithmically.\n\n## Generating truly random numbers: randquantum\n\n[This notebook gives a DEMONSTRATION](https://github.com/rsvp/randomsys/blob/master/quantum/randquantum-demo.ipynb) \nof the useful functions which yield true random numbers produced live from an\nexperiment in quantum mechanics. They are contained in the `randquantum` Python\nmodule under the `quantum` directory.\n\nReliable and unbiased random numbers are needed for a range of applications\nfrom numerical modeling to cryptographic communications. While there are\nalgorithms that can generate pseudo random numbers, they can never be\nperfectly random nor indeterministic. ANU researchers are generating true\nrandom numbers from a physical quantum source by splitting a beam of light\ninto two beams and then measuring the power in each beam. Because light is\nquantised, the light intensity in each beam fluctuates about the mean. Those\nfluctuations, due ultimately to the quantum vacuum, can be converted into a\nsource of random numbers.\n\nThe rate at which the live bits are streamed is limited by the bandwidth of\nyour internet connection. Every number is randomly generated in real time and\ncannot be predicted beforehand. Most pseudo-random numbers have a finite\nperiod after which the sequence repeats. The output herein will not have such\nperiodicity.\n\nWe develop a faster stochastic hybrid method which integrates authentic and \npseudo generators to induce independence and eliminate predictable periodicity. \nThis has *PASSED Marsaglia Diehard, NIST STS, and RGB Dieharder tests.* \n\n\n## Visualization of digits\n\nFor each digit,\n[plot/plot_digitangle.py](https://github.com/rsvp/randomsys/blob/master/plot/plot_digitangle.py)\npushes the turtle (an arrow) directionally at a specific angle for a fixed distance.\nThat push creates a plot where the colors are determined by the input digits.\nThus the script visualizes any sequence of digits.\n\nIf circular angles are mapped on a random sequence of digits we will see a\ndrunkard walk across the screen. Furthermore, if the sequence comes from a\n\"normal\" number, we can expect recurrent behavior, i.e. the drunk turtle\nwill return to where it started its journey, though it may take a long time\nto do so theoretically.\n\nHere is a plot of the first 10,000 digits of pi using\n[pi-digits.txt](https://github.com/rsvp/randomsys/blob/master/plot/pi-digits.txt):\n\n\n![pi-digits.jpg](https://git.io/pi-digits.jpg)\n\n\n---\n\nRevision date : 2017-10-02\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsvp%2Frandomsys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsvp%2Frandomsys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsvp%2Frandomsys/lists"}