Optimal Quasi-Gray Codes: The Alphabet Matters
Abstract
A quasi-Gray code of dimension and length over an alphabet is a sequence of distinct words from such that any two consecutive words differ in at most coordinates, for some fixed constant . In this paper we are interested in the read and write complexity of quasi-Gray codes in the bit-probe model, where we measure the number of symbols read and written in order to transform any word into its successor . We present construction of quasi-Gray codes of dimension and length over the ternary alphabet with worst-case read complexity and write complexity . This generalizes to arbitrary odd-size alphabets. For the binary alphabet, we present quasi-Gray codes of dimension and length at least with worst-case read complexity and write complexity . This complements a recent result by Raskin [Raskin '17] who shows that any quasi-Gray code over binary alphabet of length has read complexity . Our results significantly improve on previously known constructions and for the odd-size alphabets we break the worst-case barrier for space-optimal (non-redundant) quasi-Gray codes with constant number of writes. We obtain our results via a novel application of algebraic tools together with the principles of catalytic computation [Buhrman et al. '14, Ben-Or and Cleve '92, Barrington '89, Coppersmith and Grossman '75].
Cite
@article{arxiv.1712.01834,
title = {Optimal Quasi-Gray Codes: The Alphabet Matters},
author = {Diptarka Chakraborty and Debarati Das and Michal Koucký and Nitin Saurabh},
journal= {arXiv preprint arXiv:1712.01834},
year = {2018}
}