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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ the [calibrated compiler](science/encoder.md) rounds certified coupling estimate

At fixed error, its logical dimension is within a spectrum-independent constant number of qubits of the unrestricted optimum. The compiler is polynomial for bounded couplings, polynomial storage time, and fixed or inverse-polynomial error tolerance. The explicit qubit gap grows with the demanded accuracy; polynomial time in the binary length of the storage time is not claimed.

The [fixed-weight compiler](science/fixed_weight_encoder.md) uses signed integer counts within a prescribed Hamming-weight sector, where a common coupling offset contributes only a scalar phase. [Quantum Memory Calibration](https://github.com/GoGoKo699/Quantum-Memory-Calibration/blob/main/science/compiled_calibration.md) uses these clean blocks and endpoint phase correction to attain the sharp leading calibration budget with polynomial endpoint costs at polynomial hold times.

## A finite example

![Compiled storage and single-qubit coherence for a nondegenerate 16-qubit register](figures/finite_time_memory.png)
Expand All @@ -68,6 +70,7 @@ The upper curve is a conservative converse bound, not the exact optimum. The rig
| 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) |
| How can a conserved weight remove a common coupling offset? | [Fixed-weight compiler](science/fixed_weight_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) |
| Which ingredients are inherited, and what is the specific contribution? | [Related work](references/related_work.md) and [bibliography](references/references.bib) |
Expand All @@ -89,6 +92,7 @@ With Python 3.12, run from the repository root:
python verification/run_all.py
python verification/generate_examples.py
python verification/verify_noise_rank.py
python verification/verify_fixed_weight.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.

Expand Down
2 changes: 2 additions & 0 deletions learning/anchor.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ For $`t\gt0`$, the dimensionless quantity $`t(\lambda_i-\lambda_j)^2`$ determine

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.

