Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

International Conference on AI, Data Science, Cyber Security and Smart Manufacturing for Sustainable Development (ICADCS)

Quantum-Assisted Language Generation: Enhancing Token Sampling with True Randomness

B. Dhanalaxmi, Mithil Yaganti, Karthikeya Veruturi, Laxmipathi Balaji Mittapalli, Hanish Kengam

Published May 23, 2026• 0 citations
Publisher

Abstract

Large Language Models (LLMs) generate text through next-token prediction. This process relies on various stochastic sampling methods, particularly Top-p (nucleus) sampling, which allow for creative variability to be added to the samples generated [2]. It is worth noting that the aforementioned variability is mainly attributed to pseudo-random number generators (PRNGs), which are in fact arbitrary and deterministic at the same time. The determinism quality of randomness thus causing a diversity issue in the generated text samples that sometimes imperceptibly but repeatably bias the text quality, eventually leading to the problem of “repetitive generation”. This paper proposes a new rigorous method for presenting the Quantum-Assisted Token Sampling (QATS) approach which entirely replaces the PRNGs-induced classical determinism of the sampling process with the application of true randomness derived from quantum measurement processes. The suggested technique goes further by exploiting the principle of amplitude encoding where the distribution of the top-p token options is mapped onto the quantum state's amplitudes. Following this, a random quantum measurement is made, thereby producing a nondeterministic index that leads to the selected token. The implementation of the proposed QATS method is done using quantum circuit simulators such as Qiskit or Cirq. QATS is evaluated against classical Top-p in metrics that include sequence entropy, Kullback-Leibler (KL) divergence, repetition rates, and n-gram diversity. Simulations on toy probability distributions and small-scale LLM prompts show that QATS achieves$\mathbf{7.4} \boldsymbol{\%}$lower KL divergence and improvements in n-gram diversity (Distinct-2: +0.27%, Distinct 3: +0.16%), with negligible latency over-head enhancing token sampling with true randomness sampling. Challenges like scalability and latency are discussed, with future directions toward NISQ hardware integration.

DOI
10.1109/icadcs70036.2026.11583720

Related papers

Hybrid Generative Intelligence: A Quantum–LLM Framework for Emergent Musical Creativity

Lakshmi Prayaga, Chandra S. Prayaga

Recent paradigm shifts in algorithmic music composition explore the intersection of physical stochastic processes and statistical language modeling. This study introduces the Quantum–LLM Composer, a hybrid generative framework that couples natural-language semantic conditioning with quantum-circuit-derived probability distributions to generate musical sequences. A three-qubit quantum circuit implemented in Qiskit (H, CX, RX, and CRZ gates) produces measurement bitstrings that are mapped modulo-N to defined harmonic scales, while a Large Language Model (GPT-5) interprets user intent into scale, tempo, and instrumentation parameters. Using a corrected, 100-trial-per-system evaluation pipeline with nonparametric significance testing, we show that hardware noise on real IBM Quantum hardware significantly increases Shannon entropy relative to a noiseless simulation of the same circuit (1.864 vs. 1.723 bits; p = 1.5 × 10−7), a pattern we trace to a specific mechanism: the circuit’s exact statevector populates only 4 of 8 possible basis states, and hardware noise measurably leaks probability into the remaining, ideally forbidden states. We further show that the LLM’s semantic output can be coupled directly to the quantum circuit’s own rotation parameters, rather than used only to select instrumentation after the fact, so that the sampled distribution itself is measurably steered by theme (Kruskal–Wallis H = 206.8, p = 1.3 × 10−43 across five themes on the simulator), with the same theme effect and the same noise-elevates-entropy mechanism replicating independently on real quantum hardware. We report these as narrow, falsifiable, and statistically supported findings rather than claims of demonstrated musical superiority over classical pseudo-randomness, and we identify a formal perceptual listening study, an external classical-ML baseline, and a production-parameter (timbre) extension as concrete next steps.

