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

arXiv:2604.21274

Random Access Codes: Explicit Constructions, Optimality, and Classical-Quantum Gaps

Ruho Kondo, Yuki Sato, Hiroshi Yano, Yota Maeda, Kosuke Ito, Naoki Yamamoto

quant-phcs.ITSubmitted Apr 23, 2026• Announced Apr 24, 2026• 0 citations• Revised May 17, 2026 (v2)
v1 · Apr 23, 2026v2 · May 17, 2026v3 · Jul 16, 2026
arXivHTMLPDF

Abstract

A random access code (RAC) encodes an $L$-bit string into a $k$-bit message, where $L>k$, such that any requested bit can be decoded with high probability; a quantum RAC (QRAC) replaces the message with $k$ qubits. This paper provides a geometric characterization of optimal classical $(L,k)$-RACs under both average and worst-case success criteria. We show that the average problem reduces to selecting $2^k$ representatives in $\{0,1\}^L$, whereas the worst-case problem reduces to selecting $2^k$ points in $[0,1]^L$ that minimize a distance-like objective. This framework establishes optimality for several parameter families $(L,k)$, with optimal constructions in many cases realized by standard infinite families of binary linear codes. For the parameter family $(2^k-1,k)$, we prove the worst-case optimality of a classical construction and present an explicit QRAC whose worst-case success probability is strictly higher than the classical optimum, thereby establishing a classical--quantum separation for this family. For the parameter family $(L,L-1)$, the framework identifies a classical RAC construction that is optimal under the average criterion and, assuming a stated conjecture, also optimal under the worst-case criterion. As a by-product, the same geometric viewpoint recovers explicit $(L,L-1)$-QRACs similar to existing constructions that attain the value of an upper bound conjectured in prior work to be tight.

Comments
21 pages, 3 figures, 5 tables

Related papers

Improved classical and quantum random access codes

Ola Liabøtrø

A (quantum) random access code ((Q)RAC) is a scheme that encodes $n$ bits into $m$ (qu)bits such that any of the $n$ bits can be recovered with a worst case probability $p>\frac{1}{2}$. We generalize (Q)RACs to a scheme encoding $n$ $d$-levels into $m$ (quantum) $d$-levels such that any $d$-level can be recovered with the probability for every wrong outcome value being less than $\frac{1}{d}$. We construct explicit solutions for all $n\ensuremath{\le}\frac{{d}^{2m}\ensuremath{-}1}{d\ensuremath{-}1}$. For $d=2$, the constructions coincide with those previously known. We show that the (Q)RACs are $d$-parity oblivious, generalizing ordinary parity obliviousness. We further investigate optimization of the success probabilities. For $d=2$, we use the measure operators of the previously best-known solutions, but improve the encoding states to give a higher success probability. We conjecture that for maximal $(n={4}^{m}\ensuremath{-}1,m,p)$ QRACs, $p=\frac{1}{2}{1+{[{(\sqrt{3}+1)}^{m}\ensuremath{-}1]}^{\ensuremath{-}1}}$ is possible, and show that it is an upper bound for the measure operators that we use. We then compare $(n,m,{p}_{q})$ QRACs with classical $(n,2m,{p}_{c})$ RACs. We can always find ${p}_{q}\ensuremath{\ge}{p}_{c}$, but the classical code gives information about every input bit simultaneously, while the QRAC only gives information about a subset. For several different $(n,2,p)$ QRACs, we see the same trade-off, as the best $p$ values are obtained when the number of bits that can be obtained simultaneously is as small as possible. The trade-off is connected to parity obliviousness, since high certainty information about several bits can be used to calculate probabilities for parities of subsets.

arXiv:1607.02667•Physical Review A•May 8, 2017•18 citations

Analytical construction of $(n, n-1)$ quantum random access codes saturating the conjectured bound

Takayuki Suzuki