**When a common offset is unknown, fix the physical weight.** In the [fixed-weight compiler](../science/fixed_weight_encoder.md), the weight label determines the eigenvalue of the collective operator $`\sum_i Z_i`$. Every codeword then acquires the same phase from the common offset. Watrous §§2.2.2 and 3.3.2 give the framework for the clean isometry and reference-complete error of its restricted channel. [Quantum Memory Calibration](https://github.com/GoGoKo699/Quantum-Memory-Calibration/blob/main/science/compiled_calibration.md) uses Watrous §§4.1.2–4.1.3 to turn the encoded Schur channels into correlated phase errors by averaging Pauli shifts and then corrects those errors at the far boundary.

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

Take two physical qubits with nominal operator
Expand Down
14 changes: 7 additions & 7 deletions learning/milestones.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,13 @@ The true coupling vector is fixed throughout each storage interval. For calibrat

**Central question.** How does the rounded spectrum become an exact counting problem without losing negative weights or degeneracies?

**Understanding target.** Explain the known bit flips that replace signed weights by nonnegative ones. Preserve zero-weight multiplicities and distinguish an integer band's diameter from its number of integer values. Identify the deterministic maximizing band and the power-of-two subset used for logical qubits.
**Understanding target.** Explain the known bit flips that replace signed weights by nonnegative ones in the full register. In a fixed-weight sector, retain signed weights because those flips generally change the required physical weight. Preserve zero-weight multiplicities and distinguish an integer band's diameter from its number of integer values. Identify the deterministic maximizing band and the power-of-two subset used for logical qubits.

**Dependencies and story role.** Converts M18's calibration statement into the discrete object the compiler will count.

**Conceptual connection.** A unitary relabeling preserves the physical problem while simplifying classical arithmetic.
**Conceptual connection.** A relabeling can simplify the arithmetic when it preserves the set of allowed strings.

**Sources.** [Watrous §2.2.2][W2]; [encoder, §2 and (8)–(10)](../science/encoder.md#2-signed-weights-and-the-optimal-closed-band).
**Sources.** [Watrous §2.2.2][W2]; [encoder, §2 and (8)–(10)](../science/encoder.md#2-signed-weights-and-the-optimal-closed-band); [fixed-weight counting](../science/fixed_weight_encoder.md#exact-counting-and-rank-access).

### M20: Physical protection and constant-qubit optimality

Expand All @@ -256,13 +256,13 @@ The true coupling vector is fixed throughout each storage interval. For calibrat

**Central question.** How can the compiler count an exponentially large set without listing its members?

**Understanding target.** Interpret suffix subset-sum counts and their recurrence, then explain how prefix sums count accepted completions of a partial string. Track the bit width of counts, including zero weights and the all-strings case, and the cost of finding the maximizing closed band.
**Understanding target.** Interpret suffix subset-sum counts and their recurrence, then explain how prefix sums count accepted completions of a partial string. For a fixed sector, track the residual weight and signed partial sum together. Track the bit width of counts, including zero weights and the all-strings case, and the cost of finding the maximizing closed band.

**Dependencies and story role.** Implements the discrete search defined in M19 while preserving the certificate in M20.

**Conceptual connection.** Exact counting supplies a compact description from which coherent codeword selection can be constructed.

**Sources.** [Watrous §2.1.2][W2] for basis labels; [encoder, §3 and (14)–(16)](../science/encoder.md#3-exact-classical-preprocessing).
**Sources.** [Watrous §2.1.2][W2] for basis labels; [encoder, §3 and (14)–(16)](../science/encoder.md#3-exact-classical-preprocessing); [signed suffix recurrence](../science/fixed_weight_encoder.md#exact-counting-and-rank-access).

### M22: Ranking and unranking without listing codewords

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

**Dependencies and story role.** Integrates M06, M10 and M21–M23 into the actual quantum implementation.

**Conceptual connection.** Workspace cleanup enforces the physical-memory constraint, rather than merely improving memory usage.
**Conceptual connection.** Workspace cleanup ensures that the physical memory carries the full unknown state. The fixed-weight inverse makes each protected block available to endpoint phase correction.

**Sources.** [Watrous §§2.1.3, 2.2.2][W2]; [encoder, §5 and (19)–(20)](../science/encoder.md#5-clean-coherent-isometry-and-decoding-channel).
**Sources.** [Watrous §§2.1.3, 2.2.2][W2]; [encoder, §5 and (19)–(20)](../science/encoder.md#5-clean-coherent-isometry-and-decoding-channel); [compiled calibration across blocks](https://github.com/GoGoKo699/Quantum-Memory-Calibration/blob/main/science/compiled_calibration.md).

### M25: Composing storage and boundary-operation errors

Expand Down
6 changes: 6 additions & 0 deletions references/related_work.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ The substantive remainder is the combination of a dimension- and spectrum-unifor

The scalar occupation theorem is information theoretic. Efficient implementation requires the explicit linear-coupling form; it does not promise efficient diagonalization of an arbitrary many-body operator. The construction assumes supplied coupling estimates with certified error, and counts their representation and processing costs without identifying those costs with the physical resources needed to perform calibration. It covers one known common Gaussian noise direction, boundary operations, and the specified storage-error metric. The scalar compiler has no polynomial-in-$`\log t`$ guarantee.

## Fixed occupation and calibration

The [fixed-weight compiler](../science/fixed_weight_encoder.md) adapts reversible rank and unrank to count signed energies on a conserved Hamming-weight sector. Exact collective decoherence-free subspaces and approximate protection under inhomogeneous coupling have the precedents above. The sector compiler supplies an explicit narrow-band isometry with a finite certificate for signed coupling differences and a constant-qubit comparison with the best code within that sector at fixed error.

[Lidar, Bacon and Whaley (1999)](https://doi.org/10.1103/PhysRevLett.82.4556) concatenate decoherence-free subspaces with an outer code for collective noise perturbed by independent noise. The endpoint construction in [Inhomogeneous Collective Memory](https://github.com/GoGoKo699/Inhomogeneous-Collective-Memory/blob/b6bbf3cae33b300d0c793628e168616dc4919bdc/science/resources.md#6-an-explicit-growing-rate-alternative) uses numerical inner codes, Pauli averaging and growing-field outer coding when the coupling profile is supplied. [Quantum Memory Calibration](https://github.com/GoGoKo699/Quantum-Memory-Calibration/blob/main/science/compiled_calibration.md) uses the fixed-weight compiler inside a costed calibration protocol for a single shared Gaussian phase. It attributes the existing hard-budget converse and establishes that its leading coefficient can be attained with explicitly compiled endpoints.

## Several commuting noise directions

[Knill, Laflamme and Viola](https://doi.org/10.1103/PhysRevLett.84.2525), Theorems 3–4, and [Weaver](https://arxiv.org/abs/1802.07394), Lemma 2.9, give exact error-detecting codes for diagonal operator systems via convex geometry. Their disjoint-support construction supplies the code for the finite environment obtained by truncation. [Aydin, Albert and Barg](https://doi.org/10.1103/kx3b-4nrp) also use Tverberg's theorem for specified finite error families in permutation-invariant, bosonic and spin state spaces.
Expand Down
3 changes: 3 additions & 0 deletions science/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ The [operational model](model.md) fixes the noise normalization, deterministic e
| Finite-time law | [Theorem 1](spectral_law.md#theorem-1-one-register-storage) | The optimal number of logical qubits is $`\log_2M_t+O_\epsilon(1)`$. |
| Several noise directions | [Joint spectral theorem](multiple_noise_directions.md) | Gives the sharp leading growth of the worst-case occupancy gap with effective rank and an explicit local-noise example. |
| Calibrated compilation | [Encoder construction](encoder.md) | Certified finite-precision couplings suffice to compile a clean coherent code within a fixed-error constant number of qubits of the unrestricted optimum. |
| Fixed-weight compilation | [Sector compiler](fixed_weight_encoder.md) | Counts signed energy bands while retaining the physical Hamming-weight constraint, so the common coupling offset is irrelevant. |

The general theorem assumes no efficient eigenbasis. The compiler makes a stronger implementation statement for the explicitly supplied weighted-qubit operator $`A=\sum_jg_jN_j`$. Its integer counting tables, arithmetic, lookups, reversible gates, workspace and input precision are all charged. It uses no unpriced quantum RAM.

The fixed-weight compiler returns the band isometry and its inverse from the signed midpoint integers and a weight constraint. [Quantum Memory Calibration](https://github.com/GoGoKo699/Quantum-Memory-Calibration/blob/main/science/compiled_calibration.md) composes these clean blocks with terminal phase correction to account for both calibration bits and endpoint resources.

The joint spectral theorem keeps the same endpoint contract. Its converse uses the general Schur-channel comparison. Its attaining family encodes across separated spectral points after controlling a finite approximation of the noise environment, while its finite example uses phase repetition.

## Interpretation and boundaries
Expand Down
2 changes: 2 additions & 0 deletions science/encoder.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ b_\epsilon=\left\lceil\frac4{\sqrt\epsilon}\right\rceil.

Thus its loss is a constant number of logical qubits for fixed $`\epsilon`$, uniformly in the number, spacing, signs and degeneracies of the actual spectrum. The constant in (1) is not optimized. For inverse-polynomial $`\epsilon`$, the loss is $`O(\log(1/\epsilon))`$, not a constant independent of $`\epsilon`$.

The [fixed-weight specialization](fixed_weight_encoder.md) preserves the physical Hamming weight by carrying signed sums and residual weights together. This makes it possible to use certified centered couplings even when a common offset is unknown.

## 1. Exact dyadic grid selection

Set
Expand Down
Loading