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
53 changes: 53 additions & 0 deletions .github/workflows/hosted-math.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Hosted mathematics

on:
pull_request:
paths:
- '**.md'
- 'verification/hosted_math/**'
- '.github/workflows/hosted-math.yml'

permissions:
contents: read

concurrency:
group: hosted-math-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
capture:
if: github.repository == 'GoGoKo699/Hamiltonian-Quantum-Memory' && github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-24.04
timeout-minutes: 20
env:
CAPTURE_REVISION: ${{ github.event.pull_request.head.sha }}
steps:
- name: Check out the exact proposed source
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
ref: ${{ env.CAPTURE_REVISION }}
persist-credentials: false
- name: Set up Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22'
- name: Install the capture runtime
run: |
npm install --ignore-scripts --no-audit --no-fund --prefix "$RUNNER_TEMP/math-runtime" playwright@1.56.1 mathjax-full@3.2.1
node "$RUNNER_TEMP/math-runtime/node_modules/playwright/cli.js" install --with-deps chromium
- name: Compare every hosted mathematical expression
run: |
export NODE_PATH="$RUNNER_TEMP/math-runtime/node_modules"
node verification/hosted_math/capture_hosted_math.cjs \
--root "$GITHUB_WORKSPACE" \
--repository "$GITHUB_REPOSITORY" \
--revision "$CAPTURE_REVISION" \
--output "$RUNNER_TEMP/hosted-math"
- name: Retain the actual captures and comparison report
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: hosted-math-${{ env.CAPTURE_REVISION }}
path: ${{ runner.temp }}/hosted-math
if-no-files-found: error
retention-days: 14
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Use the established stabilized control decomposition

```math
\mathcal H_E=\bigoplus_j\mathcal H_{B_j}\otimes\mathcal H_{Q_j},
\qquad r_j=\dim Q_j,\qquad p_j=\operatorname{Tr}(\Pi_j\tau_E).
\qquad r_j=\dim Q_j,\qquad p_j=\mathrm{Tr}(\Pi_j\tau_E).
```

Here j is a conserved sector, its Q factor is controllable through the laboratory port, and its B factor is invisible to future port experiments. This structure is inherited from Kato–Owari–Maruyama; the quantum/classical decomposition and general memory-cost frameworks also have established antecedents. The [related-work account](references/related_work.md) identifies them.
Expand All @@ -26,7 +26,7 @@ The error uses half operational distance and is uniform over arbitrarily long **

| Consequence | Meaning |
| --- | --- |
| Exact tail of sector probabilities | Small quantum sectors may be omitted at their total probability cost; a smaller coherent carrier cannot improve the unrestricted-time error. |
| Exact tail of sector probabilities | Omitted sectors cost their total probability; a smaller coherent carrier cannot improve the unrestricted-time error. |
| Exact classical-memory boundary | Classical persistent memory suffices precisely when every occupied active factor is one-dimensional, even allowing invasive classical feedforward. |
| Finite repeated witness | A sector flag followed by store–reset–retrieve Bell tests gives a lower bound approaching the tail, against every dimension-limited emulator. |
| Finite-horizon limit | The optimal horizon-specific error tends to the same tail as duration grows; no universal convergence rate is claimed. |
Expand Down Expand Up @@ -58,6 +58,12 @@ python3 verification/check_science.py --output verification/results.json

The [verification guide](verification/README.md) states the actual matrix calculations and their limits. The all-size theorem rests on the analytical proof and its imported control theorem, rather than finite tests.

## Learn the mechanism

The single educational anchor is **John Watrous, *The Theory of Quantum Information* (2018)**, using the January 2018 standard-layout author manuscript. The [Watrous bridge](learning/WATROUS_BRIDGE.md) connects its channel, distance and entanglement foundations to the control theorem and repeated-memory argument, with conventions translated explicitly.

The [worked storage experiment](learning/WORKED_EXAMPLE.md) follows a Bell pair through an exact SWAP, full port reset, retrieval and measurement, then adds repetition and a rare quantum sector. The [30-milestone map](learning/MILESTONES.md) develops twelve background and eighteen narrative understanding targets in one connected route. Start with the [learning guide](learning/README.md), or use the specialist science route above.

## Scope

The theorem permits ideal local operations, exact resets, unrestricted finite laboratory ancillas and arbitrarily accurate control synthesis. A qubit port may be stabilized by one controllable laboratory qubit; that helper is erased at the memory cuts and is never an extra emulator port. All hidden persistent quantum systems count jointly toward the hard cap. No preshared entanglement or uncounted quantum side channel is supplied to an emulator.
Expand Down
Loading
Loading