Foundations of quantum mechanics · Theory

Excluding a hidden difference costs exponentially less quantum communication than finding it

Pritam Roy

arXiv:2611.40785v1 ↗PDF ↗Submitted 30 November 2026

Question
In Hidden Matching, Alice sends a message about a string before learning which pairing of its positions Bob will ask about, and Bob reports a relation on one matched pair. For bits, reporting the right parity and ruling out the wrong one are the same task. Over an odd prime alphabet they differ: Bob may retrieve the difference \(x_j-x_i\) on a matched pair, or only exclude one value it does not take. Do the two tasks need different amounts of quantum communication, and can perfect exclusion be explained by a preparation-noncontextual model?
Result
Classically both tasks need \(\Theta_p(n)\) bits for zero error. Quantumly, exact retrieval still needs \(\Theta_p(n)\) qubits, but exact exclusion needs only \(\log_2n+O_p(1)\): a phase encoding of the string lets Bob exclude a value with certainty by destructive interference, and any exact protocol needs dimension at least \(1+(n-1)/(p-1)\). Under pair-difference parity obliviousness, perfect exclusion admits no noncontextual model for \(n\ge6\). Three matchings suffice to show this, with a tight noncontextual score of \(1-\min\{1/(3p),1/p^2\}\), which is \(1-1/p^2\) for odd primes, against quantum success 1.

The paper in detail

Alice holds \(x\in\mathbb F_p^n\) and sends one message. Bob then receives a perfect matching \(M\) of the positions, picks a matched pair \(e=(i,j)\) and outputs a label \(b\). In Difference Hidden Matching he must output \(b=\Delta_e(x)=x_j-x_i\); in Difference Hidden Antimatching he must output some \(b\ne\Delta_e(x)\). Differences are used because they are invariant under adding the same constant to every symbol and add up around triangles, \(\Delta_{ij}+\Delta_{jk}=\Delta_{ik}\).

Classically the two tasks cost the same order. A deterministic exact message must, for every matching, leave at least one pair on which some value can be excluded, so the pairs it informs about must form a component larger than \(n/2\), and counting spanning trees bounds how many inputs one message can serve. Quantumly, Alice sends the phase state \[|\psi_x\rangle=\frac{1}{\sqrt n}\sum_{j=1}^n\omega^{x_j}|j\rangle,\qquad\omega=e^{2\pi i/p},\] which takes \(\lceil\log_2n\rceil\) qubits. On pair \((i,j)\) Bob measures effects \(\tfrac2p|\chi_{e,b}\rangle\langle\chi_{e,b}|\) with \(|\chi_{e,b}\rangle=(|i\rangle-\omega^b|j\rangle)/\sqrt2\). Outcome \(b\) has probability \(|1-\omega^{\Delta_e(x)-b}|^2/(np)\), which vanishes exactly at \(b=\Delta_e(x)\), so every outcome excludes a wrong value.

Retrieval cannot be compressed this way. If two inputs share no valid answer for some matching, their messages must be orthogonal, and the author builds exponentially many such pairwise incompatible inputs, which forces \(n\log_2\frac{p}{2\sqrt{p-1}}-\log_2(2p)\) qubits. For exclusion, a Fourier argument bounds the dimension from below: the total nonconstant Fourier weight of any encoding in dimension \(s\) is at most \(s-1\), while exact exclusion needs weight at least \(1/(p-1)\) on the edges of every matching, so \(d\ge1+(n-1)/(p-1)\).

The contextuality part asks whether perfect exclusion could come from a preparation-noncontextual model, given that Alice's message hides every Fourier mode of \(x\) except pair differences. Then each hidden state's posterior over inputs has the form \(f(x)=1+\sum_{i<j}h_{ij}(x_j-x_i)\ge0\). Positivity confines the edges on which such a posterior excludes a value with certainty to a single triangle: two disjoint edges, or three edges at one vertex, would force a negative average. For \(n\ge6\) some matching avoids any triangle, so no noncontextual model is perfect, while the quantum protocol is. Three cyclic matchings whose union is \(K_{3,3}\) already show this.

Open questions include tight noncontextual bounds under the full set of equivalences of the phase ensemble for \(p\ge5\), and whether similar retrieval–exclusion gaps appear in other relational communication problems.