Journal of quantum computing•Jan 1, 2026•0 citations

Quantum noise-driven randomness for password generation: Analysis via simulation and FakeProvider

Rounak Biswas, Utpal Roy

This study introduces a quantum-enhanced approach to password generation using two distinct quantum randomness sources: classical measurement of superposition states and depolarizing noise. These sources overcome the shortcomings of classical pseudo-random number generators. Notably, this work pioneers integrating depolarizing noise as a controlled entropy source alongside superposition, offering a novel alternative to conventional quantum randomness methods. Quantum circuits, implemented via Qiskit, were executed on AerSimulator (idealized simulation) and FakeProvider (hardware-inspired noise model) backends, producing binary sequences through XOR and Concatenation modes. These sequences were converted into passwords of lengths 16 and 25 across datasets of 10K, 100K, and 500K, using Binary Character Mapping and Randomized reseeding methods. Binary entropy’s randomness was verified by the NIST Statistical Test Suite, with all p-values above 0.01. Generated password strength was evaluated through Clustering (Levenshtein distance), Entropy (3.84 to 4.40 bits per character), Hamming Distance, Uniqueness (100 percent), and ZXCVBN scoring (Score 4). Results from both backend-based password datasets were nearly identical, confirming simulated and hardware-based quantum randomness as a reliable and scalable alternative to systems. This work positions quantum noise-driven password generation as a robust cryptographic tool with the potential for real-world security applications.This research investigates the effectiveness of quantum noise, derived from superposition states and depolarizing channels, as a high-entropy source for generating cryptographically secure passwords. Quantum circuits implemented on the AerSimulator and FakeProvider backends produce random binary sequences, which are processed through chaotic mixing and rejection sampling to ensure uniform randomness. These sequences are rigorously evaluated using Shannon entropy, min-entropy and the NIST statistical test suite, alongside password strength assessments via tools like ZXCVBN. Results indicate exceptional randomness, with an average Shannon entropy of 3.84 ± 0.4 bits per character and 100% uniqueness across datasets of 20,000 passwords. The FakeProvider backend slightly outperforms the AerSimulator, achieving full compliance with NIST tests, while both produce passwords with top-tier strength scores (ZXCVBN Score 4). Comparative analyses demonstrate that quantum noise surpasses classical pseudo-random number generators in entropy density and resistance to brute-force and dictionary-based attacks. This study validates quantum noise as a superior entropy source, offering significant potential for enhancing password security in cryptographic applications and paving the way for quantum-enhanced cybersecurity solutions.

International Journal of Quantum Information•Sep 19, 2025•1 citation

True Randomness or Not? Leveraging Quantum Randomness for Test Input Generation in Quantum Software Testing

Mai-Lise Markeng

This thesis investigated how quantum test inputs can be generated in a more flexible and effective manner, addressing key challenges in quantum software testing related to the probabilistic nature of quantum computation, the size of the quantum state space, and the limitations of existing input generation techniques. To overcome these challenges, a generalized framework for constructing quantum input circuits was developed, supporting multiple generation strategies ranging from purely random single-qubit operations to structured entanglement-based circuits and hybrid combinations of both. The experimental evaluation demonstrated that the combined method that integrates both entanglement and random gate operations consistently achieved the highest fault detection rates across all tested programs. This indicates that hybrid circuit structures are better suited for exploring diverse quantum states and revealing distribution-level faults than methods relying solely on random or solely on entanglement-based constructions. The results also demonstrate the feasibility of using true quantum randomness for test input generation in quantum software testing. Although the evaluated programs were too small to expose clear differences between true quantum randomness and simulated randomness, the study shows that quantum-generated randomness can be practically integrated into the testing process. This provides a foundation for future work investigating its potential advantages for larger and more complex quantum programs. Moreover, our approach significantly outperforms the state-of-the-art approach, indicating its ability to explore the quantum state space more broadly. In addition to demonstrating the effectiveness of the proposed methods, this thesis contributes a unified framework that can serve as a foundation for future benchmarking and methodological development in quantum software testing. By enabling controlled comparisons between different circuit construction principles and randomness sources, the framework helps clarify how various input characteristics influence the ability to detect faults. This contributes to a deeper understanding of how quantum inputs should be designed to maximize test coverage and reliability. Overall, the findings of this thesis highlight the importance of combining structural diversity, entanglement, and randomness when generating quantum test inputs. They also show that true quantum randomness is a viable alternative to classical pseudo-randomness, performing on the same level as simulated methods while offering a more physically grounded source of uncertainty. As quantum hardware continues to evolve, the generalized approach presented here provides a flexible and extensible basis for developing more advanced test generation techniques, including guided search, hardware-aware input generation, and multi-objective optimization. These directions represent promising opportunities for future research aimed at improving the robustness and reliability of quantum software systems.

