Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

**How much unknown quantum information can a finite register preserve during one interval of collective dephasing?**

The answer is controlled by how many noise eigenvalues fit inside one interval at the noise's finite-time resolution. For an arbitrary finite spectrum, this repository proves matching storage bounds up to constants at fixed error. For a register with explicitly known, unequal local couplings, it gives a finite-precision compiler whose code loses only a constant number of logical qubits relative to every allowed endpoint encoding and recovery.
With one Gaussian noise direction, the answer is controlled by how many noise eigenvalues fit inside one interval at the noise's finite-time resolution. With several commuting directions, a joint spectral cluster can miss a large amount of recoverable storage. The rank of the joint noise spectrum determines the sharp worst-case size of that gap.

## Main result
## One noise direction

Let a known Hermitian operator $`A`$ generate Gaussian dephasing,

Expand All @@ -29,6 +29,17 @@ For any fixed $`0\lt \epsilon\lt 1/4`$, the optimal stored dimension satisfies

The explicit bounds, their constants, and a converse covering arbitrary mixed encoders are proved in [the spectral law](science/spectral_law.md). The result applies to finite, irregular, degenerate and nondegenerate spectra.

## Several commuting noise directions

Let $`r`$ be the affine dimension of the covariance-weighted joint spectrum and $`M`$ the largest number of spectral points in a unit ball, counted with multiplicity. At fixed $`0\lt\epsilon\lt1/4`$, the [joint spectral theorem](science/multiple_noise_directions.md) gives the worst-case discrepancy

```math
\sup_{\text{rank }r}\big(\log_2D_\epsilon-\log_2M\big)
=\frac r2\log_2r+O_\epsilon(r).
```

The supremum ranges over finite joint spectra. A family with $`M=1`$ attains the leading term. Its encoder uses superpositions across separated spectral points and recovery at the end of the same passive interval. In a separate explicit example, 151 independently dephasing qubits support one logical qubit by phase repetition at half-diamond error below $`1/16`$, even though every unit ball contains at most one spectral point.

## From an existence theorem to an encoder

For
Expand All @@ -54,7 +65,8 @@ The upper curve is a conservative converse bound, not the exact optimum. The rig
| Question | Account |
|---|---|
| What is the model, and what resources are permitted? | [Operational model](science/model.md) |
| Why does spectral occupancy characterize storage? | [Theorem and proofs](science/spectral_law.md) |
| Why does spectral occupancy characterize storage with one noise direction? | [Scalar law](science/spectral_law.md) |
| How far can joint spectral occupancy fall short? | [Several noise directions](science/multiple_noise_directions.md) |
| How is the code compiled with finite precision and clean workspace? | [Encoder construction](science/encoder.md) |
| What do concrete spectra and circuits demonstrate? | [Examples](science/examples.md) |
| How do finite time, exact noiseless sectors and communication capacity differ? | [Consequences and interpretation](science/interpretation.md) |
Expand All @@ -76,14 +88,15 @@ With Python 3.12, run from the repository root:
python -m pip install -r verification/requirements.txt
python verification/run_all.py
python verification/generate_examples.py
python verification/verify_noise_rank.py

The checks include exact rational band enumeration, Gaussian-matrix inequalities, and actual reversible-gate propagation of basis and reference-entangled inputs. The 16-qubit illustration uses the classical dynamic program; the full primitive circuits are verified on smaller instances. Finite tests support the implementations and examples. The mathematical proofs establish the general storage and complexity claims.

## Scope

This is a result for one known common Gaussian noise direction. The true couplings are fixed during the storage interval and lie within the supplied calibration certificates. The core storage theorem treats boundary operations as ideal; a separate composable error budget explains what additional boundary accuracy suffices. Physical calibration cost, local noise, unmodeled time-dependent coupling drift, geometric circuit locality and fault-tolerant hardware overhead are not determined by this model.
The storage results use known, fixed commuting Gaussian noise generators and ideal boundary operations. The calibrated reversible compiler applies to the one-direction weighted-qubit model with supplied certificates. The general rank-dependent attaining family allows arbitrary commuting generators and unrestricted endpoint recovery. The local repetition example uses independent Gaussian dephasing on physical qubits. Physical calibration cost, coupling drift, and fault-tolerant hardware overhead remain outside these results.

