How many copies of an unknown quantum state are needed to program the same reflection on an entire batch of inputs? This repository studies a flat-rank program state,
Let
The displayed constructive constant allows exact known rotation gates. A finite universal gate set achieves the same specimen order with its synthesis error and gate cost charged in the resource account.
The single-target order is matched for every nontrivial rank and dimension:
When
Processing each target with a separate density matrix exponentiation routine at error
The collective interaction itself is an instance of Hermitian-preserving map exponentiation. The account combines the rank-sensitive batch analysis and matching large-batch converse with an exact classification-to-programming converse that closes the single-target order, and an implementation with explicit resources. Related work identifies the inherited methods and separates nearby tasks and access models.
Quantum Classification Rank Limits proves the classification precision converse used here. Its all-rank finite-sample theorem, transferred through a known vacuum or occupied direction, forces the rank-squared programming cost. The transfer proof preserves the exact dimensions, hard specimen budget and unhalved diamond promise. A known eigenstate supplies the relative phase; generic controlled access to the ordinary reflection is not assumed. The classification theorem remains authoritative in that repository, and this repository develops its programming consequence.
| Question | Page |
|---|---|
| What is supplied, promised and counted? | Model and theorem |
| Why does the actual program variance control a collision? | Reduced-channel variance bound |
| How do shared specimens implement the reflection batch? | Collective construction |
| Why does every processor pay the quadratic batch cost? | Pair-discrimination converse |
| Why is the single-target rank-squared cost optimal? | Classification-to-programming converse |
| What gates, precision, memory and preparation costs are required? | Resources |
| What does the gain mean, and where does it stop? | Interpretation |
| Which claims are inherited, and which comparisons are relevant? | Related work and bibliography |
| Which finite-dimensional identities and channels were checked? | Reproduction guide |
The science index gives the proof dependencies. Each argument has one authoritative page.
The single educational anchor is John Watrous, The Theory of Quantum Information (2018). The source bridge selects the relevant chapters and translates the channel, fidelity and norm conventions used in the proofs.
The 30-milestone map has 12 background/preliminaries milestones and 18 narrative/innovation milestones. The first phase builds the complete programming contract from states, channels and distinguishability; the second connects the variance mechanism, implementation and two complementary converses to the optimal single-target and large-batch laws.
Use the worked tutorial to follow that route through a two-target example, error accounting and the discrimination argument. The LLM reading guide maps questions to the authoritative science and learning pages.
The rank is known and the spectrum is exactly flat. Access consists of independent specimens of
For
python3 -m pip install -r verification/requirements.txt
OPENBLAS_NUM_THREADS=1 python3 verification/verify.py --output verification/results.json
OPENBLAS_NUM_THREADS=1 python3 verification/verify_transfer.pyThe checked-in construction and pair-converse results and transfer results contain the actual numerical output. The first suite covers swap moments, variance, entangled-reference channel examples, symmetric sweeps and the converse geometry in small dimensions. The transfer suite checks the anchored routes, exact source mixing and error normalization, including entangled references. Floating-point checks support the implementation; the universal statements follow from the analytical proofs.
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.