<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Complex Syst.</journal-id>
<journal-title>Frontiers in Complex Systems</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Complex Syst.</abbrev-journal-title>
<issn pub-type="epub">2813-6187</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1379464</article-id>
<article-id pub-id-type="doi">10.3389/fcpxs.2024.1379464</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Complex Systems</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Experimental estimation of sample entropy in a semiconductor laser with optical feedback for random number generation</article-title>
<alt-title alt-title-type="left-running-head">Okuma et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fcpxs.2024.1379464">10.3389/fcpxs.2024.1379464</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Okuma</surname>
<given-names>Tomohiko</given-names>
</name>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Kanno</surname>
<given-names>Kazutaka</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/2149814/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Uchida</surname>
<given-names>Atsushi</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2105857/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/project-administration/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff>
<institution>Department of Information and Computer Sciences</institution>, <institution>Saitama University</institution>, <addr-line>Saitama</addr-line>, <country>Japan</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2148436/overview">Fan-Yi Lin</ext-link>, National Tsing Hua University, Taiwan</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/220788/overview">Miguel Cornelles Soriano</ext-link>, University of the Balearic Islands, Spain</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2179153/overview">Alexandre Locquet</ext-link>, Centre National de la Recherche Scientifique (CNRS), France</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Atsushi Uchida, <email>auchida@mail.saitama-u.ac.jp</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>09</day>
<month>04</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>2</volume>
<elocation-id>1379464</elocation-id>
<history>
<date date-type="received">
<day>31</day>
<month>01</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>21</day>
<month>03</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Okuma, Kanno and Uchida.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Okuma, Kanno and Uchida</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Estimating the entropy rate of physical random number generators with uncertainty is crucial for information security applications. We evaluate the sample entropy of chaotic temporal waveforms generated experimentally by a semiconductor laser with time-delayed optical feedback. We demonstrate random number generation with uncertainty using a quantitative measurement of the entropy rate.</p>
</abstract>
<kwd-group>
<kwd>entropy rate</kwd>
<kwd>sample entropy</kwd>
<kwd>semiconductor lasers</kwd>
<kwd>chaos</kwd>
<kwd>random number generation</kwd>
<kwd>information security</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Control and Engineering of Complex Systems</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Physical random number generators have attracted increasing interest for engineering applications in information security and numerical simulations. Physical random number generators are based on physical random phenomena, and the sequences generated from physical random number generators are, in principle, unpredictable and irreproducible (<xref ref-type="bibr" rid="B16">Uchida, 2012</xref>). However, the speed of physical random number generators based on noise in electronic circuits is limited to tens of megabits per second (Mb/s). To enhance the generation speed, physical random number generators based on chaotic semiconductor lasers have been proposed (<xref ref-type="bibr" rid="B17">Uchida et al., 2008</xref>), where physical random numbers are generated at a rate of gigabits per second (Gb/s). Several post-processing methods have been applied to improve the randomness of the generated bit sequences, such as least significant bit (LSB) extraction and bit-order reversal (<xref ref-type="bibr" rid="B1">Akizawa et al., 2012</xref>). Using these post-processing methods, the speed of random number generation based on chaotic semiconductor lasers can be improved at a rate of up to terabits per second (Tb/s) (<xref ref-type="bibr" rid="B14">Sakuraba et al., 2015</xref>). Real-time random number generation uses a photonic integrated circuit and FPGA (<xref ref-type="bibr" rid="B18">Ugajin et al., 2017</xref>). Recently, physical random number generation at a rate of 250&#xa0;Tb/s was reported using the spatiotemporal dynamics of a specially designed semiconductor laser with curved facets (<xref ref-type="bibr" rid="B9">Kim et al., 2021</xref>).</p>
<p>An important issue in high-speed random number generation is that its speed of random number generation may exceed the entropy rate (i.e., the uncertainty generation rate) of the physical entropy sources (<xref ref-type="bibr" rid="B7">Hart et al., 2017</xref>). High-speed random number generation can be achieved by introducing complex post-processing; however, the entropy rate cannot be enhanced by post-processing. The entropy rate of physical random number generators must be evaluated to ensure the uncertainty and unpredictability of the generated bit sequences (<xref ref-type="bibr" rid="B7">Hart et al., 2017</xref>).</p>
<p>Several measures of entropy rate have been reported in the literature. One of the most common entropy measures is the Kolmogorov-Sinai (KS) entropy in nonlinear dynamical systems (<xref ref-type="bibr" rid="B4">Eckmann and Ruelle, 1985</xref>). The KS entropy can be calculated from the sum of positive Lyapunov exponents. However, a numerical model is required to obtain a reliable estimation of multiple Lyapunov exponents (i.e., the Lyapunov spectrum), and linearized equations of the numerical model are used to calculate the KS entropy (<xref ref-type="bibr" rid="B16">Uchida, 2012</xref>). Therefore, it is difficult to estimate the KS entropy obtained from experimentally measured chaotic temporal waveforms using physical entropy sources.</p>
<p>The (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy has been reported as a measure of entropy rate, which can be directly calculated from experimentally obtained temporal waveforms (<xref ref-type="bibr" rid="B3">Cohen and Procaccia, 1985</xref>; <xref ref-type="bibr" rid="B5">Gaspard and Wang, 1993</xref>; <xref ref-type="bibr" rid="B8">Kawaguchi et al., 2021</xref>). The (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy requires the discretization and quantization of temporal waveforms using the quantization interval <italic>&#x3b5;</italic> of the amplitude and the sampling interval <italic>&#x3c4;</italic> of the time. This is useful for estimating the entropy of the experimental data because they are already discretized and quantized.</p>
<p>One of the issues of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy is the fact that a large number of sampling data is required when <italic>&#x3b5;</italic> and <italic>&#x3c4;</italic> are small. In addition, the number of data points within the distance <italic>&#x3b5;</italic> is diminished when the length of reference vectors <italic>d</italic> is increased for a finite number of sampled data. Therefore, revised versions of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy have been proposed to reduce the computational cost, such as the sample entropy and the approximate entropy (<xref ref-type="bibr" rid="B12">Richman and Moorman, 2000</xref>; <xref ref-type="bibr" rid="B19">Yentes et al., 2013</xref>), where the algorithms of the entropy estimation process are simplified. Statistical tests of entropy estimation for physical random number generators were proposed by the National Institute of Standards and Technology (NIST) Special Publication (SP) 800&#x2013;90B (<xref ref-type="bibr" rid="B2">Barker and Kelsey, 2016</xref>).</p>
<p>The estimation of entropy rate in chaotic laser dynamics has been investigated (<xref ref-type="bibr" rid="B6">Hagerstrom et al., 2015</xref>; <xref ref-type="bibr" rid="B10">Li et al., 2016</xref>). The estimation of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy has been reported using chaotic temporal waveforms generated from a semiconductor laser with optical injection (<xref ref-type="bibr" rid="B8">Kawaguchi et al., 2021</xref>). In addition, the entropy rate of white chaos generated from optical heterodyne signals was evaluated using NIST SP 800-90B (<xref ref-type="bibr" rid="B20">Yoshiya et al., 2020</xref>). However, an entropy evaluation method for photonic dynamic systems is yet to be developed. In particular, simplified techniques, such as sample entropy, have not been applied to the chaotic dynamics in semiconductor lasers with time-delayed optical feedback. Therefore, it is crucial to develop a concrete method for obtaining a simple and reliable estimation of the entropy rate from experimental data.</p>
<p>In this study, we experimentally evaluate the entropy rate of chaotic temporal waveforms generated by a semiconductor laser with time-delayed optical feedback. We focus on the sample entropy and compare it with other entropy for reliable estimation. We generate random bit sequences from a chaotic semiconductor laser and evaluate the randomness of the bit sequences and the entropy rate of the physical source to guarantee the random number generation with uncertainty.</p>
</sec>
<sec id="s2">
<title>2 Entropy rate estimation</title>
<sec id="s2-1">
<title>2.1 Methods for estimation of (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy and sample entropy</title>
<p>In this section, we describe the calculation method of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy and sample entropy. We prepare a chaotic temporal waveform of laser intensity generated by a semiconductor laser with optical feedback (<xref ref-type="bibr" rid="B16">Uchida, 2012</xref>). The temporal waveform is sampled at a sampling interval <italic>&#x3c4;</italic>, as shown in <xref ref-type="fig" rid="F1">Figure 1</xref>. The discrete time <italic>t</italic> is represented as <italic>i&#x3c4;</italic> (<italic>i</italic> &#x3d; 1,2, &#x2026;, <italic>N</italic>, where <italic>N&#x3c4;</italic> is the total length of the temporal waveform). The amplitude of the temporal waveform is quantized at a quantization interval <italic>&#x3b5;</italic>. Next, we randomly select a sampling point <inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> in the temporal waveform, which is called the reference data, and prepare a reference vector <inline-formula id="inf2">
<mml:math id="m2">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> with vector length <italic>d</italic>. The reference vector <inline-formula id="inf3">
<mml:math id="m3">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is expressed as follows:<disp-formula id="e1">
<mml:math id="m4">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>
</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Schematic of the calculation of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy and the sample entropy.</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g001.tif"/>
</fig>
<p>The distance between two vectors <inline-formula id="inf4">
<mml:math id="m5">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf5">
<mml:math id="m6">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> (<inline-formula id="inf6">
<mml:math id="m7">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2260;</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>) is defined by calculating the maximum value of the difference in each vector component as follows.<disp-formula id="e2">
<mml:math id="m8">
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
</mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mtable columnalign="center">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:mfenced open="|" close="|" separators="|">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>d</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
</p>
<p>We calculate the probability <inline-formula id="inf7">
<mml:math id="m9">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> of the existence of the neighboring vectors within the distance <italic>&#x3b5;</italic> as follows.<disp-formula id="e3">
<mml:math id="m10">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>;</mml:mo>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>[</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>]</mml:mo>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <inline-formula id="inf8">
<mml:math id="m11">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>;</mml:mo>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>[</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>]</mml:mo>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> represents the number of the neighboring vectors within the distance <italic>&#x3b5;</italic> and <inline-formula id="inf9">
<mml:math id="m12">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> indicates the total number of the vectors <inline-formula id="inf10">
<mml:math id="m13">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula>. The value of <inline-formula id="inf11">
<mml:math id="m14">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is calculated for different sampling points <italic>i</italic>. The average of the base 2 (binary) logarithm of <inline-formula id="inf12">
<mml:math id="m15">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is calculated for the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy as follows.<disp-formula id="e4">
<mml:math id="m16">
<mml:mrow>
<mml:msup>
<mml:mi>A</mml:mi>
<mml:mi>d</mml:mi>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>R</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msub>
<mml:mi>log</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>&#x2061;</mml:mo>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mrow>
<mml:mtext>for&#x2009;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>&#x3b5;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mtext>&#x2009;entropy</mml:mtext>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>where <inline-formula id="inf13">
<mml:math id="m17">
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> denotes the number of reference data points. By contrast, for the sample entropy, the average of <inline-formula id="inf14">
<mml:math id="m18">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is calculated first, and the logarithm of the average value is calculated as follows:<disp-formula id="e5">
<mml:math id="m19">
<mml:mrow>
<mml:msup>
<mml:mi>A</mml:mi>
<mml:mi>d</mml:mi>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mo>&#x2061;</mml:mo>
<mml:msub>
<mml:mi>log</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>R</mml:mi>
</mml:munderover>
</mml:mstyle>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mtext>for&#x2009;sample&#x2009;entropy</mml:mtext>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>The entropy <inline-formula id="inf15">
<mml:math id="m20">
<mml:mrow>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is obtained from the difference between <inline-formula id="inf16">
<mml:math id="m21">
<mml:mrow>
<mml:msup>
<mml:mi>A</mml:mi>
<mml:mi>d</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf17">
<mml:math id="m22">
<mml:mrow>
<mml:msup>
<mml:mi>A</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> as follows.<disp-formula id="e6">
<mml:math id="m23">
<mml:mrow>
<mml:mi>E</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mi>A</mml:mi>
<mml:mi>d</mml:mi>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mi>A</mml:mi>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mtext>bit</mml:mtext>
<mml:mo>/</mml:mo>
<mml:mtext>sample</mml:mtext>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
</p>
<p>The entropy rate is obtained by dividing the entropy <inline-formula id="inf18">
<mml:math id="m24">
<mml:mrow>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> by <italic>&#x3c4;</italic> as follows.<disp-formula id="e7">
<mml:math id="m25">
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>E</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mtext>&#x2003;</mml:mtext>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mtext>bit</mml:mtext>
<mml:mo>/</mml:mo>
<mml:mtext>second</mml:mtext>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
</p>
<p>The entropy rate relies on both the quantization and sampling intervals (<italic>&#x3b5;</italic> and <italic>&#x3c4;</italic>) of chaotic temporal waveforms and the vector length <italic>d</italic>. It has been known that the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy converges to the KS entropy under the limit of <inline-formula id="inf19">
<mml:math id="m26">
<mml:mrow>
<mml:mi>&#x3b5;</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf20">
<mml:math id="m27">
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
<mml:mo>&#x2192;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> (<xref ref-type="bibr" rid="B3">Cohen and Procaccia, 1985</xref>; <xref ref-type="bibr" rid="B5">Gaspard and Wang, 1993</xref>).</p>
<p>For the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy, when <inline-formula id="inf21">
<mml:math id="m28">
<mml:mrow>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is set to be too small, <inline-formula id="inf22">
<mml:math id="m29">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> can be zero, and Eq. <xref ref-type="disp-formula" rid="e4">4</xref> diverges to negative infinity. To avoid this issue, the reference vector is considered as the neighboring vector, so that <inline-formula id="inf23">
<mml:math id="m30">
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mi>u</mml:mi>
<mml:mi>m</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>e</mml:mi>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mfenced open="[" close="]" separators="|">
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>;</mml:mo>
<mml:mtext>&#x2009;</mml:mtext>
<mml:mi>d</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mo>[</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
<mml:mo>]</mml:mo>
<mml:mo>&#x2264;</mml:mo>
<mml:mi>&#x3b5;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is one or larger. By contrast, this modification is not required for sample entropy because the average of <inline-formula id="inf24">
<mml:math id="m31">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is first calculated, and the logarithm of the averaged probability is obtained. Therefore, the sample entropy is expected to be more reliable for a large <italic>d</italic>.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Experimental results</title>
<sec id="s3-1">
<title>3.1 Experimental setup and chaotic temporal waveforms</title>
<p>
<xref ref-type="fig" rid="F2">Figure 2</xref> shows the experimental setup for generating chaotic temporal waveforms in a semiconductor laser with time-delayed optical feedback. A distributed-feedback (DFB) semiconductor laser (NTT Electronics, KELD1C5GAAA) was used as a light source. The injection current of the semiconductor laser was set to 38.5&#xa0;mA (3.5 times the lasing threshold). A fiber reflector was used to produce time-delayed optical feedback for the laser to generate chaotic laser outputs. The feedback delay time was set to 25.0&#xa0;ns. The feedback power is set to 58&#xa0;&#x3bc;W, which corresponds to the feedback ratio of 0.008 compared with the laser power. The chaotic temporal dynamics of the laser intensity can be obtained using time-delayed optical feedback. The chaotic temporal waveforms were converted into electric signals using a photoreceiver (Newport, 1554-B, 12&#xa0;GHz bandwidth). The converted electric signals were measured using a digital oscilloscope (Tektronix, DPO73304D, 33&#xa0;GHz bandwidth, maximum sampling rate of 100 GigaSample/s (GS/s), and 8-bit vertical resolution). The sampled data were stored on a digital oscilloscope and were used to estimate the entropy rate. The radio frequency (RF) spectra of the electric signals were observed using an RF spectrum analyzer (Agilent Technologies, N9010A-544, 44&#xa0;GHz bandwidth).</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Experimental setup for generating chaotic temporal waveforms in a semiconductor laser with time-delayed optical feedback.</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g002.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F3">Figure 3</xref> shows the experimental results for the chaotic temporal waveform of the laser intensity, the corresponding RF spectrum, and a histogram of the amplitude of the chaotic temporal waveform. Chaotic temporal waveforms are obtained and broad spectral components are observed in the RF spectrum. In addition, the histogram of the chaotic temporal waveforms appears to be asymmetric, as shown in <xref ref-type="fig" rid="F3">Figure 3C</xref>. This asymmetry can be eliminated by subtracting the original chaotic signal from its time-delayed signal (<xref ref-type="bibr" rid="B11">Reidler et al., 2009</xref>) to improve the statistical characteristics of the generated random bits. However, our goal is to estimate the entropy rate of the original chaotic signal, and we use the chaotic data with the asymmetric histogram shown in <xref ref-type="fig" rid="F3">Figure 3C</xref>. The chaotic temporal waveforms are acquired so that their standard deviation is set to &#x3c3; &#x3d; 32 in the 8-bit vertical resolution with a range of [-128, 127], where the histogram is ranged within &#xb1;4&#x3c3;.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Experimental results of <bold>(A)</bold> the chaotic temporal waveform of the laser intensity, <bold>(B)</bold> the corresponding radio-frequency (RF) spectrum, and <bold>(C)</bold> the histogram of the amplitude of the chaotic temporal waveform.</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g003.tif"/>
</fig>
</sec>
<sec id="s3-2">
<title>3.2 Entropy rate estimation</title>
<p>We estimate the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy and sample entropy of the experimentally obtained chaotic temporal waveforms in <xref ref-type="fig" rid="F3">Figure 3</xref>. The parameter values for the entropy estimation are set as follows: The sampling interval of <italic>&#x3c4;</italic> &#x3d; 100&#xa0;ps (10&#xa0;GHz in frequency), the quantization resolution of <italic>&#x3b5;</italic> &#x3d; 2<sup>8-<italic>n</italic>
</sup> for Most Significant Bits <italic>n</italic> (MSBs <italic>n</italic>) in the 8-bit vertical resolution with the range of [-128, 127], the number of sampling data of <italic>N</italic> &#x3d; 10<sup>9</sup>, and the number of reference data of <italic>R</italic> &#x3d; 10<sup>5</sup>. We use a notation of &#x201c;MSBs <italic>n</italic>&#x201d; for multiple bits generated from the 1st, 2nd, &#x2026;, and <italic>n</italic>th MSB at one sampling point. The remaining bits from the (<italic>n</italic>&#x2b;1)-th MSB, &#x2026;, and 8th MSB are discarded from the original 8-bit data. The 8th MSB corresponds to the 1st least significant bit (LSB) of 8-bit data. For example, MSBs 3 corresponds to three bits, including the 1st, 2nd, and 3rd MSB of the 8-bit data. We also use a notation of &#x201c;the <italic>n</italic>th MSB&#x201d; for a single bit generated from only the <italic>n</italic>th MSB at one sampling point (see <xref ref-type="sec" rid="s4-2">Section 4.2</xref>).</p>
<p>
<xref ref-type="fig" rid="F4">Figure 4</xref> shows the comparison of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy and the sample entropy for different MSBs <italic>n</italic> (i.e., different <italic>&#x3b5;</italic> &#x3d; 2<sup>8-<italic>n</italic>
</sup>) when the vector length <italic>d</italic> is increased. <italic>&#x3c4;</italic> is fixed at 100&#xa0;ps. In <xref ref-type="fig" rid="F4">Figure 4A</xref>, the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy decreases for a large <italic>d</italic> and large MSBs <italic>n</italic> (a small <italic>&#x3b5;</italic>). Plateaus are not observed when <italic>d</italic> or <italic>n</italic> increases. By contrast, in <xref ref-type="fig" rid="F4">Figure 4B</xref>, the sample entropy shows large plateau regions for all MSBs. The entropy at the plateau can be considered as the estimated value of the sample entropy. Therefore, the sample entropy can be estimated even for large MSBs <italic>n</italic>, and it is more reliable than the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Comparison of <bold>(A)</bold> the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy and <bold>(B)</bold> the sample entropy for different MSBs <italic>n</italic> (different <italic>&#x3b5;</italic> &#x3d; 2<sup>8-<italic>n</italic>
</sup>) when the vector length <italic>d</italic> is increased. The black dotted line corresponds to <italic>d</italic> &#x3d;5, whose crossing points are used to estimate the value of entropy for different MSBs <italic>n</italic>.</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g004.tif"/>
</fig>
<p>To investigate the difference between <xref ref-type="fig" rid="F4">Figures 4A, B</xref>, we plot the probability of having the value of <inline-formula id="inf25">
<mml:math id="m32">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> in <inline-formula id="inf26">
<mml:math id="m33">
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> reference data when <italic>d</italic> is increased for MSBs 4, as shown in <xref ref-type="fig" rid="F5">Figure 5</xref>. In <xref ref-type="fig" rid="F5">Figure 5A</xref>, the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy for MSBs 4 decreases as the probability of <inline-formula id="inf27">
<mml:math id="m34">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> increases for a large <italic>d</italic>, and the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy becomes zero when the probability of <inline-formula id="inf28">
<mml:math id="m35">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> reaches one. Therefore, it is difficult to correctly estimate the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy when the two neighboring vectors within the distance &#x3b5; do not exist. By contrast, in <xref ref-type="fig" rid="F5">Figure 5B</xref>, the sample entropy remains constant with an increase in <italic>d</italic>, even though the probability of <inline-formula id="inf29">
<mml:math id="m36">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> increases and is close to one. This result originates from the average calculation of <inline-formula id="inf30">
<mml:math id="m37">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> for <inline-formula id="inf31">
<mml:math id="m38">
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> reference data before creating a logarithm, as shown in Eq. <xref ref-type="disp-formula" rid="e5">5</xref>. Therefore, the sample entropy is more robust when the number of neighboring vectors within the distance <italic>&#x3b5;</italic> is reduced for a large number of <italic>d</italic> and MSBs <italic>n</italic>.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>
<bold>(A)</bold> (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy and <bold>(B)</bold> the sample entropy for MSBs 4 when the vector length <italic>d</italic> is increased (the blue curve). The probability of having the value of <inline-formula id="inf32">
<mml:math id="m39">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> in <inline-formula id="inf33">
<mml:math id="m40">
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> reference data are also plotted (the red curve).</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g005.tif"/>
</fig>
<p>From <xref ref-type="fig" rid="F4">Figures 4</xref>, <xref ref-type="fig" rid="F5">5</xref>, we found that the sample entropy is less dependent on MSBs <italic>n</italic> than the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy. This result is explained by the comparison of <xref ref-type="fig" rid="F5">Figures 5A, B</xref>, where the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy decreases as the probability of <inline-formula id="inf34">
<mml:math id="m41">
<mml:mrow>
<mml:msubsup>
<mml:mi>A</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>d</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula> increases, while the sample entropy remains the same value. Therefore, sample entropy can provide an entropy measurement for larger MSBs <italic>n</italic>. We consider this characteristic to be a general feature of other data used for entropy measurements.</p>
<p>Next, we change the quantization interval <italic>&#x3b5;</italic> and the corresponding MSBs <italic>n</italic>. <xref ref-type="fig" rid="F6">Figure 6</xref> shows the comparison of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy and the sample entropy obtained from the values of the plateaus shown in <xref ref-type="fig" rid="F4">Figures 4A, B</xref>, where the vector length is set to <italic>d</italic> &#x3d; 5. In <xref ref-type="fig" rid="F6">Figure 6</xref>, the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy can be estimated reliably up to MSBs 3, because of the lack of the plateaus in <xref ref-type="fig" rid="F4">Figure 4A</xref>. By contrast, the sample entropy can be obtained up to MSBs 8 (i.e., all 8 bits), as shown in <xref ref-type="fig" rid="F4">Figure 4B</xref>. <xref ref-type="fig" rid="F6">Figure 6</xref> shows the maximum sample entropy (5.0) for MSBs 8. In addition, a sample entropy of more than one bit can be obtained for MSBs 4 or more MSBs. This result indicates that random number generation with uncertainty (i.e., entropy generation) can be achieved using one bit generated from MSBs 4 or larger.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Comparison of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy (the red curve) and the sample entropy (the black curve) obtained from the values of the plateaus shown in <xref ref-type="fig" rid="F4">Figures 4A, B</xref>, where the vector length is set to <italic>d</italic> &#x3d; 5. The blue dotted line indicates the sample entropy of 1.</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g006.tif"/>
</fig>
<p>We also change the sampling interval <italic>&#x3c4;</italic>, corresponding to the inverse of the sampling frequency <italic>f</italic>
<sub>
<italic>s</italic>
</sub> (&#x3d;1/<italic>&#x3c4;</italic>). <xref ref-type="fig" rid="F7">Figure 7</xref> shows the sample entropy for different <italic>f</italic>
<sub>
<italic>s</italic>
</sub> values when <italic>n</italic> is changed. The quantization interval <italic>&#x3b5;</italic> &#x3d; 2<sup>8-<italic>n</italic>
</sup> is also changed. The vector length is set to <italic>d</italic> &#x3d; 5. The sample entropy increases for large MSBs <italic>n</italic>. In addition, higher entropy is obtained when <italic>f</italic>
<sub>
<italic>s</italic>
</sub> is reduced. The sample entropy is saturated when <italic>f</italic>
<sub>
<italic>s</italic>
</sub> is reduced to 10&#xa0;GS/s or smaller (<italic>&#x3c4;</italic> &#x3d; 100&#xa0;ps or larger).</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Sample entropy for different sampling frequency <italic>f</italic>
<sub>
<italic>s</italic>
</sub> (&#x3d;1/<italic>&#x3c4;</italic>) when MSBs <italic>n</italic> is changed. The quantization interval <italic>&#x3b5;</italic> &#x3d; 2<sup>8-<italic>n</italic>
</sup> is also changed. The vector length is set to <italic>d</italic> &#x3d; 5.</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g007.tif"/>
</fig>
<p>From <xref ref-type="fig" rid="F7">Figure 7</xref>, the entropy rate is calculated by multiplying the estimated sample entropy by the sampling frequency. We can obtain an entropy up to MSBs 6 for <italic>f</italic>
<sub>
<italic>s</italic>
</sub> &#x3d; 25 and 50&#xa0;GS/s, and MSBs 8 for 10&#xa0;GS/s or less, because of the existence of plateaus, as shown in <xref ref-type="fig" rid="F4">Figure 4B</xref>. In <xref ref-type="fig" rid="F7">Figure 7</xref>, a sample entropy of 5.0&#xa0;at <italic>f</italic>
<sub>
<italic>s</italic>
</sub> &#x3d; 10&#xa0;GS/s is obtained for MSBs 8, and the corresponding entropy rate is 50&#xa0;GHz (&#x3d;5.0 <inline-formula id="inf35">
<mml:math id="m42">
<mml:mrow>
<mml:mo>&#xd7;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> 10&#xa0;GS/s). In another case, a sample entropy of 1.0&#xa0;at 50&#xa0;GS/s is obtained for MSBs 5, and the entropy rate is 50&#xa0;GHz (&#x3d;1.0 <inline-formula id="inf36">
<mml:math id="m43">
<mml:mrow>
<mml:mo>&#xd7;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> 50&#xa0;GS/s) as well. The same entropy rate can be obtained for different combinations of the sampling rate and number of MSBs. Therefore, an entropy rate of 50&#xa0;GHz is obtained for the chaotic temporal waveforms of the laser intensity generated in the experiment.</p>
</sec>
<sec id="s3-3">
<title>3.3 Validation of sample entropy</title>
<p>To confirm the validity of the sample entropy estimation, we use the <italic>de facto</italic> standard of statistical tests of entropy evaluation for physical random number generators, known as NIST SP 800-90B (<xref ref-type="bibr" rid="B2">Barker and Kelsey, 2016</xref>). We obtain signals with <italic>n</italic>-bit vertical resolutions (MSBs <italic>n</italic>) for the NIST SP 800-90B tests and evaluate the minimum entropy of the <italic>n</italic>-bit signals generated from the physical entropy sources. The statistical tests consist of ten different entropy evaluations. The minimum value of the entropy evaluations in the ten tests is selected as the final estimate. We select the MSBs <italic>n</italic> of the 8-bit data (<italic>n</italic> bits) and evaluate the entropy of MSBs <italic>n</italic>. The maximum entropy corresponds to <italic>n</italic> for the data of MSBs <italic>n</italic>. We use 1 Mega point data to evaluate the entropy using NIST SP 800-90B.</p>
<p>
<xref ref-type="fig" rid="F8">Figure 8</xref> compares the sample entropy and minimum entropy values obtained from NIST SP 800-90B. The sampling frequency is set to <italic>f</italic>
<sub>
<italic>s</italic>
</sub> &#x3d; 10&#xa0;GS/s (<italic>&#x3c4;</italic> &#x3d; 100&#xa0;ps). Both of the entropy values increase as the number of MSBs increases. In addition, the sample entropy is smaller than that obtained using NIST SP 800-90B for all the MSBs. This result indicates that the sample entropy is underestimated compared with the entropy of NIST SP 800-90B. The sample entropy is close to the entropy of NIST SP 800-90B for MSBs 5 and 6. The overall characteristics coincides between the sample entropy and entropy of NIST SP 800-90B.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Comparison of the sample entropy (the black curve) and the minimum value of the entropy obtained from NIST SP 800-90B (the blue curve). The sampling frequency is set to <italic>f</italic>
<sub>
<italic>s</italic>
</sub> &#x3d; 10&#xa0;GS/s (<italic>&#x3c4;</italic> &#x3d; 100&#xa0;ps).</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g008.tif"/>
</fig>
</sec>
</sec>
<sec id="s4">
<title>4 Random number generation with uncertainty</title>
<sec id="s4-1">
<title>4.1 Estimation of entropy of noise signals</title>
<p>In this section, we evaluate the entropy rate of chaotic temporal waveforms used for physical random number generation. First, we evaluate the entropy of the noise signals to distinguish the origin of the entropy from stochastic noise and deterministic chaos. <xref ref-type="fig" rid="F9">Figure 9A</xref> shows the temporal waveform of the experimentally obtained noise signals. The noise signal is detected using the digital oscilloscope and the photoreceiver without optical injection from the semiconductor laser (see <xref ref-type="fig" rid="F2">Figure 2</xref>). The vertical range of the amplitude is set to be the same as that for the chaotic signals, as shown in <xref ref-type="fig" rid="F3">Figure 3A</xref>.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>
<bold>(A)</bold> Temporal waveform and <bold>(B)</bold> sample entropy of the noise signal obtained in experiment. The vector length is set to <italic>d</italic> &#x3d; 5.</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g009.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F9">Figure 9B</xref> shows the sample entropy of the noise signals obtained in the experiment. The sample entropy is zero between MSBs 1 and 5, and the entropy for more than MSBs 5 has a positive value. Here, MSBs 5 consists of the 1st, 2nd, &#x2026;, and 5th MSB, and the 6th, 7th, and 8th MSB, which are the most sensitive to noise, are not included in MSBs 5. This result indicates that entropy originating from stochastic noise exists in the data of MSBs 6 or larger. Therefore, we use data of MSBs 5 or less for physical random number generation to avoid the contribution of stochastic noise to entropy.</p>
</sec>
<sec id="s4-2">
<title>4.2 Statistical evaluation of random number generation</title>
<p>We generate physical random bit sequences using minimum post-processing based on a bitwise XOR operation between the original and time-delayed signals (<xref ref-type="bibr" rid="B15">Takahashi et al., 2014</xref>; <xref ref-type="bibr" rid="B14">Sakuraba et al., 2015</xref>). First, chaotic temporal waveforms are sampled and converted into 8-bit signals. The 8-bit signal and its time-delayed signal are stored, and a bitwise XOR operation is performed between the original and time-delayed signals. The delay time is set to 3.0&#xa0;ns (30 sampling points at the sampling interval of <italic>&#x3c4;</italic> &#x3d; 100&#xa0;ps) to avoid the correlation between the original and time-delayed chaotic signals. The <italic>n</italic>th MSB of the resultant bits is extracted and combined with the signals sampled at different times as random bit sequences. Note that the <italic>n</italic>th MSB indicates only one bit at the <italic>n</italic>th bit counted from the 1st MSB, which differs from MSBs <italic>n</italic> used in the previous sections (i.e., MSBs <italic>n</italic> include the 1st, 2nd, &#x2026;, and <italic>n</italic>th MSB). One bit obtained at the <italic>n</italic>th MSB is combined with different sampled data points, and <italic>N</italic>&#xa0;bits are generated from <italic>N</italic> sampled data points for each <italic>n</italic>th MSB.</p>
<p>To evaluate the statistical randomness of the generated bit sequences, we use NIST SP 800-22 tests (<xref ref-type="bibr" rid="B13">Rukhin et al., 2010</xref>), which are <italic>de facto</italic> standard tests for the statistical evaluation of random numbers. These statistical tests evaluate the statistical randomness of the bits (0 or 1) generated from the random number generators. NIST SP 800-22 consists of 15 statistical tests, and the random bits that pass all statistical tests are considered high-quality random numbers.</p>
<p>
<xref ref-type="fig" rid="F10">Figure 10A</xref> shows the results of NIST SP 800-22&#xa0;at a sampling frequency of <italic>f</italic>
<sub>
<italic>s</italic>
</sub> &#x3d; 50&#xa0;GS/s. The bit sequences generated from the 5th MSB or higher can pass all 15 tests However, the bit sequences generated from the 4th MSB or less fails to some tests. This result indicates that the 5th MSB can be used as a random number. <xref ref-type="fig" rid="F10">Figure 10B</xref> shows the results of NIST SP 800-22 for different sampling frequencies ranging from <italic>f</italic>
<sub>
<italic>s</italic>
</sub> &#x3d; 2 to 25&#xa0;GS/s. The 4th MSB or higher can pass all NIST tests in these cases. Therefore, the 4th MSB is also useful as a random number when <italic>f</italic>
<sub>
<italic>s</italic>
</sub> is reduced to 25&#xa0;GS/s or less.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Result of NIST SP 800-22 for the bit sequences generated from the <italic>n</italic>th MSB at the sampling frequency of <bold>(A)</bold> <italic>f</italic>
<sub>
<italic>s</italic>
</sub> &#x3d; 50&#xa0;GS/s and <bold>(B)</bold> <italic>f</italic>
<sub>
<italic>s</italic>
</sub> &#x3d; 2, 5, 10, and 25&#xa0;GS/s. All 15 tests need to be passed for high-quality random numbers.</p>
</caption>
<graphic xlink:href="fcpxs-02-1379464-g010.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="s5">
<title>5 Discussion</title>
<p>From the results in <xref ref-type="fig" rid="F7">Figures 7</xref>, <xref ref-type="fig" rid="F9">9</xref>, <xref ref-type="fig" rid="F10">10</xref>, we consider that data with the 4th or 5th MSB are useful for random number generation with uncertainty. From <xref ref-type="fig" rid="F7">Figure 7</xref>, an entropy greater than one can be generated for MSBs 5 sampled at 50&#xa0;GS/s, and for MSBs 4 sampled at 25&#xa0;GS/s or less. Therefore, at least one random bit can be extracted from the data. From <xref ref-type="fig" rid="F9">Figure 9</xref>, we must avoid data of MSBs 6 or larger to distinguish the origin of the entropy from stochastic noise and deterministic chaos. From <xref ref-type="fig" rid="F10">Figure 10</xref>, we can confirm that all NIST SP 800-22 tests are passed for the 5th MSB sampled at 50&#xa0;GS/s and the 4th MSB sampled at 25&#xa0;GS/s or less. Data of small MSBs correlate with neighboring bits and that the randomness of these bits is not sufficiently high. By contrast, data of large MSBs are affected by stochastic noise, which can be avoided when we consider the contribution of entropy only from a deterministic chaotic signal and not from stochastic noise. Therefore, an intermediate MSB (e.g., the 4th or 5th MSB) is useful for extracting one random bit with uncertainty.</p>
<p>Our results show that an entropy of more than one bit can be obtained from the bit sequences generated from MSBs 5, which includes the 1st, 2nd, &#x2026;, and 5th MSB, as measured by NIST SP 800-90B tests. In addition, the bit sequences generated from the 4th or 5th MSB can pass the statistical tests of randomness, as measured by the NIST SP 800-22 tests. The entropy measurement using NIST SP 800-90B requires <italic>n</italic>-bit data (<italic>n</italic> &#x2265; 1), whereas the measurement of statistical bias using NIST SP 800-22 requires 1-bit data. Therefore, different data formats are used for the measurement of entropy and statistical bias.</p>
<p>The entropy can be generated by a small change in two vectors <inline-formula id="inf37">
<mml:math id="m44">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf38">
<mml:math id="m45">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mi mathvariant="bold-italic">d</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> <inline-formula id="inf39">
<mml:math id="m46">
<mml:mrow>
<mml:mfenced open="(" close=")" separators="|">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x2260;</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:math>
</inline-formula> for MSBs <italic>n</italic> data when the vector length increases from <italic>d</italic> to <italic>d</italic>&#x2b;1, defined by Eq. <xref ref-type="disp-formula" rid="e6">6</xref>. In most cases, the distance of one of the elements between the two vectors is slightly over the quantization interval <italic>&#x3b5;</italic> &#x3d; 2<sup>8-<italic>n</italic>
</sup> when entropy is generated, described as in Eq. <xref ref-type="disp-formula" rid="e3">3</xref>. This indicates that uncertainty of the two vectors appears at the least significant bit of the MSB <italic>n</italic> data (i.e., the <italic>n</italic>th MSB). Therefore, we consider that the <italic>n</italic>th MSB must contain most uncertainty among other bits of MSBs <italic>n</italic> when MSBs <italic>n</italic> data can pass NIST SP 800-90B. We thus recommend using the 4th MSB (sampled at 25&#xa0;GS/s or less) or 5th MSB (sampled at 50&#xa0;GS/s) to generate random bit sequences with both uncertainty and no statistical bias.</p>
<p>We compare our results to those of a previous study (<xref ref-type="bibr" rid="B8">Kawaguchi et al., 2021</xref>). In the previous work, the entropy was calculated only from MSBs 1 to 3, because they used the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy. As seen in <xref ref-type="fig" rid="F4">Figure 4</xref> of this study, the estimation of entropy for larger MSBs <italic>n</italic> is difficult by using the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy. Instead, we perform the estimation of entropy for all MSBs <italic>n</italic> (1 &#x2264; <italic>n</italic> &#x2264; 8) by using the sample entropy. We have not obtained the same result as in the previous work quantitatively (i.e., the use of the 3rd MSB is the best for random number generation in the previous work, whereas the use of the 4th or 5th MSB is the best in this study). However, the conclusions of the previous and current studies are qualitatively consistent, that is, an intermediate MSB of 8-bit data is useful for physical random number generation with uncertainty.</p>
<p>In this study, we consider only the additive noise originating from the measurement equipment (e.g., noise in the photodetector, electric amplifier, and digital oscilloscope). We do not focus on the intrinsic multiplicative noise in laser dynamics (e.g., spontaneous emission noise). The inclusion of intrinsic noise is an important topic that will be investigated in future work.</p>
</sec>
<sec sec-type="conclusion" id="s6">
<title>6 Conclusion</title>
<p>We experimentally evaluated the sample entropy of chaotic temporal waveforms in a semiconductor laser with optical feedback. We found the reliable estimation of the sample entropy even for a large vector length <italic>d</italic>, whereas the estimation of the (<italic>&#x3b5;</italic>,<italic>&#x3c4;</italic>) entropy is limited for a large <italic>d</italic>. We estimated the sample entropy at different sampling intervals and determined the conditions for random number generation with an entropy of more than one bit at an entropy rate of 50&#xa0;GHz. The validity of the sample entropy was confirmed by a comparison with the results of NIST SP 800-90B. We also generated random bit sequences and evaluated their statistical randomness of the generated bits. All NIST SP 800-22 tests were passed for the bit sequences generated from the 5th MSB sampled at 50&#xa0;GS/s and the 4th MSB sampled at 25&#xa0;GS/s. Random number generation with more than one-bit of entropy was demonstrated using the 4th or 5th MSB as a physical random number generator with uncertainty.</p>
<p>The methodology for estimating the sample entropy is promising for evaluating physical random number generators based on various physical entropy sources. Physical random number generators with uncertainty are required for information-security and cryptography applications.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s7">
<title>Data availability statement</title>
<p>The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s8">
<title>Author contributions</title>
<p>TO: Data curation, Formal Analysis, Investigation, Resources, Software, Visualization, Writing&#x2013;review and editing. KK: Data curation, Formal Analysis, Investigation, Software, Validation, Writing&#x2013;review and editing. AU: Conceptualization, Funding acquisition, Investigation, Methodology, Project administration, Supervision, Writing&#x2013;original draft, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s9">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. This work was supported in part by Grants-in-Aid for Scientific Research from the Japan Society for the Promotion of Science (JSPS KAKENHI; Grant Nos. JP19H00868, JP20K15185, and JP22H05195), JST CREST, Japan (JPMJCR17N2), and the Telecommunications Advancement Foundation.</p>
</sec>
<sec sec-type="COI-statement" id="s10">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
<p>The author(s) declared that they were an editorial board member of Frontiers, at the time of submission. This had no impact on the peer review process and the final decision.</p>
</sec>
<sec sec-type="disclaimer" id="s11">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Akizawa</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yamazaki</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Harayama</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Sunada</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Arai</surname>
<given-names>K.</given-names>
</name>
<etal/>
</person-group> (<year>2012</year>). <article-title>Fast random number generation with bandwidth-enhanced chaotic semiconductor lasers at 8 &#x00D7; 50 Gb/s</article-title>. <source>IEEE Photonics Technol. Lett.</source> <volume>24</volume> (<issue>12</issue>), <fpage>1042</fpage>&#x2013;<lpage>1044</lpage>. <pub-id pub-id-type="doi">10.1109/lpt.2012.2193388</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Barker</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Kelsey</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Recommendation for the entropy sources used for random bit generation</article-title>. <source>NIST Draft Special Publication.</source>, <fpage>800</fpage>&#x2013;<lpage>90B</lpage>. <comment>second draft</comment>.</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cohen</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Procaccia</surname>
<given-names>I.</given-names>
</name>
</person-group> (<year>1985</year>). <article-title>Computing the Kolmogorov entropy from time signals of dissipative and conservative dynamical systems</article-title>. <source>Phys. Rev. A</source> <volume>31</volume> (<issue>3</issue>), <fpage>1872</fpage>&#x2013;<lpage>1882</lpage>. <pub-id pub-id-type="doi">10.1103/physreva.31.1872</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Eckmann</surname>
<given-names>J. P.</given-names>
</name>
<name>
<surname>Ruelle</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>1985</year>). <article-title>Ergodic theory of chaos and strange attractors</article-title>. <source>Rev. Mod. Phys.</source> <volume>57</volume>, <fpage>617</fpage>&#x2013;<lpage>656</lpage>. <pub-id pub-id-type="doi">10.1103/revmodphys.57.617</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gaspard</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.-J.</given-names>
</name>
</person-group> (<year>1993</year>). <article-title>Noise, chaos, and (&#x3b5;, &#x3c4;)-entropy per unit time</article-title>. <source>Phys. Rep.</source> <volume>235</volume> (<issue>6</issue>), <fpage>291</fpage>&#x2013;<lpage>343</lpage>. <pub-id pub-id-type="doi">10.1016/0370-1573(93)90012-3</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hagerstrom</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Murphy</surname>
<given-names>T. E.</given-names>
</name>
<name>
<surname>Roy</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Harvesting entropy and quantifying the transition from noise to chaos in a photon-counting feedback loop</article-title>. <source>Proc. Natl. Acad. Sci. USA.</source> <volume>112</volume> (<issue>30</issue>), <fpage>9258</fpage>&#x2013;<lpage>9263</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1506600112</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hart</surname>
<given-names>J. D.</given-names>
</name>
<name>
<surname>Terashima</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Baumgartner</surname>
<given-names>G. B.</given-names>
</name>
<name>
<surname>Murphy</surname>
<given-names>T. E.</given-names>
</name>
<name>
<surname>Roy</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Recommendations and illustrations for the evaluation of photonic random number generators</article-title>. <source>Apl. Photonics</source> <volume>2</volume> (<issue>9</issue>), <fpage>090901</fpage>. <pub-id pub-id-type="doi">10.1063/1.5000056</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kawaguchi</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Okuma</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Kanno</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Entropy rate of chaos in an optically injected semiconductor laser for physical random number generation</article-title>. <source>Opt. Express</source> <volume>29</volume>, <fpage>2442</fpage>. <pub-id pub-id-type="doi">10.1364/oe.411694</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kim</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Bittner</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zeng</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Guazzotti</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Hess</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Q. J.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Massively parallel ultrafast random bit generation with a chip-scale laser</article-title>. <source>Science</source> <volume>371</volume>, <fpage>948</fpage>&#x2013;<lpage>952</lpage>. <pub-id pub-id-type="doi">10.1126/science.abc2666</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>X.-Z.</given-names>
</name>
<name>
<surname>Zhuang</surname>
<given-names>J.-P.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>S.-S.</given-names>
</name>
<name>
<surname>Gao</surname>
<given-names>J.-B.</given-names>
</name>
<name>
<surname>Chan</surname>
<given-names>S.-C.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Randomness evaluation for an optically injected chaotic semiconductor laser by attractor reconstruction</article-title>. <source>Phys. Rev. E</source> <volume>94</volume>, <fpage>042214</fpage>. <pub-id pub-id-type="doi">10.1103/physreve.94.042214</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Reidler</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Aviad</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Rosenbluh</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kanter</surname>
<given-names>I.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>Ultrahigh-speed random number generation based on a chaotic semiconductor laser</article-title>. <source>Phys. Rev. Lett.</source> <volume>103</volume>, <fpage>024102</fpage>. <pub-id pub-id-type="doi">10.1103/physrevlett.103.024102</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Richman</surname>
<given-names>J. S.</given-names>
</name>
<name>
<surname>Moorman</surname>
<given-names>J. R.</given-names>
</name>
</person-group> (<year>2000</year>). <article-title>Physiological time-series analysis using approximate entropy and sample entropy</article-title>. <source>Am. J. Physiology. Heart Circulatory Physiology</source> <volume>278</volume>, <fpage>H2039</fpage>&#x2013;<lpage>H2049</lpage>. <pub-id pub-id-type="doi">10.1152/ajpheart.2000.278.6.h2039</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Rukhin</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Soto</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Nechvatal</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Smid</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Barker</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Leigh</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>2010</year>). <source>National Institute of standards and Technology (NIST), Special Publication 800-22, revision 1a</source>.</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sakuraba</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Iwakawa</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Kanno</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Tb/s physical random bit generation with bandwidth-enhanced chaos in three-cascaded semiconductor lasers</article-title>. <source>Opt. Express</source> <volume>23</volume> (<issue>2</issue>), <fpage>1470</fpage>&#x2013;<lpage>1490</lpage>. <pub-id pub-id-type="doi">10.1364/oe.23.001470</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Takahashi</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Akizawa</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Harayama</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Tsuzuki</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Sunada</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>2014</year>). <article-title>Fast physical random bit generation with photonic integrated circuits with different external cavity lengths for chaos generation</article-title>. <source>Opt. Express</source> <volume>22</volume> (<issue>10</issue>), <fpage>11727</fpage>&#x2013;<lpage>11740</lpage>. <pub-id pub-id-type="doi">10.1364/oe.22.011727</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2012</year>). <source>Optical Communication with Chaotic Lasers, Applications of Nonlinear Dynamics and Synchronization</source>. <publisher-loc>Weinheim</publisher-loc>: <publisher-name>Wiley-VCH</publisher-name>.</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Amano</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Inoue</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Hirano</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Naito</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Someya</surname>
<given-names>H.</given-names>
</name>
<etal/>
</person-group> (<year>2008</year>). <article-title>Fast physical random bit generation with chaotic semiconductor lasers</article-title>. <source>Nat. Photonics</source> <volume>2</volume>, <fpage>728</fpage>&#x2013;<lpage>732</lpage>. <pub-id pub-id-type="doi">10.1038/nphoton.2008.227</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ugajin</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Terashima</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Iwakawa</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Harayama</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Yoshimura</surname>
<given-names>K.</given-names>
</name>
<etal/>
</person-group> (<year>2017</year>). <article-title>Real-time fast physical random number generator with a photonic integrated circuit</article-title>. <source>Opt. Express</source> <volume>25</volume> (<issue>6</issue>), <fpage>6511</fpage>&#x2013;<lpage>6523</lpage>. <pub-id pub-id-type="doi">10.1364/oe.25.006511</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yentes</surname>
<given-names>J. M.</given-names>
</name>
<name>
<surname>Hunt</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Schmid</surname>
<given-names>K. K.</given-names>
</name>
<name>
<surname>Kaipust</surname>
<given-names>J. P.</given-names>
</name>
<name>
<surname>McGrath</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Stergiou</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>The appropriate use of approximate entropy and sample entropy with short data sets</article-title>. <source>Ann. Biomed. Eng.</source> <volume>41</volume> (<issue>2</issue>), <fpage>349</fpage>&#x2013;<lpage>365</lpage>. <pub-id pub-id-type="doi">10.1007/s10439-012-0668-3</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yoshiya</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Terashima</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Kanno</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Uchida</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Entropy evaluation of white chaos generated by optical heterodyne for certifying physical random number generators</article-title>. <source>Opt. Express</source> <volume>28</volume> (<issue>3</issue>), <fpage>3686</fpage>&#x2013;<lpage>3698</lpage>. <pub-id pub-id-type="doi">10.1364/oe.382234</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>