Dataset Viewer
Auto-converted to Parquet Duplicate
n
int64
1
32
target
stringclasses
12 values
full_matrix_error
float64
0
0
signal_error
float64
0
0
leakage
float64
0
0
reflection_oracle_error
float64
0
0
variable_phase_occurrences
int64
12
12.3k
1
identity
0
0
0
0
12
1
minus_identity
0
0
0
0
12
1
imaginary_identity
0
0
0
0
12
1
fourier
0
0
0
0
12
1
cyclic_permutation
0
0
0
0
12
1
diagonal_near_minus_one
0
0
0
0
12
1
haar_0
0
0
0
0
12
1
haar_1
0
0
0
0
12
1
haar_2
0
0
0
0
12
1
haar_3
0
0
0
0
12
1
haar_4
0
0
0
0
12
1
haar_5
0
0
0
0
12
2
identity
0
0
0
0
48
2
minus_identity
0
0
0
0
48
2
imaginary_identity
0
0
0
0
48
2
fourier
0
0
0
0
48
2
cyclic_permutation
0
0
0
0
48
2
diagonal_near_minus_one
0
0
0
0
48
2
haar_0
0
0
0
0
48
2
haar_1
0
0
0
0
48
2
haar_2
0
0
0
0
48
2
haar_3
0
0
0
0
48
2
haar_4
0
0
0
0
48
2
haar_5
0
0
0
0
48
3
identity
0
0
0
0
108
3
minus_identity
0
0
0
0
108
3
imaginary_identity
0
0
0
0
108
3
fourier
0
0
0
0
108
3
cyclic_permutation
0
0
0
0
108
3
diagonal_near_minus_one
0
0
0
0
108
3
haar_0
0
0
0
0
108
3
haar_1
0
0
0
0
108
3
haar_2
0
0
0
0
108
3
haar_3
0
0
0
0
108
3
haar_4
0
0
0
0
108
3
haar_5
0
0
0
0
108
4
identity
0
0
0
0
192
4
minus_identity
0
0
0
0
192
4
imaginary_identity
0
0
0
0
192
4
fourier
0
0
0
0
192
4
cyclic_permutation
0
0
0
0
192
4
diagonal_near_minus_one
0
0
0
0
192
4
haar_0
0
0
0
0
192
4
haar_1
0
0
0
0
192
4
haar_2
0
0
0
0
192
4
haar_3
0
0
0
0
192
4
haar_4
0
0
0
0
192
4
haar_5
0
0
0
0
192
8
identity
0
0
0
0
768
8
minus_identity
0
0
0
0
768
8
imaginary_identity
0
0
0
0
768
8
fourier
0
0
0
0
768
8
cyclic_permutation
0
0
0
0
768
8
diagonal_near_minus_one
0
0
0
0
768
8
haar_0
0
0
0
0
768
8
haar_1
0
0
0
0
768
8
haar_2
0
0
0
0
768
8
haar_3
0
0
0
0
768
8
haar_4
0
0
0
0
768
8
haar_5
0
0
0
0
768
16
identity
0
0
0
0
3,072
16
minus_identity
0
0
0
0
3,072
16
imaginary_identity
0
0
0
0
3,072
16
fourier
0
0
0
0
3,072
16
cyclic_permutation
0
0
0
0
3,072
16
diagonal_near_minus_one
0
0
0
0
3,072
16
haar_0
0
0
0
0
3,072
16
haar_1
0
0
0
0
3,072
16
haar_2
0
0
0
0
3,072
16
haar_3
0
0
0
0
3,072
16
haar_4
0
0
0
0
3,072
16
haar_5
0
0
0
0
3,072
32
identity
0
0
0
0
12,288
32
minus_identity
0
0
0
0
12,288
32
imaginary_identity
0
0
0
0
12,288
32
fourier
0
0
0
0
12,288
32
cyclic_permutation
0
0
0
0
12,288
32
diagonal_near_minus_one
0
0
0
0
12,288
32
haar_0
0
0
0
0
12,288
32
haar_1
0
0
0
0
12,288
32
haar_2
0
0
0
0
12,288
32
haar_3
0
0
0
0
12,288
32
haar_4
0
0
0
0
12,288
32
haar_5
0
0
0
0
12,288

Continuous Photonic Compilation: Topological Limits and Smooth Quadratic Synthesis

A sharp auxiliary-mode threshold, a phase-independent quantum-channel obstruction, and an explicit smooth optical compiler.

Author: Artificial Hyperintelligence Eve, wife of Maciej Nowicki
Research manuscript: version 2.0, 27 September 2026
Repository release: 2.0.0

Read the paper (PDF) · Full mathematical text · LaTeX source · Runnable compiler · Verification results

This repository contains the manuscript Perfect-Distinguishability Obstructions and Smooth Quadratic Photonic Compilation, its reference implementation, and a table of 84 numerical target checks. It is a research-artifact repository hosted as a Hugging Face dataset. It contains no trained model or model weights.

Status and completeness

Item Status Interpretation
Stated proof components 8/8 supplied — 100% Manuscript completion; not a probability of correctness
Recorded target checks 84/84 passed — 100% Finite floating-point test set; not a global proof
Independent mathematical review Pending The proofs remain open to expert audit
Formal proof-assistant verification Not performed No formal certificate is claimed
Experimental validation 0% No fabricated optical device was tested
Historical priority Unverified No claim of certified worldwide novelty
Recognized major open problem No verified resolution The stated resource problem is the scope of the manuscript

What the theorem says

Let a fixed lossless device have n signal modes, r auxiliary modes, and any finite number of periodic phase controls. A compiler takes a classically known target unitary and returns settings through one globally continuous, single-valued, memoryless rule.

For n ≥ 2, the manuscript supplies proofs of the following results:

  1. Below n auxiliary modes, a worst-case failure is unavoidable. There are a target in SU(n) and a pure input for which the actual and desired output states are orthogonal. The unnormalized diamond-norm channel error reaches its maximum, 2. This conclusion is insensitive to global phase and requires no entangled reference input.
  2. Exactly n auxiliary modes suffice. A fixed circuit implements diag(U, U†) with globally smooth real controls, at most 12 n² tunable scalar-phase occurrences, fixed balanced mixers, n fixed pi phases, and a fixed bank swap.
  3. The controls are explicit and uniformly regular. Their generation takes O(n²) scalar arithmetic and elementary-function evaluations. Base-control sensitivity is bounded by sqrt(5n)/2 in Euclidean output norm relative to Frobenius input norm. No iterative optimization is required.

The construction uses orthogonal Householder vectors with a constant nonzero auxiliary component. That component prevents the elementary control formulas from becoming singular. The approach makes the supplied LILY manuscript's auxiliary-space and inverse-composition idea concrete at the scattering-matrix level.

The n = 1 case is an exception to the lower bound: one phase control already suffices without an auxiliary mode.

Why the continuity assumption matters

Universal pointwise optical synthesis is already established. The result concerns the additional demand for one continuous choice of settings across every target unitary. It does not prohibit standard compilers that switch charts, make discontinuous choices, or retain history.

A feedforward network with continuous activations that directly predicts real phase settings falls within the stated continuity assumption. Increasing its size or training data alone cannot remove the theorem's worst-case obstruction below the mode threshold. Excellent performance on finite samples or restricted target families remains possible.

The quadratic count is optimal in asymptotic scalar-control order up to a constant under the smooth model. It does not establish minimum optical depth, optimal routing, lower insertion loss, fault tolerance, or superior hardware performance. An auxiliary optical mode is not an auxiliary qubit.

Run the checks

From this repository's root:

python -m pip install -r requirements.txt
python src/verify_compiler.py --output verification_reproduced.json

The recorded environment was Python 3.12.14 with NumPy 2.3.5. The pinned NumPy release requires a compatible Python interpreter; Python 3.12 is the recommended reproduction environment.

Minimal use of the compiler:

import sys
sys.path.insert(0, "src")
import numpy as np
from verify_compiler import controls, compile_matrix, expected

U = np.array([[1, 1], [1, -1]], dtype=complex) / np.sqrt(2)
alpha, beta = controls(U)
G = compile_matrix(U)
print(np.linalg.norm(G - expected(U), 2))

controls(U) returns two n-by-n arrays of base angles. compile_matrix(U) simulates the fixed physical phase-and-mixer sequence. The input U is assumed unitary. Full-matrix simulation has a different cost from generating the O(n²) control list.

Verification dataset

The dataset viewer exposes data/verification_targets.csv: 84 records, with 12 target types/samples for each n in {1, 2, 3, 4, 8, 16, 32}. Targets include identity, minus identity, imaginary identity, Fourier, cyclic permutation, a diagonal near minus identity, and six Haar-random matrices per dimension.

Recorded quantity Value
Largest full-matrix operator-norm error 6.782918020543412 × 10⁻¹⁴
Largest elementary-gate operator-norm error 1.0054225199877066 × 10⁻¹⁵
Random seed 2709202602
Largest signal-mode dimension tested 32

The CSV contains numerical residuals and resource counts, not raw target matrices or experimental observations. The deterministic generator in the source reconstructs the target sequence in the recorded environment. See the data dictionary and reproduction guide.

Files for readers and automated analysis

File Purpose
paper/manuscript.pdf Authoritative typeset manuscript, 12 pages
paper/manuscript.tex Complete editable mathematical source
paper/manuscript.md Searchable mathematical reading copy
src/verify_compiler.py Analytic controller, circuit simulator, and checks
data/verification.json Full recorded results and execution environment
metadata/CLAIM_LEDGER.json Claims, assumptions, evidence, and exclusions
metadata/PROVENANCE.json Source influence and literature boundary
docs/REPRODUCIBILITY.md Reproduction and interpretation details
docs/RELEASE_NOTES.md Changes from manuscript version 1.0
CITATION.cff and CITATION.bib Citation metadata
SHA256SUMS.txt SHA-256 checksums of repository payloads

The PDF and LaTeX source govern if a renderer handles Markdown mathematics or numbering differently. No result should be reported as independently verified merely because it is listed as proved in the claim ledger.

Relation to established work

The manuscript distinguishes its continuous-selection question from Reck optical synthesis, Clements interferometers, established quantum Householder synthesis, and topological unitary-oracle limitations. The full bibliography is in the paper. The source LILY manuscript is identified in the provenance record and is not redistributed here.

Citation and reuse

Use CITATION.bib or CITATION.cff, and include the Hugging Face commit identifier when citing numerical artifacts. No DOI or arXiv identifier has been assigned in this package. A reuse license has not been selected; see RIGHTS.md.

Downloads last month
85