Random Access Codes: Explicit Constructions, Optimality, and Classical-Quantum Gaps
Abstract
A random access code (RAC) encodes an -bit string into a -bit message, where , such that any requested bit can be decoded with high probability; a quantum RAC (QRAC) replaces the message with qubits. This paper provides a geometric characterization of optimal classical -RACs under both average and worst-case success criteria. We show that the average problem reduces to selecting representatives in , whereas the worst-case problem reduces to selecting points in that minimize a distance-like objective. This framework establishes optimality for several parameter families , with optimal constructions in many cases realized by standard infinite families of binary linear codes. For the parameter family , 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 , 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 -QRACs similar to existing constructions that attain the value of an upper bound conjectured in prior work to be tight.
Keywords
Cite
@article{arxiv.2604.21274,
title = {Random Access Codes: Explicit Constructions, Optimality, and Classical-Quantum Gaps},
author = {Ruho Kondo and Yuki Sato and Hiroshi Yano and Yota Maeda and Kosuke Ito and Naoki Yamamoto},
journal= {arXiv preprint arXiv:2604.21274},
year = {2026}
}
Comments
21 pages, 3 figures, 5 tables