{"id":2125,"date":"2026-04-07T09:53:59","date_gmt":"2026-04-07T07:53:59","guid":{"rendered":"https:\/\/www.milq.info\/?page_id=2125"},"modified":"2026-04-07T11:57:28","modified_gmt":"2026-04-07T09:57:28","slug":"topic1","status":"publish","type":"page","link":"https:\/\/www.milq.info\/en\/qti\/basics\/topic1\/","title":{"rendered":"Basic rules &#8211; Topic 1"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><\/p>\n<h1>Quantum Random Number Generator<\/h1>\n<p><a href=\"#video\">Overview Video<\/a> &#8211; <a href=\"#learningmaterial\">Learning Material<\/a> &#8211; <a href=\"#exercises\">Exercises<\/a> &#8211; <a href=\"#information\">Further Information &amp; Literature<\/a> &#8211; <a href=\"#quiz\">Quiz<\/a><\/p>\n<p>If you are unsure about any terms, you can always check the <a class=\"button\" href=\"https:\/\/www.milq.info\/en\/qti\/basics\/glossary\/\">glossary<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"video\">Overview Video<\/h2>\n<p><video src=\"\/QTIndu\/Basics\/EN-1-Video.mp4\" controls=\"controls\" width=\"1920\" height=\"150\"> Dein Browser unterst\u00fctzt dieses Videoformat nicht. Your browser does not support the video tag. <\/video><\/p>\n<hr \/>\n<h2 id=\"learningmaterial\">Learning Material<\/h2>\n<span class=\"bsf-rt-reading-time\"><span class=\"bsf-rt-display-label\" prefix=\"gesch\u00e4tzte Lesezeit\/estimated reading time:\">\n\t\t<\/span> <span class=\"bsf-rt-display-time\" reading_time=\"8\"><\/span> \n\t\t<span class=\"bsf-rt-display-postfix\" postfix=\"Minuten\/minutes\"><\/span><\/span>\n<p>The generation of random numbers is an important aspect in several applications: It is important for the generation of secret keys and cryptography, for gambling machines and games of chance in general, for some numerical methods and for Quantum Key Distribution, i.e. secure communication. These applications need and rely on &#8220;real&#8221; random numbers, numbers that cannot be predicted or calculated. Even small statistical errors in secret keys generated by non-real random numbers have a negative impact on security. Today, many systems use pseudo-random number generators (pseudo-RNGs), which are deterministic, predictable and calculable due to the deterministic nature of the algorithms. True RNGs, on the other hand, also appear random and are based on complex, practically unpredictable phenomena, but are in principle still deterministic.<\/p>\n<p>In the context of this relevance, we are faced with a fundamental problem: classical physics is deterministic. Everything in classical physics can &#8211; theoretically &#8211; be calculated, given enough knowledge about the initial conditions. Even seemingly random experiments &#8211; such as the flip of a coin or the roll of a dice &#8211; can be calculated if you know the initial conditions (air movement, forces acting on the object, etc.). In the same way, classical computing uses deterministic algorithms and routines to generate random numbers. These are called pseudo-random number generators. Classical computers are not able to generate real random numbers; the numbers generated appear to be random, but are in principle deterministic and computable.<\/p>\n<p>So we need a theoretical framework that allows us to generate truly random numbers. In physics, quantum physics is the only theory with truly inherent randomness. Individual events are unpredictable and actually happen randomly. In contrast to classical physics, the effects do not appear to be random, they are random. This is proven by experimental setups that show that Bell&#8217;s Inequality does not hold (see Nobel prize in physics 2022). We will not discuss Bell&#8217;s Inequality here, that would go beyond the scope of this course. Instead, we want to emphasise and explain the random nature of quantum physics, which is summarised in the following basic rule:<\/p>\n<h3>Basic Rule 1: Statistical Behavior<\/h3>\n<p>&nbsp;<\/p>\n<blockquote><p>Single events are not predictable, they are random. Only statistical predictions (for many repetitions) are possible in quantum physics.<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>To explain the basic rule, let us discuss an example. We will build a quantum RNG, a random number generator based on quantum processes. For simplicity, we will focus on a quantum RNG that gives us a random sequence of &#8220;0&#8221; and &#8220;1&#8221; with a probability of 50% for &#8220;0&#8221; and a probability of 50% for &#8220;1&#8221;. To realise the experiment, we need two single-photon detectors, a single-photon emitter and a 50-50 beam splitter. By the way, it should be noted that single-photon detectors and emitters are not trivial tools, on the contrary, they are complex devices. However, we will not delve into the underlying technology. What is important to us is that we have two single-photon detectors, A and B, and a single-photon emitter. If detector A detects a single photon emitted by the single-photon emitter, we code this as &#8220;0&#8221;. If detector B detects a single photon, we code it as \u201c1\u201c. The 50-50 beamsplitter is placed between detector A and the single photon emitter. If the single photon is transmitted it will be detected by detector A, if it is reflected it will be detected by detector B. The probability of transmission is 50%, the probability of reflection is 50% (hence the 50-50 beam splitter).<\/p>\n<p>&nbsp;<\/p>\n<figure style=\"width: 1280px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" src=\"\/QTIndu\/Basics\/EN-1-Image-1.png\" alt=\"Dein Browser unterst\u00fctzt dieses Bildformat nicht. Your browser does not support the image format.\" width=\"1280\" \/><figcaption class=\"wp-caption-text\">A simplified example of a QRNG-setup is shown.<\/figcaption><\/figure>\n<p>With this experimental setup, the basic rule becomes clear. If we emit a single photon, we cannot predict at which detector it will be detected. It can be detected in A or B, resulting in a \u201c0\u201c or a \u201c1\u201c. Since the measurement results are not predetermined or there are no unknown circumstances, the result is random and unpredictable.<\/p>\n<p>If we repeat the experiment many times, say 1 million times, we can make statistical predictions. In our case, we would predict that 50% of the single photons will be detected in detector A, resulting in a &#8220;0&#8221;, and 50% will be detected in detector B, resulting in a &#8220;1&#8221;. This is only a statistical prediction, it does not mean that exactly 500,000 single photons will be detected in detector A and exactly 500,000 in detector B. It just means that with a high number of repetitions the relative frequency of detection in detector A and in detector B will likely tend towards 50%.<\/p>\n<p>Another interesting phenomenon of this experiment is that we never detect a photon at two detectors at the same time, i.e. we never get &#8220;0&#8221; and &#8220;1&#8221; at the same time. This indicates that individual photons are indivisible and behave like particles when measured. The photon is detected either on the transmission path (detector A) or on the reflection path (detector B). From indivisible photons we conclude that light, which is made up of many photons, is quantised.<\/p>\n<hr \/>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-16\" class=\"h5p-iframe\" data-content-id=\"16\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"QTI-EN-Basics-1-1\"><\/iframe><\/div>\n<hr \/>\n<h2 id=\"exercises\">Exercises<\/h2>\n<h3>Exercise 1:<\/h3>\n<p>Name basic rule 1 and explain its meaning.<\/p>\n<h3>Exercise 2:<\/h3>\n<p>Descrie the meaning of Pseudo-RNG, True-RNG and Quantum-RNG.<\/p>\n<h3>Exercise 3:<\/h3>\n<p>Explain the special feature of Quantum-RNGs as opposed to Pseudo- and True-RNGs.<\/p>\n<h3>Exercise 4:<\/h3>\n<p>We want to build a Quantum RNG that manages to give us three different types of random numbers: &#8220;0&#8221;, &#8220;1&#8221; and &#8220;2&#8221;. We want to make sure that the probability of getting &#8220;0&#8221; is 50%, the probability of getting &#8220;1&#8221; is 25%, and the probability of getting &#8220;2&#8221; is also 25%. Sketch an experimental setup for this QRNG. Explain the setup and how the final probabilities come out.<\/p>\n<figure style=\"width: 1280px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" src=\"\/QTIndu\/Basics\/EN-1-Image-2.png\" alt=\"Dein Browser unterst\u00fctzt dieses Bildformat nicht. Your browser does not support the image format.\" width=\"1280\" \/><figcaption class=\"wp-caption-text\">An example of an experimental setup to build a QRNG which gives three different types of random numbers is shown.<\/figcaption><\/figure>\n<h3>Solutions:<\/h3>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-18\" class=\"h5p-iframe\" data-content-id=\"18\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"QTI-EN-Basics-1-2\"><\/iframe><\/div>\n<hr \/>\n<h2 id=\"information\">Further Information &amp; Literature<\/h2>\n<p><strong>Original anticoincidence experiment:<\/strong> Grangier, P., Roger, G. &amp; Aspect, A. (1986). Experimental Evidence for a Photon Anticorrelation Effect on a Beam Splitter: A New Light on Single-Photon Interferences. <em>Europhysics Letters<\/em>, <em>1(4)<\/em>, <em>173-179<\/em>.<\/p>\n<p><strong>Video about random number generators [idquantique]:<\/strong> <a href=\"https:\/\/www.youtube.com\/watch?v=Da9ie7OVO-g\" target=\"_blank\" rel=\"noopener\">Youtube-Video<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Bundesamt f\u00fcr Sicherheit in der Informationstechnik (2021). <em>Kryptografie quantensicher gestalten: Grundlagen, Entwicklungen, Empfehlungen<\/em>. BSI Bonn.<\/p>\n<p>ID Quantique (2020). <em>RANDOM NUMBER GENERATION WHITE PAPER: What is the Q in QRNG?<\/em> ID Quantique SA. Switzerland.<\/p>\n<p>ID Quantique (2023). <em>RANDOM NUMBER GENERATION WHITE PAPER: Quantum versus Classical Random Number Generators<\/em>. ID Quantique SA. Switzerland.<\/p>\n<p>M\u00fcller, R. &amp; Greinert, F. (2024). <em>Quantum Technologies: For Engineers<\/em>. De Gruyter.<\/p>\n<p>Quantum Flagship (n.Y.). <em>Quantum Random Numbers Generator<\/em>. Online: <a href=\"https:\/\/qt.eu\/quantum-principles\/sensing-and-metrology\/qrng\" target=\"_blank\" rel=\"noopener\">https:\/\/qt.eu\/quantum-principles\/sensing-and-metrology\/qrng<\/a>. [last access: 27-07-2023].<\/p>\n<hr \/>\n<h2 id=\"quiz\">Quiz<\/h2>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-20\" class=\"h5p-iframe\" data-content-id=\"20\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"QTI-EN-Basics-1-3\"><\/iframe><\/div>\n<p style=\"text-align: right;\"><a class=\"button\" href=\"https:\/\/www.milq.info\/en\/qti\/basics\/topic2\/\">Continue to Topic 2<\/a><\/p>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Quantum Random Number Generator Overview Video &#8211; Learning Material &#8211; Exercises &#8211; Further Information &amp; Literature &#8211; Quiz If you are unsure about any terms, you can always check the glossary. &nbsp; Overview Video Dein Browser unterst\u00fctzt dieses Videoformat nicht. Your browser does not support the video tag. Learning Material The generation of random numbers&hellip; <a href=\"https:\/\/www.milq.info\/en\/qti\/basics\/topic1\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Basic rules &#8211; Topic 1<\/span><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"parent":2073,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2125","page","type-page","status-publish","hentry","without-featured-image"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Basic rules - Topic 1 - milq<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milq.info\/qti\/basics\/topic1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Basic rules - Topic 1 - milq\" \/>\n<meta property=\"og:description\" content=\"Quantum Random Number Generator Overview Video &#8211; Learning Material &#8211; Exercises &#8211; Further Information &amp; Literature &#8211; Quiz If you are unsure about any terms, you can always check the glossary. &nbsp; Overview Video Dein Browser unterst\u00fctzt dieses Videoformat nicht. Your browser does not support the video tag. Learning Material The generation of random numbers&hellip; Continue reading Basic rules &#8211; Topic 1\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milq.info\/qti\/basics\/topic1\/\" \/>\n<meta property=\"og:site_name\" content=\"milq\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-07T09:57:28+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.milq.info\\\/qti\\\/basics\\\/topic1\\\/\",\"url\":\"https:\\\/\\\/www.milq.info\\\/qti\\\/basics\\\/topic1\\\/\",\"name\":\"Basic rules - Topic 1 - milq\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.milq.info\\\/#website\"},\"datePublished\":\"2026-04-07T07:53:59+00:00\",\"dateModified\":\"2026-04-07T09:57:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.milq.info\\\/qti\\\/basics\\\/topic1\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.milq.info\\\/qti\\\/basics\\\/topic1\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.milq.info\\\/qti\\\/basics\\\/topic1\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/www.milq.info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"QTIndu &#8211; Quantum Technologies Courses for Industry\",\"item\":\"https:\\\/\\\/www.milq.info\\\/qti\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Grundprinzipien der Quantenphysik\",\"item\":\"https:\\\/\\\/www.milq.info\\\/qti\\\/basics\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Die Grundprinzipien &#8211; Thema 1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.milq.info\\\/#website\",\"url\":\"https:\\\/\\\/www.milq.info\\\/\",\"name\":\"milq\",\"description\":\"Quantenphysik in der Schule\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.milq.info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Basic rules - Topic 1 - milq","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milq.info\/qti\/basics\/topic1\/","og_locale":"en_US","og_type":"article","og_title":"Basic rules - Topic 1 - milq","og_description":"Quantum Random Number Generator Overview Video &#8211; Learning Material &#8211; Exercises &#8211; Further Information &amp; Literature &#8211; Quiz If you are unsure about any terms, you can always check the glossary. &nbsp; Overview Video Dein Browser unterst\u00fctzt dieses Videoformat nicht. Your browser does not support the video tag. Learning Material The generation of random numbers&hellip; Continue reading Basic rules &#8211; Topic 1","og_url":"https:\/\/www.milq.info\/qti\/basics\/topic1\/","og_site_name":"milq","article_modified_time":"2026-04-07T09:57:28+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milq.info\/qti\/basics\/topic1\/","url":"https:\/\/www.milq.info\/qti\/basics\/topic1\/","name":"Basic rules - Topic 1 - milq","isPartOf":{"@id":"https:\/\/www.milq.info\/#website"},"datePublished":"2026-04-07T07:53:59+00:00","dateModified":"2026-04-07T09:57:28+00:00","breadcrumb":{"@id":"https:\/\/www.milq.info\/qti\/basics\/topic1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milq.info\/qti\/basics\/topic1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milq.info\/qti\/basics\/topic1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/www.milq.info\/"},{"@type":"ListItem","position":2,"name":"QTIndu &#8211; Quantum Technologies Courses for Industry","item":"https:\/\/www.milq.info\/qti\/"},{"@type":"ListItem","position":3,"name":"Grundprinzipien der Quantenphysik","item":"https:\/\/www.milq.info\/qti\/basics\/"},{"@type":"ListItem","position":4,"name":"Die Grundprinzipien &#8211; Thema 1"}]},{"@type":"WebSite","@id":"https:\/\/www.milq.info\/#website","url":"https:\/\/www.milq.info\/","name":"milq","description":"Quantenphysik in der Schule","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milq.info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/pages\/2125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/comments?post=2125"}],"version-history":[{"count":18,"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/pages\/2125\/revisions"}],"predecessor-version":[{"id":2321,"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/pages\/2125\/revisions\/2321"}],"up":[{"embeddable":true,"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/pages\/2073"}],"wp:attachment":[{"href":"https:\/\/www.milq.info\/en\/wp-json\/wp\/v2\/media?parent=2125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}