Approximate protected subspaces, high rates under exact collective symmetry, channel comparison methods, and reversible combinatorial encoding are established ideas. The specific contribution is their finite-spectrum occupancy characterization together with a calibrated compiler certified against unrestricted endpoint codes. The [related-work account](references/related_work.md) makes the comparisons explicit, including the earlier fixed-Hamming-weight amplitude encoder coauthored by Ruge Lin.
The [related-work account](references/related_work.md) credits the inherited comparison, reversible encoding and error-correction methods and identifies the finite-time results established here.

## Purpose

Expand Down
37 changes: 35 additions & 2 deletions learning/anchor.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Use the [author's book page](https://jhwatrous.github.io/books-and-courses.html)

The linked errata are dated July 23, 2025; they include corrected norm-conversion constants in Theorems 3.56 and 8.45. The project's interval-error estimate is proved directly, without using those conversions.

Watrous supplies the mathematical foundations. The project's spectral occupancy law and calibrated compiler require the additional arguments identified here. Primary papers in [Related work](../references/related_work.md) supply research attribution and theorem dependencies; they are separate from this one educational anchor.
Watrous supplies the mathematical foundations. The rank-one occupancy law, calibrated compiler and several-direction separation require the additional arguments identified here. Primary papers in [Related work](../references/related_work.md) give research attribution and theorem dependencies.

## Targeted reading map

Expand Down Expand Up @@ -67,7 +67,7 @@ For $`t\gt0`$, the dimensionless quantity $`t(\lambda_i-\lambda_j)^2`$ determine

**Finally, make the code executable.** For $`A=\sum_jg_jN_j`$, with $`N_j=|1\rangle\langle1|_j`$, [the compiler](../science/encoder.md) rounds certified coefficient estimates to an exact dyadic grid. It finds a populated integer-sum band by dynamic programming, then coherently ranks and unranks accepted strings. Reversing intermediate computations cleans all temporary workspace before storage. Explicit lookup gates and bit arithmetic establish polynomial resources under the stated parameter scaling. The precision certificate is an input assumption, not a claim about calibration sample cost.

This construction loses only a constant number of qubits relative to the all-code optimum at fixed error. Neither the occupancy theorem nor this calibration-to-circuit conclusion is attributed to the textbook.
For one noise direction, this construction loses only a constant number of qubits relative to the all-code optimum at fixed error. Several commuting directions share the Schur-channel description and the same all-code comparison. Their geometry and attainable codes require the separate argument below.

## Worked example: one logical qubit without an exact degeneracy

Expand Down Expand Up @@ -101,4 +101,37 @@ Here $`Z=\mathrm{diag}(1,-1)`$ acts on the decoded logical qubit. Its half-diamo

For every fixed coefficient vector consistent with the supplied certificates, the compiler's conservative storage bound is instead $`9\epsilon/16=9/256`$. The nominal exact value and robust bound answer different questions. This is finite-time approximate protection: the nondegenerate nominal operator has exact storage dimension one at every positive exposure, as [Proposition 2](../science/spectral_law.md#proposition-2-exact-storage-at-every-positive-time) establishes. The example demonstrates a functioning band code, without claiming its optimality from these small numbers alone.

## Several commuting noise directions

Commuting couplings have a common eigenbasis. Put their joint eigenvalues in a vector $`\lambda_i`$, then use the Gaussian phase covariance $`C`$ for the entire interval, including the exposure, to form $`z_i=C^{1/2}\lambda_i`$. Watrous §4.1.3 again describes the channel as an entrywise multiplier.

```math
G_{ij}=\exp\!\left(-\frac{\|z_i-z_j\|_2^2}{2}\right).
```

The effective rank $`r`$ is the dimension of the span of all differences $`z_i-z_j`$. This count removes directions that leave every coherence unchanged. For example, if both couplings assign proportional eigenvalues up to an additive scalar, the points lie on a line even with two independent Gaussian phases. Two independent phases with linearly independent coupling differences can instead produce a two-dimensional grid.

Let $`M`$ be the maximum number of points, counted with multiplicity, inside any closed unit Euclidean ball. At rank one a unit ball is an interval of length two in the rescaled coordinate. Its occupancy is between one and two times the maximum occupancy of a unit-width interval. At growing rank, the [several-direction theorem](../science/multiple_noise_directions.md) gives a sharp worst-case gap for each fixed $`0<\epsilon<1/4`$.

```math
\sup_{\text{effective rank }r}\bigl(\log_2D_\epsilon-\log_2M\bigr)
=\frac r2\log_2r+O_\epsilon(r).
```

The Choi comparison from the rank-one proof still bounds arbitrary codes by the largest Gaussian Gram eigenvalue. Counting neighbors in higher-dimensional balls gives the upper bound. For the matching family, the construction uses Tverberg’s theorem to match convex averages of truncated environmental features over disjoint supports. The discarded part of the environmental state controls the error. This gives a deterministic endpoint code for the family. The calibrated dynamic program above concerns one noise direction.

### Worked example with one point per ball

Take $`151`$ qubits, each with an independent phase flip of probability $`p=7/16`$. A single flip channel attenuates a differing-bit coherence by $`1-2p=1/8`$. The product channel has joint points $`z_x=\sqrt{2\ln 8}\,x`$ for binary strings $`x`$. Squared Euclidean distance is $`2\ln 8`$ times Hamming distance. The minimum separation exceeds two, so $`M=1`$.

Encode logical basis states as $`|+\rangle^{\otimes151}`$ and $`|-\rangle^{\otimes151}`$. After storage, measure adjacent $`X_jX_{j+1}`$ parities. Each syndrome leaves a pair of complementary error patterns. Correcting the smaller pattern preserves coherence and succeeds when at most 75 flips occurred. A larger error pattern exchanges the two encoded basis states after correction. The resulting logical Pauli flip has probability

```math
\sum_{k=76}^{151}\binom{151}{k}
\left(\frac7{16}\right)^k\left(\frac9{16}\right)^{151-k}
\approx 0.061217204448 \lt \frac1{16}.
```

This probability is the half-diamond error of the decoded channel. The triangle inequality gives the upper bound and a logical basis input attains it. The parity measurements and correction occur at the decoding endpoint. This example stores a logical qubit at the same tolerance as the two-qubit band example above. The asymptotic sharpness proof uses the separate feature construction.

[Milestone map](milestones.md) · [Scientific overview](../science/README.md) · [Repository overview](../README.md)
24 changes: 12 additions & 12 deletions learning/milestones.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

The map follows one question: how much unknown quantum information can a finite memory preserve during a prescribed interval of Gaussian dephasing, and how can a nearly optimal code be compiled from calibrated couplings?

**Background/preliminaries contains M01–M11.** These eleven milestones connect individual coherences, reference systems, channel representations, admissible records and coherent encoding into the complete operational question. **Narrative/innovation contains M12–M30.** These nineteen milestones assemble the spectral converse and construction, then the finite-bit compiler, before integrating examples, limiting regimes and the separate communication corollary. The allocation reflects the project's two linked results: a characterization against arbitrary codes and an explicit implementation approaching that characterization.
**Background/preliminaries contains M01–M11.** These eleven milestones connect individual coherences, reference systems, channel representations, admissible records and coherent encoding into the complete operational question. **Narrative/innovation contains M12–M30.** These nineteen milestones assemble the rank-one spectral converse and construction, then the finite-bit compiler. The final milestones connect the proof to finite examples, the several-direction rank law and the separate communication corollary.

The sole educational anchor is John Watrous, *The Theory of Quantum Information* (2018), using the [author-hosted manuscript](https://jhwatrous.github.io/TQI.pdf). Section numbers below refer to that version. The [anchor bridge](anchor.md) translates its notation and provides a worked example. Watrous supplies the channel-theoretic foundations; the spectral estimates, calibration arithmetic and compiler arguments have their authoritative derivations in the linked scientific pages. This map identifies the main understanding targets without replacing those proofs.
The sole educational anchor is John Watrous, *The Theory of Quantum Information* (2018), using the [author-hosted manuscript](https://jhwatrous.github.io/TQI.pdf). Section numbers below refer to that version. The [anchor bridge](anchor.md) translates its notation and works through a rank-one band code and a many-direction endpoint code. Watrous supplies the channel-theoretic foundations. Follow the linked scientific pages for the proofs of the storage bounds and the compiler guarantees.

The true coupling vector is fixed throughout each storage interval. For calibrated compilation it lies within the supplied uncertainty certificates. Uniformity over those fixed vectors does not include unmodeled time-dependent coupling drift.

Expand Down Expand Up @@ -312,17 +312,17 @@ The true coupling vector is fixed throughout each storage interval. For calibrat

**Sources.** [Watrous §§3.3.2–3.3.3][W3]; [encoder, §6 and (21)–(23)](../science/encoder.md#6-composable-implementation-error-budget).

### M26: What the examples and primitive circuits establish
### M26: What worked codes and primitive circuits establish

**Central question.** Which aspects of the result become visible in a small code, a larger spectrum and executable circuits?
**Central question.** How can a finite code reveal the protection mechanism and the strength of the error guarantee?

**Understanding target.** Connect the two-qubit worked example to the nondegenerate 16-qubit bands and the small primitive-gate checks. Distinguish exact arithmetic, tested state errors, analytic channel bounds and a conservative converse ceiling. Explain what enumeration verifies and why the general compiler avoids that enumeration.
**Understanding target.** Connect the two-qubit band code to the nondegenerate 16-qubit bands and the primitive-gate checks. Compare it with the many-direction repetition code, which corrects phase-flip patterns even though a unit ball contains only one joint point. Distinguish tested errors and certified channel bounds. Explain why the band compiler avoids full enumeration.

**Dependencies and story role.** Brings M12–M25 together in concrete instances while keeping the evidence levels explicit.

**Conceptual connection.** Examples expose the mechanism and implementation; uniform claims retain their analytical proofs.

**Sources.** [Watrous §§3.2–3.3][W3]; [worked example](anchor.md#worked-example-one-logical-qubit-without-an-exact-degeneracy); [examples](../science/examples.md); [verification limits](../verification/README.md#what-the-checks-do-not-establish).
**Sources.** [Watrous §§3.2–3.3][W3]; [rank-one worked example](anchor.md#worked-example-one-logical-qubit-without-an-exact-degeneracy); [many-direction worked example](anchor.md#worked-example-with-one-point-per-ball); [examples](../science/examples.md); [verification limits](../verification/README.md#what-the-checks-do-not-establish).

### M27: Variance, extensive storage and the order of limits

Expand Down Expand Up @@ -360,17 +360,17 @@ The true coupling vector is fixed throughout each storage interval. For calibrat

**Sources.** [Watrous §6.1.2][W6], [§8.2.1][W8]; [interpretation, (I11)–(I12)](../science/interpretation.md#upper-bound-for-adaptive-classical-assistance).

### M30: The combined contribution and its physical scope
### M30: Effective rank controls the gap to ball occupancy

**Central question.** What does the occupancy law together with the calibrated compiler establish about this memory model?
**Central question.** How much can a code gain beyond the most populated resolution ball when commuting noise acts in several directions?

**Understanding target.** Connect arbitrary-code optimality, finite-input construction and clean quantum implementation into one instance-wise guarantee. Separate the unrestricted spectral theorem from its efficient weighted-qubit realization, fixed-error conclusions from exact storage, and single-interval storage from independent-use communication. Identify inherited techniques and the assumptions needed for a physical application.
**Understanding target.** Derive the joint spectral points from the Gaussian covariance and explain why only the span of their differences counts. Connect Gaussian Gram row sums to the upper bound and the Tverberg construction with truncated environmental features to the matching family. Interpret the fixed-error worst-case gap $`\tfrac r2\log_2r+O_\epsilon(r)`$ and relate it to the rank-one characterization and calibrated compiler.

**Dependencies and story role.** Integrates M11–M29 into the project's complete scientific claim.
**Dependencies and story role.** Extends M12–M16 and applies the finite contrast in M26. The compiler in M18–M25 and the independent-use result in M28–M29 concern their stated rank-one settings.

**Conceptual connection.** Finite spectral resolution replaces exact degeneracy as the useful organizing quantity for approximate storage.
**Conceptual connection.** The rank-one law compares storage to a cluster of nearby eigenvalues. In higher rank, endpoint codes can distribute each logical state across many eigenvectors while concealing the logical label from the environment to the accuracy required for recovery.

**Sources.** [Watrous §3.3.3][W3], [§8.2.1][W8]; [scientific synthesis](../science/README.md); [specific contribution and limits](../references/related_work.md#what-remains-after-these-comparisons).
**Sources.** [Watrous §2.2.2][W2], [§4.1.3][W4]; [rank law and construction](../science/multiple_noise_directions.md); [scientific synthesis](../science/README.md); [specific contribution and limits](../references/related_work.md#what-remains-after-these-comparisons).

[Scientific account](../science/README.md) · [Anchor and bridge](anchor.md) · [Repository overview](../README.md)

Expand Down
Loading
Loading