Quantum Random Access Codes (QRACs) embody the fundamental trade-off between the compressibility of information into limited quantum resources and the accessibility of that information, serving as a cornerstone of quantum communication and computation. In particular, the $(n, n-1)$-QRACs, which encode $n$ bits of classical information into $n-1$ qubits, provides an ideal theoretical model for verifying quantum advantage in high-dimensional spaces; however, the analytical derivation of optimal codes for general $n$ has remained an open problem. In this paper, we establish an analytical construction method for $(n, n-1)$-QRACs by using an explicit operator formalism. We prove that this construction strictly achieves the numerically conjectured upper bound of the average success probability, $\mathcal{P} = 1/2 + \sqrt{(n-1)/n}/2$, for all $n$. Furthermore, we present a systematic algorithm to decompose the derived optimal POVM into standard quantum gates. Since the resulting decoding circuit consists solely of interactions between adjacent qubits, it can be implemented with a circuit depth of $O(n)$ even under linear connectivity constraints. Additionally, we analyze the high-dimensional limit and demonstrate that while the non-commutativity of measurements is suppressed, an information-theoretic gap of $O(\log n)$ from the Holevo bound inevitably arises for symmetric encoding. This study not only provides a scalable implementation method for high-dimensional quantum information processing but also offers new insights into the mathematical structure at the quantum-classical boundary.

quant-pharXiv:2601.19190•Physical Review A•Jan 28, 2026•0 citations

Quantum Random Access Codes encoding every possible number of bits into m qubits

Ola Liabøtrø

A (Quantum) Random Access Code ((Q)RAC) is a scheme that encodes $n$ bits into $m$ (qu)bits such that any of the $n$ bits can be recovered with a worst case probability $p>\frac{1}{2}$. Such a code is denoted by the triple $(n,m,p)$. It is known that $n<4^m$ for all QRACs and $n<2^m$ for classical RACs. These bounds are also known to be tight, as explicit constructions exist for $n=4^m-1$ and $n=2^m-1$ for quantum and classical codes respectively. We generalize (Q)RACs to a scheme encoding $n$ $d$-levels into $m$ (qu)-$d$-levels such that any $d$-level can be recovered with the probability for every wrong outcome value being less than $\frac{1}{d}$. We construct explicit solutions for all $n\leq \frac{d^{2m}-1}{d-1}$. For $d=2$, the constructions coincide with those previously known. We show that the (Q)RACs are $d$-parity-oblivious, generalizing ordinary parity-obliviousness. We further investigate optimization of the success probabilities. For $d=2$, we use the measure operators of the previously best known solutions, but improve the encoding states to give a higher success probability. We conjecture that for maximal $(n=4^m-1,m,p)$ QRACs, $p=\frac{1+\frac{1}{(\sqrt{3}+1)^m-1}}{2}$ is possible and show that it is an upper bound for the measure operators that we use. When we compare $(n,m,p_q)$ QRACs with classical $(n,2m,p_c)$ RACs, we can always find $p_q\geq p_c$, but the classical code gives information about every input bit simultaneously, while the QRAC only gives information about a subset. For several different $(n,2,p)$ QRACs, we see the same trade-off, as the best $p$ values are obtained when the number of bits that can be obtained simultaneously is as small as possible. The trade-off is connected to parity-obliviousness, since high certainty information about several bits can be used to calculate probabilities for parities of subsets.

•Jul 9, 2016•0 citations

Optimal Average Success Probabilities of Binary $(n,n-1)$ and $(n,n-2)$ Quantum Random Access Codes

Shuo Tan, Syed A. Jafar

A binary $(n,m)$ quantum random access code (QRAC) compresses an $n$-bit classical string into an $m$-qubit quantum state, from which a decoder attempts to recover a randomly selected target bit. Of particular interest is the optimal average probability of success, $P^{Q,\mathrm{avg},\mathrm{opt}}_{n,m}$, which was numerically conjectured to satisfy the bound $P^{Q,\mathrm{avg},\mathrm{opt}}_{n,m}\leq \frac{1}{2}+\frac{1}{2}\sqrt{\frac{m}{n}}$. Recent constructions of $(n,n-1)$ QRACs by Suzuki and $(n,n-2)$ QRACs by Akibue et al. meet this bound exactly, raising the question of their strict optimality. In this work, we settle this question by proving the conjectured upper bound for $m\in\{n-1,n-2\}$, thereby precisely determining $P^{Q,\mathrm{avg},\mathrm{opt}}_{n,n-1}$ and $P^{Q,\mathrm{avg},\mathrm{opt}}_{n,n-2}$. The proof utilizes a translation recently studied by Lin and de Wolf from local to global reconstruction via pretty good measurement, along with dimensional and positive-semidefinite constraints on an induced channel.

quant-pharXiv:2607.10414•Jul 14, 2026•0 citations

Optimal Average Success Probabilities of Binary (n, n−1) and (n, n−2) Quantum Random AccessCodes

Shuo Tan, Syed A. Jafar