•May 19, 2026•0 citations

Design and Analysis of a Quantum Random Number Platform

Nithin Parvatham, Venkatesh Somagani, Anirudh Alimineti +1 more

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

INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT•Apr 11, 2026•0 citations

Single-Photon Quantum Random Number Generator: Evaluation and Application

Al-Sulaiti, Aisha Abdulaziz Th M.

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.

•Jan 1, 2025•0 citations

Exploring quantum systems for pseudo-random number generation

Luis José Mantilla Santa Cruz, Luis Fernando Faina, João Henrique de Souza Pereira

Quantum realizations have opened a new ways for computer science. The new characteristics and phenomenons allow us to create new algorithms for general proposes. An interesting topic is random number generation. There are two perspectives for this proposes. True random numbers generator (TRN) and pseudo random numbers generator (PRNG). True Random Number Generators has four significant characteristics: randomness, long Period, insensitivity to seeds, repeatability. Additionally, Pseudo Random Number Generators is a fascinating topic that leverages the principles of computer science to craft deterministic algorithms, enabling the creation of a sequence of pseudo-random numbers. A crucial element in this process is the 'seed', which serves as the initial value to generate the entire sequence. This document proposes a algorithm based on a quantum system and the quasi-probability of its possible states to generate a long set of numbers which has pseudo random properties. The quantum system is compound by n qubits, its initial conditions and a small set of rotation gates with a fixed angle. The tests were realized using the battery test called NIST SP800-22, and alpha=0.01 as a threshold to ensures 99\% of precision. The results demonstrate that it is possible generate a long set of pseudo numbers with random characteristics using a quantum simple operation. However, the experiments reveal that a real world implementation require a quantum system with at least 10-9 precision order.

Quantum Studies Mathematics and Foundations•Oct 4, 2024•2 citations
Large Language Models (LLMs) generate text through next-token prediction. This process relies on various stochastic sampling methods, particularly Top-p (nucleus) sampling, which allow for creative variability to be added to the samples generated [2]. It is worth noting that the aforementioned variability is mainly attributed to pseudo-random number generators (PRNGs), which are in fact arbitrary and deterministic at the same time. The determinism quality of randomness thus causing a diversity issue in the generated text samples that sometimes imperceptibly but repeatably bias the text quality, eventually leading to the problem of “repetitive generation”. This paper proposes a new rigorous method for presenting the Quantum-Assisted Token Sampling (QATS) approach which entirely replaces the PRNGs-induced classical determinism of the sampling process with the application of true randomness derived from quantum measurement processes. The suggested technique goes further by exploiting the principle of amplitude encoding where the distribution of the top-p token options is mapped onto the quantum state's amplitudes. Following this, a random quantum measurement is made, thereby producing a nondeterministic index that leads to the selected token. The implementation of the proposed QATS method is done using quantum circuit simulators such as Qiskit or Cirq. QATS is evaluated against classical Top-p in metrics that include sequence entropy, Kullback-Leibler (KL) divergence, repetition rates, and n-gram diversity. Simulations on toy probability distributions and small-scale LLM prompts show that QATS achieves7.4%\mathbf{7.4} \boldsymbol{\%}7.4%lower KL divergence and improvements in n-gram diversity (Distinct-2: +0.27%, Distinct 3: +0.16%), with negligible latency over-head enhancing token sampling with true randomness sampling. Challenges like scalability and latency are discussed, with future directions toward NISQ hardware integration.
Recent paradigm shifts in algorithmic music composition explore the intersection of physical stochastic processes and statistical language modeling. This study introduces the Quantum–LLM Composer, a hybrid generative framework that couples natural-language semantic conditioning with quantum-circuit-derived probability distributions to generate musical sequences. A three-qubit quantum circuit implemented in Qiskit (H, CX, RX, and CRZ gates) produces measurement bitstrings that are mapped modulo-N to defined harmonic scales, while a Large Language Model (GPT-5) interprets user intent into scale, tempo, and instrumentation parameters. Using a corrected, 100-trial-per-system evaluation pipeline with nonparametric significance testing, we show that hardware noise on real IBM Quantum hardware significantly increases Shannon entropy relative to a noiseless simulation of the same circuit (1.864 vs. 1.723 bits; p = 1.5 × 10−7), a pattern we trace to a specific mechanism: the circuit’s exact statevector populates only 4 of 8 possible basis states, and hardware noise measurably leaks probability into the remaining, ideally forbidden states. We further show that the LLM’s semantic output can be coupled directly to the quantum circuit’s own rotation parameters, rather than used only to select instrumentation after the fact, so that the sampled distribution itself is measurably steered by theme (Kruskal–Wallis H = 206.8, p = 1.3 × 10−43 across five themes on the simulator), with the same theme effect and the same noise-elevates-entropy mechanism replicating independently on real quantum hardware. We report these as narrow, falsifiable, and statistically supported findings rather than claims of demonstrated musical superiority over classical pseudo-randomness, and we identify a formal perceptual listening study, an external classical-ML baseline, and a production-parameter (timbre) extension as concrete next steps.
This study introduces a quantum-enhanced approach to password generation using two distinct quantum randomness sources: classical measurement of superposition states and depolarizing noise. These sources overcome the shortcomings of classical pseudo-random number generators. Notably, this work pioneers integrating depolarizing noise as a controlled entropy source alongside superposition, offering a novel alternative to conventional quantum randomness methods. Quantum circuits, implemented via Qiskit, were executed on AerSimulator (idealized simulation) and FakeProvider (hardware-inspired noise model) backends, producing binary sequences through XOR and Concatenation modes. These sequences were converted into passwords of lengths 16 and 25 across datasets of 10K, 100K, and 500K, using Binary Character Mapping and Randomized reseeding methods. Binary entropy’s randomness was verified by the NIST Statistical Test Suite, with all p-values above 0.01. Generated password strength was evaluated through Clustering (Levenshtein distance), Entropy (3.84 to 4.40 bits per character), Hamming Distance, Uniqueness (100 percent), and ZXCVBN scoring (Score 4). Results from both backend-based password datasets were nearly identical, confirming simulated and hardware-based quantum randomness as a reliable and scalable alternative to systems. This work positions quantum noise-driven password generation as a robust cryptographic tool with the potential for real-world security applications.This research investigates the effectiveness of quantum noise, derived from superposition states and depolarizing channels, as a high-entropy source for generating cryptographically secure passwords. Quantum circuits implemented on the AerSimulator and FakeProvider backends produce random binary sequences, which are processed through chaotic mixing and rejection sampling to ensure uniform randomness. These sequences are rigorously evaluated using Shannon entropy, min-entropy and the NIST statistical test suite, alongside password strength assessments via tools like ZXCVBN. Results indicate exceptional randomness, with an average Shannon entropy of 3.84 ± 0.4 bits per character and 100% uniqueness across datasets of 20,000 passwords. The FakeProvider backend slightly outperforms the AerSimulator, achieving full compliance with NIST tests, while both produce passwords with top-tier strength scores (ZXCVBN Score 4). Comparative analyses demonstrate that quantum noise surpasses classical pseudo-random number generators in entropy density and resistance to brute-force and dictionary-based attacks. This study validates quantum noise as a superior entropy source, offering significant potential for enhancing password security in cryptographic applications and paving the way for quantum-enhanced cybersecurity solutions.
This thesis investigated how quantum test inputs can be generated in a more flexible and effective manner, addressing key challenges in quantum software testing related to the probabilistic nature of quantum computation, the size of the quantum state space, and the limitations of existing input generation techniques. To overcome these challenges, a generalized framework for constructing quantum input circuits was developed, supporting multiple generation strategies ranging from purely random single-qubit operations to structured entanglement-based circuits and hybrid combinations of both. The experimental evaluation demonstrated that the combined method that integrates both entanglement and random gate operations consistently achieved the highest fault detection rates across all tested programs. This indicates that hybrid circuit structures are better suited for exploring diverse quantum states and revealing distribution-level faults than methods relying solely on random or solely on entanglement-based constructions. The results also demonstrate the feasibility of using true quantum randomness for test input generation in quantum software testing. Although the evaluated programs were too small to expose clear differences between true quantum randomness and simulated randomness, the study shows that quantum-generated randomness can be practically integrated into the testing process. This provides a foundation for future work investigating its potential advantages for larger and more complex quantum programs. Moreover, our approach significantly outperforms the state-of-the-art approach, indicating its ability to explore the quantum state space more broadly. In addition to demonstrating the effectiveness of the proposed methods, this thesis contributes a unified framework that can serve as a foundation for future benchmarking and methodological development in quantum software testing. By enabling controlled comparisons between different circuit construction principles and randomness sources, the framework helps clarify how various input characteristics influence the ability to detect faults. This contributes to a deeper understanding of how quantum inputs should be designed to maximize test coverage and reliability. Overall, the findings of this thesis highlight the importance of combining structural diversity, entanglement, and randomness when generating quantum test inputs. They also show that true quantum randomness is a viable alternative to classical pseudo-randomness, performing on the same level as simulated methods while offering a more physically grounded source of uncertainty. As quantum hardware continues to evolve, the generalized approach presented here provides a flexible and extensible basis for developing more advanced test generation techniques, including guided search, hardware-aware input generation, and multi-objective optimization. These directions represent promising opportunities for future research aimed at improving the robustness and reliability of quantum software systems.
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 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.
Quantum realizations have opened a new ways for computer science. The new characteristics and phenomenons allow us to create new algorithms for general proposes. An interesting topic is random number generation. There are two perspectives for this proposes. True random numbers generator (TRN) and pseudo random numbers generator (PRNG). True Random Number Generators has four significant characteristics: randomness, long Period, insensitivity to seeds, repeatability. Additionally, Pseudo Random Number Generators is a fascinating topic that leverages the principles of computer science to craft deterministic algorithms, enabling the creation of a sequence of pseudo-random numbers. A crucial element in this process is the 'seed', which serves as the initial value to generate the entire sequence. This document proposes a algorithm based on a quantum system and the quasi-probability of its possible states to generate a long set of numbers which has pseudo random properties. The quantum system is compound by n qubits, its initial conditions and a small set of rotation gates with a fixed angle. The tests were realized using the battery test called NIST SP800-22, and alpha=0.01 as a threshold to ensures 99\% of precision. The results demonstrate that it is possible generate a long set of pseudo numbers with random characteristics using a quantum simple operation. However, the experiments reveal that a real world implementation require a quantum system with at least 10-9 precision order.