Transferable methods

  1. Exclusion by destructive interference in a phase encoding

    Retrieving a difference requires distinguishing \(p\) nonorthogonal two-dimensional states, which is impossible with certainty. Excluding one requires only that each measurement outcome be orthogonal to one of them, a much weaker condition. A two-outcome-per-pair measurement with \(p\) rank-one effects in the span of \(|i\rangle,|j\rangle\) achieves this, because \(|\chi_{e,b}\rangle\) is orthogonal to the pair's state exactly when \(b\) is the true difference.

    Restricted to the pair, the message is \((\omega^{x_i}|i\rangle+\omega^{x_j}|j\rangle)/\sqrt n\), and \(\langle\chi_{e,b}|\psi_x\rangle=\omega^{x_i}(1-\omega^{\Delta-b})/\sqrt{2n}\), which is zero when \(b=\Delta\). Summing \(\tfrac2p|\chi_{e,b}\rangle\langle\chi_{e,b}|\) over \(b\) gives \(|i\rangle\langle i|+|j\rangle\langle j|\), since the cross terms \(\sum_b\omega^b\) vanish, so the effects over a matching form a POVM. For uniform inputs, averaging over \(x\) with \(\Delta_e=b\) leaves \(\bar\rho_{e,b}=I/n\) plus a single coherence between \(i\) and \(j\), so \(\bar\rho_{e,b}\preceq2I/n\) and any decoder retrieves \(b\) with probability at most \(2/p\). Editorial check: these identities hold numerically for \((n,p)=(4,3),(6,5),(8,7)\).

    How to reuse it

    Phase encodings with antidistinguishing measurements could give exponential quantum savings in other relational problems where certifying a wrong answer suffices, such as exclusion versions of Boolean Hidden Matching or of graph-property testing in the one-way model.

  2. Positivity of Fourier-restricted posteriors and a triangle obstruction

    A preparation-noncontextual model must respect every operational equivalence, here the indistinguishability of preparations that differ only in forbidden Fourier modes. That removes all modes except pair differences from each ontic posterior. Positivity of what remains is a strong constraint, and certain exclusion on an edge means the posterior's marginal on that edge's difference has a zero.

    If two disjoint edges \(e,e'\) each exclude a value, condition on both differences: the pair-difference terms on \(e\) and \(e'\) are independent, and the averaged posterior on the excluded event equals \(1+h_e(b)+h_{e'}(b')=-1\), impossible for a nonnegative function. A similar computation rules out three excluding edges at one vertex. A graph with neither two disjoint edges nor a three-edge star lies inside a triangle. For the three cyclic matchings \(M_s=\{\{a_r,b_{r+s}\}\}\), the optimal uniform score is \[P^{(3)}_{\rm NC}(n,p)=1-\min\Bigl\{\frac{1}{3p},\frac{1}{p^2}\Bigr\}.\] Editorial check: at \(n=6\), linear programs over all posteriors \(f=1+\sum_{i<j}h_{ij}(x_j-x_i)\ge0\), one for each choice of excluded edge and value per matching, give \(0.833333\), \(0.888889\) and \(0.960000\) for \(p=2,3,5\), exactly the formula.

    How to reuse it

    Reducing preparation noncontextuality under parity-obliviousness to the positivity of Fourier-restricted functions, and then to forbidden subgraphs, could produce minimal contextuality witnesses for other oblivious communication tasks, such as random-access or exclusion codes over non-binary alphabets.

Source: Theorems 1–4, Eqs. (6)–(19); Corollary 1. Based on the linked paper version. Derivations marked as editorial, and suggested uses in other problems, are editorial guidance rather than results of the paper.

Context & limitations

Why it matters. The paper separates two tasks that coincide in the binary case and shows that a short quantum message can certify what is false without revealing what is true: with the phase code, Bob retrieves a matched difference with probability at most \(2/p\) but excludes one with certainty. It also gives an all-versus-nothing proof of preparation contextuality with three measurement settings, extending the binary parity-oblivious Hidden Matching result to odd primes.

Limitations. The communication results concern exact, one-way, unassisted protocols; with bounded error both tasks cost \(\Theta(\sqrt n)\) classical bits. The contextuality results depend on which operational equivalences are imposed: the stated benchmark \(1-1/p^2\) cannot be reached once all equivalences of the actual phase ensemble are imposed for \(p\ge5\), where the author proves only an upper bound of \(1-1/(3p)\). The measurement-certification part assumes characterized sources. The author states that ChatGPT (5.6 Sol) was used for language, formatting and consistency checks only.

Description based on the full arXiv HTML of v1, read 2026-12-02: the main text and the statements of Appendices A to G. Editorial checks: for the phase protocol with \((n,p)=(4,3),(6,5),(8,7)\), the effects of Eq. (8) sum to the identity, Eq. (9) holds for 200 random inputs and matchings, and the true difference is never reported (largest probability \(3\times10^{-32}\)); the conditional states satisfy \(\bar\rho_{e,b}\preceq2I/n\), giving the retrieval ceiling \(2/p\); and linear programs over all posteriors of the form (16) for the three cyclic matchings at \(n=6\) give noncontextual scores \(5/6\), \(8/9\) and \(24/25\) for \(p=2,3,5\), matching Eq. (19).