A binary (n, m) quantum random access code (QRAC) compresses an n-bit classical string into an m-qubit quantum state, from which a decoder attempts to recover a randomly selected target bit.Of particular interest is the optimal average probability of success, P Q,avg,opt n,m .The square-root expression 1 2 + 1 2 m/n was conjectured to upper-bound this quantity, and recent constructions of (n, n -1) QRACs by Suzuki and (n, n -2) QRACs by Akibue et al. meet it exactly.In this work, we prove that these constructions are optimal, thereby determining P Q,avg,opt n,n-1 and P Q,avg,opt n,n-2 .The proof uses the local-to-global reconstruction framework of Lin and de Wolf, based on the pretty good measurement (PGM), together with dimensional and positive-semidefinite (PSD) constraints on the induced channel.Based on these constraints, we also derive an efficient linear-programming (LP) converse for general binary (n, m) QRACs.We evaluate this converse in closed form for two infinite parameter families and prove that it is strictly tighter than Akibue et al.'s bound at every point in those families except (n, m) = (3, 1), where the two coincide.

•Oct 21, 2026•0 citations

Classical codes violate the conjectured square-root bound for quantum random access codes

Kangqiao Liu

We consider whether every quantum random access code (QRAC) with density-operator encodings and arbitrary decoding measurements obeys the conjectured bound $p\leq(1+\sqrt{m/n})/2$, where $n$ classical bits are encoded into $m$ qubits and $p$ is the worst-case success probability. We find that classical random access codes with private randomness, which form a subclass of this QRAC model, violate the bound. We embed these classical codes as QRACs with diagonal encoding states and commuting decoding measurements, and construct pure-state realizations with identical decoding statistics. The achievability theorem of Ambainis, Nayak, Ta-Shma, and Vazirani then yields violations for every fixed $p\in(1/2,1)$ at sufficiently large input length. The counterexamples span the full open interval between the conjectured and Nayak bounds at each fixed compression rate. A finite-blocklength analysis further yields order-optimal logarithmic qubit scaling for a recovery bias scaling as $\sqrt{\log_2 n/n}$ with a sufficiently large prefactor. These results identify the classical coding rate as the source of the separation and motivate restricted bounds based on quantitative spectral properties of decoding measurements.

