Maximal device-independent randomness in every dimension

Summarize this article with:
Nature Physics (2026)Cite this article Many scientific and security protocols rely on sources of unpredictable and private random numbers. Device-independent quantum random number generation is a framework that makes use of the intrinsic randomness of quantum processes to generate numbers that are fundamentally unpredictable according to our current understanding of physics. However, the difficulty of controlling quantum systems makes it challenging to carry out device-independent protocols in practice. It is, therefore, desirable to harness the full power of the quantum degrees of freedom that one can control. It is known that no more than 2 log(d) bits of private device-independent randomness can be extracted from a quantum system of local dimension d. Here we demonstrate that this bound can be achieved for all d by providing a family of explicit protocols. To obtain our result, we develop certification techniques that may be of wider interest in device-independent applications for scenarios in which complete certification by self-testing is impossible or impractical.This is a preview of subscription content, access via your institution Access Nature and 54 other Nature Portfolio journals Get Nature+, our best-value online-access subscription $32.99 / 30 days cancel any timeSubscribe to this journal Receive 12 print issues and online access $259.00 per yearonly $21.58 per issueBuy this articleUSD 39.95Prices may be subject to local taxes which are calculated during checkoutThis work does not have any associated data.Kirkpatrick, S., Gelatt, C. D. & Vecchi, M. P. Optimization by simulated annealing. Science 220, 671 (1983).Article ADS MathSciNet Google Scholar Arora, S. & Barak, B. Computational Complexity: A Modern Approach (Cambridge Univ. Press, 2009).Shannon, C. E. A mathematical theory of communication. Bell Syst. Tech. J. 27, 379 (1948).Article ADS MathSciNet Google Scholar Colbeck, R. Quantum and Relativistic Protocols for Secure Multi-Party Computation. PhD thesis, Univ. Cambridge (2007).Pironio, S. et al. Random numbers certified by Bell’s theorem. Nature 464, 1021 (2010).Article ADS Google Scholar Vazirani, U. & Vidick, T. Certifiable quantum dice: or, true random number generation secure against quantum adversaries. In Proc. ACM Symposium on Theory of Computing 61–76 (ACM, 2012).Rivest, R. L., Shamir, A. & Adleman, L. A method for obtaining digital signatures and public-key cryptosystems. Commun. ACM 21, 120–126 (1978).Article MathSciNet Google Scholar Regev, O. On lattices, learning with errors, random linear codes, and cryptography. J. ACM 56, 34 (2009).Metger, T., Dulek, Y., Coladangelo, A. & Arnon-Friedman, R. Device-independent quantum key distribution from computational assumptions. New J. Phys. 23, 123021 (2021).Article ADS MathSciNet Google Scholar Mazzoncini, F., Bauer, B., Brown, P. & Alléaume, R. Hybrid quantum cryptography from communication complexity. Quantum 9, 1862 (2025).Li, M.-H. et al. Experimental realization of device-independent quantum randomness expansion. Phys. Rev. Lett. 126, 050503 (2021).Article ADS Google Scholar Shalm, L. K. et al. Device-independent randomness expansion with entangled photons. Nat. Phys. 17, 452 (2021).Article Google Scholar Liu, W.-Z. et al. Device-independent randomness expansion against quantum side information. Nat. Phys. 17, 448 (2021).Article Google Scholar IDQ. Quantum random number generation. www.idquantique.com/random-number-generation/overview/ (IDQ, 2025).Toshiba. Quantum random number generators. www.toshiba.eu/pages/eu/Cambridge-Research-Laboratory/quantum-random-number-generators (Toshiba, 2024).Arute, F. et al. Quantum supremacy using a programmable superconducting processor. Nature 574, 505 (2019).Article ADS Google Scholar Madsen, L. S. et al. Quantum computational advantage with a programmable photonic processor. Nature 606, 75 (2022).Article ADS Google Scholar Acharya, R. et al. Suppressing quantum errors by scaling a surface code logical qubit. Nature 614, 676 (2023).Article ADS Google Scholar Borkała, J. J., Jebarathinam, C., Sarkar, S. & Augusiak, R. Device-independent certification of maximal randomness from pure entangled two-qutrit states using non-projective measurements. Entropy 24, 350 (2022).Acín, A., Pironio, S., Vértesi, T. & Wittek, P. Optimal randomness certification from one entangled bit. Phys. Rev. A 93, 040102 (2016).Article ADS Google Scholar Šupić, I. & Bowles, J. Self-testing of quantum systems: a review. Quantum 4, 337 (2020).Article Google Scholar Tavakoli, A., Farkas, M., Rosset, D., Bancal, J.-D. & Kaniewski, J. Mutually unbiased bases and symmetric informationally complete measurements in Bell experiments. Sci. Adv. 7, eabc3847 (2021).Article ADS Google Scholar Brunner, N., Cavalcanti, D., Pironio, S., Scarani, V. & Wehner, S. Bell nonlocality. Rev. Mod. Phys. 86, 419 (2014).Article ADS Google Scholar Arnon-Friedman, R., Dupuis, F., Fawzi, O., Renner, R. & Vidick, T. Practical device-independent quantum cryptography via entropy accumulation. Nat. Commun. 9, 459 (2018).Article ADS Google Scholar Dupuis, F., Fawzi, O. & Renner, R. Entropy accumulation. Commun. Math. Phys. 379, 867 (2020).Article ADS MathSciNet Google Scholar Zhang, Y., Knill, E. & Bierhorst, P. Certifying quantum randomness by probability estimation. Phys. Rev. A 98, 040304 (2018).Article ADS Google Scholar Zhang, Y., Fu, H. & Knill, E. Efficient randomness certification by quantum probability estimation. Phys. Rev. Res. 2, 013016 (2020).Article Google Scholar Tomamichel, M., Colbeck, R. & Renner, R. A fully quantum asymptotic equipartition property. IEEE Trans. Inf. Theory 55, 5840 (2009).Article ADS MathSciNet Google Scholar Bancal, J.-D., Sheridan, L. & Scarani, V. More randomness from the same data. New J. Phys. 16, 033011 (2014).Article ADS Google Scholar Brown, P., Fawzi, H. & Fawzi, O. Computing conditional entropies for quantum correlations. Nat. Commun. 12, 575 (2021).Article ADS Google Scholar Brown, P., Fawzi, H. & Fawzi, O. Device-independent lower bounds on the conditional von Neumann entropy. Quantum 8, 1445 (2024).Article Google Scholar Zauner, G. Quantum designs: foundations of a noncommutative design theory. Int. J. Quantum Inf. 09, 445 (2011).Article MathSciNet Google Scholar Baptista, P. et al. A mathematical foundation for self-testing: lifting common assumptions. Ann. Henri Poincaré https://doi.org/10.1007/s00023-025-01642-3 (2025).Kaniewski, J. Weak form of self-testing. Phys. Rev. Res. 2, 033420 (2020).Article Google Scholar Farkas, M. Unbounded device-independent quantum key rates from arbitrarily small nonlocality. Phys. Rev. Lett. 132, 210803 (2024).Article ADS MathSciNet Google Scholar Vértesi, T. & Bene, E. Two-qubit Bell inequality for which positive operator-valued measurements are relevant. Phys. Rev. A 82, 062115 (2010).Article ADS Google Scholar Bennett, C. H. Quantum cryptography using any two nonorthogonal states. Phys. Rev. Lett. 68, 3121 (1992).Article ADS MathSciNet Google Scholar Renes, J. M. Spherical-code key-distribution protocols for qubits. Phys. Rev. A 70, 052314 (2004).Article ADS MathSciNet Google Scholar Goel, S. et al. Simultaneously sorting overlapping quantum states of light. Phys. Rev. Lett. 130, 143602 (2023).Article ADS Google Scholar Goel, S. et al. Inverse design of high-dimensional quantum optical circuits in a complex medium. Nat. Phys. 20, 232 (2024).Article Google Scholar Coudron, M., Vidick, T. & Yuen, H. in Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (eds Raghavendra, P. et al.) 468–483 (Springer, 2013).Miller, C. A. & Shi, Y. Universal security for randomness expansion from the spot-checking protocol. SIAM J. Comput. 46, 1304 (2017).Article MathSciNet Google Scholar Zhu, F., Tyler, M., Valencia, N. H., Malik, M. & Leach, J. Is high-dimensional photonic entanglement robust to noise? AVS Quantum Sci. 3, 011401 (2021).Article ADS Google Scholar Doda, M. et al. Quantum key distribution overcoming extreme noise: simultaneous subspace coding using high-dimensional entanglement. Phys. Rev. Appl. 15, 034003 (2021).Article ADS Google Scholar Bardyn, C.-E., Liew, T. C. H., Massar, S., McKague, M. & Scarani, V. Device-independent state estimation based on Bell’s inequalities. Phys. Rev. A 80, 062327 (2009).Article ADS Google Scholar Yang, T. H., Vértesi, T., Bancal, J.-D., Scarani, V. & Navascués, M. Robust and versatile black-box certification of quantum devices. Phys. Rev. Lett. 113, 040401 (2014).Article ADS Google Scholar Kaniewski, J. Analytic and nearly optimal self-testing bounds for the Clauser-Horne-Shimony-Holt and Mermin inequalities. Phys. Rev. Lett. 117, 070402 (2016).Article ADS Google Scholar Mančinska, L., Prakash, J. & Schafhauser, C. Constant-sized robust self-tests for states and measurements of unbounded dimension. Commun. Math. Phys. 405, 221 (2024).Article ADS MathSciNet Google Scholar Colomer, M. P., Mortimer, L., Frérot, I., Farkas, M. & Acín, A. Three numerical approaches to find mutually unbiased bases using Bell inequalities. Quantum 6, 778 (2022).Article Google Scholar Farkas, M., Kaniewski, J. & Nayak, A. Mutually unbiased measurements, Hadamard matrices, and superdense coding. IEEE Trans. Inf. Theory 69, 3814 (2023).Article ADS MathSciNet Google Scholar Download referencesR.C., L.M. and S.A.L.S. were in part supported by Villum Fonden via a Villum Young Investigator grant (No. 37532). L.M. and S.A.L.S. additionally acknowledge support from the ERC (QInteract, Grant Agreement No. 101078107). J.V. was supported by the NSF (Grant No. DMS-2348720). We acknowledge the QuantERA II Programme (Grant Agreement No. 101017733, VERIqTAS).Department of Mathematics, University of York, York, UKMáté FarkasDepartment of Mathematics, University of Auckland, Auckland, New ZealandJurij VolčičQMATH, Department of Mathematical Sciences, University of Copenhagen, Copenhagen, DenmarkSigurd A. L. Storgaard & Laura MančinskaQuantum Science Center of Guangdong-Hong Kong-Macao Greater Bay Area, Shenzhen, ChinaRanyiliu ChenSearch author on:PubMed Google ScholarSearch author on:PubMed Google ScholarSearch author on:PubMed Google ScholarSearch author on:PubMed Google ScholarSearch author on:PubMed Google ScholarM.F., J.V., S.A.L.S., R.C. and L.M. conceived the idea, crafted the proofs and prepared the paper.Correspondence to Máté Farkas.The authors declare no competing interests.Nature Physics thanks Yanbao Zhang and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.Technical proofs.Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.Reprints and permissionsFarkas, M., Volčič, J., Storgaard, S.A.L. et al. Maximal device-independent randomness in every dimension. Nat. Phys. (2026). https://doi.org/10.1038/s41567-025-03141-yDownload citationReceived: 20 March 2025Accepted: 20 November 2025Published: 13 January 2026Version of record: 13 January 2026DOI: https://doi.org/10.1038/s41567-025-03141-yAnyone you share the following link with will be able to read this content:Sorry, a shareable link is not currently available for this article. Provided by the Springer Nature SharedIt content-sharing initiative
