skip to main content
10.1145/3508398.3519364acmconferencesArticle/Chapter ViewAbstractPublication PagescodaspyConference Proceedingsconference-collections
poster

Qubit Reset and Refresh: A Gamechanger for Random Number Generation

Published:15 April 2022Publication History

ABSTRACT

Generation of random binary numbers for cryptographic use is often addressed using pseudorandom number generating functions in compilers and specialized cryptographic packages. Using the IBM's Qiskit reset functionality, we were able to implement a straight-forward in-line Python function that returns a list of quantum-generated random numbers, by creating and executing a circuit on IBM quantum systems.

We successfully created a list of 1000 1024-bit binary random numbers as well as a list of 40,000 25-bit binary random numbers for randomness testing, using the NIST Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications. The quantum-generated random data we tested showed very strong randomness, according to the NIST suite.

Previously, IBM's quantum implementation required a single qubit for each bit of data generated in a circuit, making generation of large random numbers impractical. IBM's addition of the reset instruction eliminates this restriction and allows for the creation of functions that can generate a larger quantity of data-bit output, using only a small number of qubits.

Skip Supplemental Material Section

Supplemental Material

CODASPY22-codasp11 Poster Presentation-Qubit Reset and Reuse a game Changer for random number generation.mp4

mp4

107.1 MB

References

  1. NIST Special Publication 800--22: A statistical test suite for random and pseudorandom number generators for cryptographic applications. [Online]. Available: https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800--22r1a.pdfGoogle ScholarGoogle Scholar
  2. Jacak, M.M., Jó?wiak, P., Niemczuk, J. et al. Quantum generators of random numbers. Sci Rep 11, 16108 (2021). https://doi.org/10.1038/s41598-021--95388--7Google ScholarGoogle Scholar
  3. Lam, R., The Math Behind Quantum Computing -- Qubits and Superposition, (2019) https://medium.datadriveninvestor.com/the-math-behind-quantum-computing-qubits-and-superposition-f7a871668125Google ScholarGoogle Scholar
  4. Nation, P., Johnson, B., How to Measure and Reset a Qubit in the Middle of a Circuit Execution, 2021 https://www.ibm.com/blogs/research/2021/02/quantum-mid-circuit-measurement/Google ScholarGoogle Scholar

Index Terms

  1. Qubit Reset and Refresh: A Gamechanger for Random Number Generation

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        CODASPY '22: Proceedings of the Twelfth ACM Conference on Data and Application Security and Privacy
        April 2022
        392 pages
        ISBN:9781450392204
        DOI:10.1145/3508398

        Copyright © 2022 Owner/Author

        Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 15 April 2022

        Check for updates

        Qualifiers

        • poster

        Acceptance Rates

        Overall Acceptance Rate149of789submissions,19%

        Upcoming Conference

        CODASPY '24
      • Article Metrics

        • Downloads (Last 12 months)19
        • Downloads (Last 6 weeks)4

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader