Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scoped construction and proof. A fixed word of ten unnormalized Hadamards and eleven Gaussian-rational diagonals realizes every invertible two-wire gate. The previous pair word used sixteen Hadamards. The new word uses three per triangular shear, including at zero, and retains both two-H pivot switches. Three is minimal for a nonidentity shear in this model. Credit to Ali Romman for the direct Fourier construction and the shortening question. Predecessor #7849
If the target and its inverse have operator norm at most$L\ge1$ , every intermediate prefix and its inverse has norm at most $2^{39}L$ . At width $2^\ell$ , the routed matching uses $8\ell+6$ H layers where the original used $8\ell+12$ , before native pack division.
Evidence
Run from the repository root with CPython 3.12.
Both registered modes passed on 303 synthetic gates and 101 distinct pairs issued across 378 matching layers by two pinned padded-root fixtures. They verify exact endpoints and check every cut, including inverse norms. The replay rejects singular inputs and a corrupted diagonal. The package hook and committed-byte and source-history preflight passed.
Limits
The counts cover ideal Gaussian-rational words. Rounded coefficient delivery, native pack counts, physical movement and the full multiplier price remain open. No new κ is claimed. This is a reversible archive addition confined to one research package.
Open next questions
Related open work
The overlap check found no open PR shortening this fixed pair word. The merged predecessor #7849 is linked above.
CI notes
Local verification passed at
5a200e75dfc228e50ce77c9e3999e7f540399657. The hosted planning and registered package replay checks both passed at that commit. GitHub Actions run