Random Access Codes: Explicit Constructions, Optimality, and Classical-Quantum Gaps
arXiv:2604.21274
Abstract
A random access code (RAC) encodes an -bit string into a -bit message, , so that any requested bit can be recovered with high probability; a quantum RAC (QRAC) uses qubits instead. We give a geometric characterization of optimal classical -RACs under average and worst-case decoding criteria. The average criterion is reduced to choosing representatives in , while the worst-case criterion is reduced to a minimax problem over points in with a distance-like objective. This framework proves optimality for several parameter families, with many optimal constructions arising from standard infinite families of binary linear codes. It also yields two explicit classical--quantum separations. First, for every , we construct a -QRAC whose average decoding success probability strictly exceeds the optimal classical value. Second, for the family , we prove worst-case optimality of a classical RAC and construct a QRAC with strictly larger worst-case success probability. For the family , the framework identifies a classical RAC that is average-case optimal and, under a stated conjecture, also worst-case optimal. The same viewpoint further recovers explicit -QRACs attaining a previously conjectured upper-bound value.
25 pages, 5 figures, 5 tables