quant-pharXiv:2607.15617•Jul 20, 2026•0 citations
A random access code (RAC) encodes an LLL-bit string into a kkk-bit message, where L>kL>kL>k, such that any requested bit can be decoded with high probability; a quantum RAC (QRAC) replaces the message with kkk qubits. This paper provides a geometric characterization of optimal classical (L,k)(L,k)(L,k)-RACs under both average and worst-case success criteria. We show that the average problem reduces to selecting 2k2^k2k representatives in {0,1}L\{0,1\}^L{0,1}L, whereas the worst-case problem reduces to selecting 2k2^k2k points in [0,1]L[0,1]^L[0,1]L that minimize a distance-like objective. This framework establishes optimality for several parameter families (L,k)(L,k)(L,k), with optimal constructions in many cases realized by standard infinite families of binary linear codes. For the parameter family (2k−1,k)(2^k-1,k)(2k−1,k), we prove the worst-case optimality of a classical construction and present an explicit QRAC whose worst-case success probability is strictly higher than the classical optimum, thereby establishing a classical--quantum separation for this family. For the parameter family (L,L−1)(L,L-1)(L,L−1), the framework identifies a classical RAC construction that is optimal under the average criterion and, assuming a stated conjecture, also optimal under the worst-case criterion. As a by-product, the same geometric viewpoint recovers explicit (L,L−1)(L,L-1)(L,L−1)-QRACs similar to existing constructions that attain the value of an upper bound conjectured in prior work to be tight.
A (quantum) random access code ((Q)RAC) is a scheme that encodes nnn bits into mmm (qu)bits such that any of the nnn bits can be recovered with a worst case probability p>12p>\frac{1}{2}p>21​. We generalize (Q)RACs to a scheme encoding nnn ddd-levels into mmm (quantum) ddd-levels such that any ddd-level can be recovered with the probability for every wrong outcome value being less than 1d\frac{1}{d}d1​. We construct explicit solutions for all $n\ensuremath{\le}\frac{{d}^{2m}\ensuremath{-}1}{d\ensuremath{-}1}$. For d=2d=2d=2, the constructions coincide with those previously known. We show that the (Q)RACs are ddd-parity oblivious, generalizing ordinary parity obliviousness. We further investigate optimization of the success probabilities. For d=2d=2d=2, we use the measure operators of the previously best-known solutions, but improve the encoding states to give a higher success probability. We conjecture that for maximal $(n={4}^{m}\ensuremath{-}1,m,p)$ QRACs, $p=\frac{1}{2}{1+{[{(\sqrt{3}+1)}^{m}\ensuremath{-}1]}^{\ensuremath{-}1}}$ is possible, and show that it is an upper bound for the measure operators that we use. We then compare (n,m,pq)(n,m,{p}_{q})(n,m,pq​) QRACs with classical (n,2m,pc)(n,2m,{p}_{c})(n,2m,pc​) RACs. We can always find ${p}_{q}\ensuremath{\ge}{p}_{c}$, but the classical code gives information about every input bit simultaneously, while the QRAC only gives information about a subset. For several different (n,2,p)(n,2,p)(n,2,p) QRACs, we see the same trade-off, as the best ppp values are obtained when the number of bits that can be obtained simultaneously is as small as possible. The trade-off is connected to parity obliviousness, since high certainty information about several bits can be used to calculate probabilities for parities of subsets.
Analytical construction of (n,n−1)(n, n-1)(n,n−1) quantum random access codes saturating the conjectured bound
Quantum Random Access Codes (QRACs) embody the fundamental trade-off between the compressibility of information into limited quantum resources and the accessibility of that information, serving as a cornerstone of quantum communication and computation. In particular, the (n,n−1)(n, n-1)(n,n−1)-QRACs, which encode nnn bits of classical information into n−1n-1n−1 qubits, provides an ideal theoretical model for verifying quantum advantage in high-dimensional spaces; however, the analytical derivation of optimal codes for general nnn has remained an open problem. In this paper, we establish an analytical construction method for (n,n−1)(n, n-1)(n,n−1)-QRACs by using an explicit operator formalism. We prove that this construction strictly achieves the numerically conjectured upper bound of the average success probability, P=1/2+(n−1)/n/2\mathcal{P} = 1/2 + \sqrt{(n-1)/n}/2P=1/2+(n−1)/n​/2, for all nnn. Furthermore, we present a systematic algorithm to decompose the derived optimal POVM into standard quantum gates. Since the resulting decoding circuit consists solely of interactions between adjacent qubits, it can be implemented with a circuit depth of O(n)O(n)O(n) even under linear connectivity constraints. Additionally, we analyze the high-dimensional limit and demonstrate that while the non-commutativity of measurements is suppressed, an information-theoretic gap of O(log⁡n)O(\log n)O(logn) from the Holevo bound inevitably arises for symmetric encoding. This study not only provides a scalable implementation method for high-dimensional quantum information processing but also offers new insights into the mathematical structure at the quantum-classical boundary.
A (Quantum) Random Access Code ((Q)RAC) is a scheme that encodes nnn bits into mmm (qu)bits such that any of the nnn bits can be recovered with a worst case probability p>12p>\frac{1}{2}p>21​. Such a code is denoted by the triple (n,m,p)(n,m,p)(n,m,p). It is known that n<4mn<4^mn<4m for all QRACs and n<2mn<2^mn<2m for classical RACs. These bounds are also known to be tight, as explicit constructions exist for n=4m−1n=4^m-1n=4m−1 and n=2m−1n=2^m-1n=2m−1 for quantum and classical codes respectively. We generalize (Q)RACs to a scheme encoding nnn ddd-levels into mmm (qu)-ddd-levels such that any ddd-level can be recovered with the probability for every wrong outcome value being less than 1d\frac{1}{d}d1​. We construct explicit solutions for all n≤d2m−1d−1n\leq \frac{d^{2m}-1}{d-1}n≤d−1d2m−1​. For d=2d=2d=2, the constructions coincide with those previously known. We show that the (Q)RACs are ddd-parity-oblivious, generalizing ordinary parity-obliviousness. We further investigate optimization of the success probabilities. For d=2d=2d=2, we use the measure operators of the previously best known solutions, but improve the encoding states to give a higher success probability. We conjecture that for maximal (n=4m−1,m,p)(n=4^m-1,m,p)(n=4m−1,m,p) QRACs, p=1+1(3+1)m−12p=\frac{1+\frac{1}{(\sqrt{3}+1)^m-1}}{2}p=21+(3​+1)m−11​​ is possible and show that it is an upper bound for the measure operators that we use. When we compare (n,m,pq)(n,m,p_q)(n,m,pq​) QRACs with classical (n,2m,pc)(n,2m,p_c)(n,2m,pc​) RACs, we can always find pq≥pcp_q\geq p_cpq​≥pc​, but the classical code gives information about every input bit simultaneously, while the QRAC only gives information about a subset. For several different (n,2,p)(n,2,p)(n,2,p) QRACs, we see the same trade-off, as the best ppp values are obtained when the number of bits that can be obtained simultaneously is as small as possible. The trade-off is connected to parity-obliviousness, since high certainty information about several bits can be used to calculate probabilities for parities of subsets.
Optimal Average Success Probabilities of Binary (n,n−1)(n,n-1)(n,n−1) and (n,n−2)(n,n-2)(n,n−2) Quantum Random Access Codes
A binary (n,m)(n,m)(n,m) quantum random access code (QRAC) compresses an nnn-bit classical string into an mmm-qubit quantum state, from which a decoder attempts to recover a randomly selected target bit. Of particular interest is the optimal average probability of success, Pn,mQ,avg,optP^{Q,\mathrm{avg},\mathrm{opt}}_{n,m}Pn,mQ,avg,opt​, which was numerically conjectured to satisfy the bound Pn,mQ,avg,opt≤12+12mnP^{Q,\mathrm{avg},\mathrm{opt}}_{n,m}\leq \frac{1}{2}+\frac{1}{2}\sqrt{\frac{m}{n}}Pn,mQ,avg,opt​≤21​+21​nm​​. Recent constructions of (n,n−1)(n,n-1)(n,n−1) QRACs by Suzuki and (n,n−2)(n,n-2)(n,n−2) QRACs by Akibue et al. meet this bound exactly, raising the question of their strict optimality. In this work, we settle this question by proving the conjectured upper bound for m∈{n−1,n−2}m\in\{n-1,n-2\}m∈{n−1,n−2}, thereby precisely determining Pn,n−1Q,avg,optP^{Q,\mathrm{avg},\mathrm{opt}}_{n,n-1}Pn,n−1Q,avg,opt​ and Pn,n−2Q,avg,optP^{Q,\mathrm{avg},\mathrm{opt}}_{n,n-2}Pn,n−2Q,avg,opt​. The proof utilizes a translation recently studied by Lin and de Wolf from local to global reconstruction via pretty good measurement, along with dimensional and positive-semidefinite constraints on an induced channel.
A binary (n, m) quantum random access code (QRAC) compresses an n-bit classical string into an m-qubit quantum state, from which a decoder attempts to recover a randomly selected target bit.Of particular interest is the optimal average probability of success, P Q,avg,opt n,m .The square-root expression 1 2 + 1 2 m/n was conjectured to upper-bound this quantity, and recent constructions of (n, n -1) QRACs by Suzuki and (n, n -2) QRACs by Akibue et al. meet it exactly.In this work, we prove that these constructions are optimal, thereby determining P Q,avg,opt n,n-1 and P Q,avg,opt n,n-2 .The proof uses the local-to-global reconstruction framework of Lin and de Wolf, based on the pretty good measurement (PGM), together with dimensional and positive-semidefinite (PSD) constraints on the induced channel.Based on these constraints, we also derive an efficient linear-programming (LP) converse for general binary (n, m) QRACs.We evaluate this converse in closed form for two infinite parameter families and prove that it is strictly tighter than Akibue et al.'s bound at every point in those families except (n, m) = (3, 1), where the two coincide.
We consider whether every quantum random access code (QRAC) with density-operator encodings and arbitrary decoding measurements obeys the conjectured bound p≤(1+m/n)/2p\leq(1+\sqrt{m/n})/2p≤(1+m/n​)/2, where nnn classical bits are encoded into mmm qubits and ppp is the worst-case success probability. We find that classical random access codes with private randomness, which form a subclass of this QRAC model, violate the bound. We embed these classical codes as QRACs with diagonal encoding states and commuting decoding measurements, and construct pure-state realizations with identical decoding statistics. The achievability theorem of Ambainis, Nayak, Ta-Shma, and Vazirani then yields violations for every fixed p∈(1/2,1)p\in(1/2,1)p∈(1/2,1) at sufficiently large input length. The counterexamples span the full open interval between the conjectured and Nayak bounds at each fixed compression rate. A finite-blocklength analysis further yields order-optimal logarithmic qubit scaling for a recovery bias scaling as log⁡2n/n\sqrt{\log_2 n/n}log2​n/n​ with a sufficiently large prefactor. These results identify the classical coding rate as the source of the separation and motivate restricted bounds based on quantitative spectral properties of decoding measurements.