arXiv:2610.06702quant-phOct 2026

Manuscript Offprint

arXiv:2610.06702

Optimal compression with quantum retrieval

Shyam Dhamapurkar, Mohit Garg, Manaswi Paraashar, Jaikumar Radhakrishnan

Abstract

We consider the following data compression problem. Given a string x∈{0,1}mx \in \{0,1\}^m of Hamming weight at most nn, compress it into a shorter string y∈{0,1}sy \in \{0,1\}^s so that any bit xix_i of xx can be retrieved without any error using at most tt quantum queries to the standard oracle encoding of yy. If queries are allowed to be adaptive we show how optimal compression up to a logarithmic factor can be achieved. If the queries are required to be made non-adaptively, we show schemes whose space is optimal in its dependence on mm except for a logarithmic factor, and is at most quadratically worse when compared to the optimum in its dependence on nn.

1 Introduction

We consider the following data compression problem. Given a string x∈{0,1}mx \in \{0,1\}^m of Hamming weight at most nn, compress it into a shorter string y∈{0,1}sy \in \{0,1\}^s so that any bit xix_i of xx can be recovered without any error using at most tt quantum queries to the standard oracle encoding of yy. Note that the problem is interesting only when n≤m/2n \leq m/2 (say), for otherwise we may take y=xy = x, and match up to constant factors the information-theoretic minimum of log⁡(mn)\log \binom{m}{n} which holds for any compression scheme. Let sQ(m,n,t)s_Q(m,n,t) be the minimum ss such that such a compression is possible. We show the following.

Theorem 1. For all m, n≤m/2n \leq m/2 and t, we have sQ(m,n,t)=O(n1−1/tm1/t(log⁡(m/n)1−1/t))s_Q(m, n, t) = O\left(n^{1-1/t}m^{1/t}(\log(m/n)^{1-1/t})\right).

Remarks. (a) This upper bound may be compared with the following lower bound derived in [18, 7] for this problem (valid for t≤log⁡(m/n)t \leq \log(m/n)):

sQ(m,n,t)=Ω(tn1−1/tm1/t).(1)s_{Q}(m,n,t)=\Omega\left(t n^{1-1/t}m^{1/t}\right). \tag{1}

The upper bound of Theorem 1 is worse than this lower bound by a factor log⁡(mn)/t\log(\frac{m}{n})/t for t≤log⁡(m/n)t \leq \log(m/n).

*Dr. Vishwanath Karad MIT World Peace University, Pune, India. E-mail: shyam.dhamapurkar@mitwpu.edu.in.

†^{\dagger}The Institute of Mathematical Sciences, Chennai, India. Homi Bhabha National Institute, Mumbai, India. E-mail: garg@imsc.res.in.

‡^{\ddagger}Indian Institute of Technology, Hyderabad, India. E-mail: manaswi@cse.iith.ac.in.

§^{§}International Center for Theoretical Sciences, Tata Institute of Fundamental Research, Bengaluru, India. E-mail: jaikumar.radhakrishnan@icts.res.in.

(b) For t=Ω(log⁡(m/n))t = \Omega(\log(m/n)), our upper bound reduces to O(nlog⁡(m/n))O(n \log(m/n)), which matches the lower bound log⁡(mn)\log\binom{m}{n}, valid for all values of tt. The same upper bound for t=log⁡(m/n)t = \log(m/n) was earlier derived in [16].

In our scheme, the compressed string yy is probed in superposition tt times, sequentially or adaptively (see Fig. 1a). Following the classical literature for this problem, we also consider compression schemes where tt probes into yy are made in parallel or non-adaptively. We model such a query algorithm by a circuit where, to determine the ii-th bit of the input string xix_i, an initial joint (superposition) state is prepared on tt query registers, after which the oracle for the compressed string yy is applied to each of the tt query registers. Finally, the bit xix_i is recovered by performing an appropriate joint measurement on the final state (see Fig. 1b). Let sQN(m,n,t)s_{QN}(m,n,t) be the minimum length of the compressed string for which the bits of the input string can be recovered using tt parallel queries.

Theorem 2. For all m,n≤m/2m, n \leq m/2 and tt, we have sQN(m,n,t)=O(tn2(1−1/t)m1/t(log⁡(m/n))1−1/t)s_{QN}(m, n, t) = O\left(tn^{2(1-1/t)}m^{1/t}(\log(m/n))^{1-1/t}\right).

This upper bound has the right dependence on m (see Eq. (1)); the dependence on n is worse than in Theorem 1 but it is nevertheless a small polynomial in n. When n is a constant, the factor log⁡(m/n)\log(m/n) in Theorems 1 and 2 can be avoided, and a compression all the way to O(tm1/t)O(tm^{1/t}) can be established.