Quantum random number generator (QRNG) platforms use principles of quantum mechanics to create truly random numbers. Traditional pseudo-random number generators (PRNGs) generate numbers based on deterministic formulas. QRNG's use of the principles of superposition and measurement can provide numbers that cannot be predicted or replicated; therefore, they have been used as a source of randomness in various fields. In this research project, an experimental QRNG was designed and built using Qiskit simulations. Each experiment consisted of a series of two-qubit circuits. The circuits were created to place both qubits into an equal probability state. This was done by applying a pair of Hadamard gates (Hadamard gate applies a rotation operator of π/2 radians). Then each circuit was measured. For each measurement, there would be one output from each qubit. Since the Hadamard gate creates an equal-probability superposition, the combination of each qubit will either add up to 1 or subtract from -1. These combinations will be recorded and processed through several methods to evaluate their quality. Those methods include: Shannon Entropy Analysis, Frequency Distribution Analysis and Chi-Square Uniformity Testing. Keywords: Quantum Random Number Generator, Quantum Computing, Quantum Measurement, Cryptography, Secure Randomness, Qiskit Simulation
Quantum random number generator (QRNG) platforms use principles of quantum mechanics to create truly random numbers. Traditional pseudo-random number generators (PRNGs) generate numbers based on deterministic formulas. QRNG's use of the principles of superposition and measurement can provide numbers that cannot be predicted or replicated; therefore, they have been used as a source of randomness in various fields. In this research project, an experimental QRNG was designed and built using Qiskit simulations. Each experiment consisted of a series of two-qubit circuits. The circuits were created to place both qubits into an equal probability state. This was done by applying a pair of Hadamard gates (Hadamard gate applies a rotation operator of π/2 radians). Then each circuit was measured. For each measurement, there would be one output from each qubit. Since the Hadamard gate creates an equal-probability superposition, the combination of each qubit will either add up to 1 or subtract from -1. These combinations will be recorded and processed through several methods to evaluate their quality. Those methods include: Shannon Entropy Analysis, Frequency Distribution Analysis and Chi-Square Uniformity Testing. Keywords: Quantum Random Number Generator, Quantum Computing, Quantum Measurement, Cryptography, Secure Randomness, Qiskit Simulation
Random numbers are a crucial component of any encryption activity in modern cryptography. Quantum Random Number Generators (QRNGs) produce truly random output strings to replace pseudo-random ones. The principle of QRNG relies on measuring qubit states, which excel in quantum computing applications, particularly on IBM's quantum computing platform. To construct a random number generator, the authors utilized IBM Q Experience's Qiskit quantum development toolkit. We developed QRNG applications on IBM quantum computers (7-qubit, 16-qubit, and 127-qubit) and tested the program's functionality on these quantum computing platforms. The quality assessment of the random strings was conducted according to NIST and AIS-31 standards. For NIST standards, to achieve good quality, the output string must reach a minimum of 1,593,088 bits to pass 16 tests per SP800-22 standard. According to AIS-31 standards, to achieve good quality, the output string must reach a minimum of 8,000,000 bits to pass 8 tests of the standard
Quantum computing requires logic operations to be implemented as reversible transformations. Classical combinational circuits must therefore be redesigned using reversible gate structures when mapped to quantum systems. In this work, fundamental quantum digital circuits are implemented using CNOT and Toffoli gates using the Qiskit framework.In addition, an 8-qubit Quantum Random Number Generator (QRNG) is developed and analyzed. Hadamard operations are applied to an 8-qubit register to produce a uniform superposition over 256 states. Measurement in the computational basis generates an 8-bit result per execution. By repeating the circuit 16 independent times and concatenation of the outputs produce a 128-bit random sequence. The QRNG is evaluated using Dirac notation, density operator representation and entropy analysis to verify uniform probability distribution under ideal simulation conditions.Simulation results confirm the correct logical functionality of the reversible arithmetic circuits and demonstrate high entropy random sequence generation using quantum measurement. The presented framework provides a structured approach for implementing digital logic and randomness generation in Qiskit.
Random number generation (RNG) is necessary for secure and random quantum computing operations. This paper proposes and compares two quantum RNG methods: pseudo-random and quasi-random. Hadamard gates are used by the quasi-random method, which is well-suited for errortolerant quantum systems. We compare the two methods with IBM Qiskit using various qubit sizes by running each setup 1,000 times. Critical performance measures such as total simulation time, mean runtime, chi-square value, p-value, and Shannon entropy are quantified to compare efficiency and randomness quality. Quasirandom methods yield higher entropy and more evenly distributed values, especially with larger numbers of qubits. Pseudo-random methods are nevertheless computationally more cost-effective and yield more stable statistical outcomes, which qualify them best for applications where speed is critical. These findings illustrate a quality of randomness versus computational efficiency trade-off that offers insight to selecting the proper RNG technique based on application needs in quantum systems.
Designing novel circuits and models for generating truly random numbers is of great importance. Recent attention has been focused on the idea of using real quantum computers to generate random numbers. In order to generate purely random bits and numbers, one method relies on the natural superposition of quantum gates. Here, we design a Quantum Random Number Generator (QRNG) exploiting combinations of Hadamard and controlled-Hadamard gates in IBM Quantum Experience (QX). In order to verify that the generated bit sequences were truly random, the proposed circuit’s outputs were subjected to the National Institute of Standards and Technology (NIST) test suite. In comparison to previous works, we found that not only had the total number of passed tests increased, but the P-values had also improved in many cases. For example, in the simulation style of the IBM QX, the number of passed tests is 14 out of 15 standard NIST tests. For the experimental mood of the IBM 16Q Melbourne, the number of passed tests is six without using any extractions. Furthermore, one more test is passed by adding Barrier operations to the circuits, and the P-values have increased. As a result, we found that the proposed method had more passed tests than previous works. The average of P-values for the six passed tests in former research for the mood of using a combination of extractors is about 0.43 . However, the best result we can get with our circuits is around 0.60 (the average of P-values for 14 passed tests), which is an improvement of 0.17 compared to former works . Because of this, our circuits are getting ever closer to being a true QRNG.
Truly random integers, which are the absolute requirement for this type of cryptography, are necessary for data security. Conventional PRNGs is deterministically which makes them predicted. This type of weakness is present in them. Unlike conventional algorithms, QRNG uses something very fundamental, quantum physics. It has allowed for a breakthrough in using random numbers that are unpredictable. The main goal of the project to design a system including the QRNG (quantum random number generator) and cloud platform developed by IBM. The system produces robust and ideal output for cryptography while being both effective and efficient. We will conduct detailed and effective tuning and testing so as to increase output. Outputs of this project are a QRNG system built on the cloud that can be connected with cryptographic applications, certified sequence, and informational materials of the organization. With this research of QRNGs synchronized with the IBM cloud platform, we make cryptographic security stronger by using the quantum mechanical method to create truly random numbers. Moreover, QRNGs contribute to the cryptographic applications which are intended to be incredibly secure and of high dependability by providing random numbers to enter the realm of crypto-with very little human participation. Basically, the cloud-based architecture enable systems to scale and possible failure resilience via migrating the workload or storing the data online. Quantum improvements will speed up the process of replacing the currently accepted cryptographic paradigm with something opening new ways of digital communication. This research is about quantum physics, cloud computing, and cryptography, bringing together how these concepts operate, as a result, of the unexpected and secure cryptographic applications.
Random Number Generators (RNGs) are used in various applications, including cryptography, scientific simulations, gaming, and virtual reality. The quality of these random numbers is crucial, especially for computational approaches that rely on unpredictability to produce accurate results. In this thesis, we perform a comprehensive assessment of the quality of a novel Quantum Random Number Generator (QRNG) based on single photon. QRNGs leverage quantum mechanical properties to produce truly random numbers. This ensures high entropy, unpredictability, and security, making QRNGs particularly useful in fields that require high-quality randomness.We evaluate the statistical properties of strings generated by our QRNG and then its practical application by comparing it to traditional Pseudo-Random Number Generators (PRNGs) in Monte Carlo Integration (MCI), a technique that estimates integrals using random sampling. In particular, we use two statistical randomness test suits, namely NIST and Dieharder, to assess the statistical properties of our QRNG. All tests within these tests were passed, confirming that the corresponding QRNG achieves true randomness with sufficient high entropy. Next, we use our QRNG-generated numbers to seed Monte Carlo Integration (MCI) and compare it against results obtained using classical PRNG. The QRNG-based MCI demonstrated more accurate and stable numerical estimates, showing lower error rates and improved convergence compared to PRNG-based simulations.These findings highlight the advantages of QRNGs in enhancing numerical accuracy and computational security. While QRNGs may have slower generation rates than PRNGs, their superior randomness quality allows for more reliable Monte Carlo-based simulations, suggesting that fewer samples may be needed to achieve the same level of accuracy compared to classical PRNGs. This research underscores the potential of QRNG-powered numerical methods, paving the way for their integration into more advanced applications, including scientific computing, financial modeling, and cryptographic security.