How much of a quantum sample must remain available for quantum processing to find an element absent from the sampled set? For a uniformly random balanced subset of an
This repository gives the complete optimal tradeoff between retained input qubits and average complement-sampling success, including explicit measurements, converse certificates, source preparation, and a dephasing analysis. The task and the unrestricted quantum–classical sample separation originate in Benedetti, Buhrman, and Weggemans; the contribution here is their precise behavior under the specified partial-measurement interface.
The unknown set
A fixed
For
| Retained input qubits | Exact success probability | Limit for fixed |
|---|---|---|
For
One retained input qubit therefore preserves a constant success advantage. Two give limiting success
With one retained input qubit, the source delivers a classical prefix and one of three states:
A trusted source can prepare the same input directly using one classical sample, one partner-membership check, and one prepared qubit. An explicit receiver uses one initialized measurement ancilla, two CNOTs, and four one-qubit rotations in a continuous-rotation gate model. These are separate source and apparatus costs; the theorem counts retained input qubits.
If the remaining qubit is dephased by a known factor
Every fixed
| Question | Authoritative account |
|---|---|
| What is the problem, and what can each party access? | Model and operational task |
| Why can two different input ensembles have the same one-copy behavior? | Common payoff operator |
| What is the optimum, and why can no allowed receiver do better? | Exact access frontier |
| How are the source and measurement physically implemented? | Source access and implementation |
| How much residual coherence is useful? | Dephasing and optimal retuning |
| What does the result say about quantum resources? | Physical interpretation and boundaries |
| Which ingredients are established in earlier work? | Related work and bibliography |
For a connected route, start with the science overview. For machine-assisted reading, use llms.txt.
The single educational anchor is John Watrous, The Theory of Quantum Information (2018). The Watrous bridge selects the relevant parts of the author's available manuscript, translates its notation, and connects general measurement optimization to this particular sampling task. A complete four-element example accounts for every output and separates success probability from signed score.
The 30-milestone map follows the project's scientific dependencies. Its 14 background/preliminaries milestones build the states, measurements, optimization tools, and fixed-access model; its 16 narrative/innovation milestones develop the payoff identity, exact frontier, implementation, classical comparisons, and limitations. Each milestone states a central question, understanding target, dependencies, conceptual connection, and source pointers.
Start with the learning overview and use the bridge alongside the milestones. The scientific account above remains the authoritative proof route.
With Python 3.10 or newer, run from the repository root:
python -m pip install -r verification/requirements.txt
python verification/check_science.py --output /tmp/local-complement-checks.jsonThe suite exhausts all balanced subsets through
- Success is averaged over the stated ensemble. The local decoder can fail on a particular fixed set.
- The access interface fixes which input qubits are measured and their measurement basis before receiver processing. It does not model unrestricted streaming quantum memory.
- Classical competitors receive ordinary samples, equivalently the fully dephased source. Arbitrary classical encodings of the source's private membership information are a different interface.
- Uniform balanced subsets and Bernstein–Vazirani subsets share the one-copy frontier, but their classical multi-copy sample complexities differ:
$\Omega(N)$ versus$\Theta(n)$ . - Generic state preparation is charged. A separate efficient keyed-source construction uses an explicit classical strong-PRP assumption and gives conditional computational hardness, not the uniform-ensemble information-theoretic bound.
This repository serves as a record of the work and a guide for the author’s self-directed learning. For discussion or potential collaboration, please contact Ruge Lin at gogoko699@gmail.com.
The repository retains its MIT license.