# Detecting phase persistence with separate photon receivers Bracket Allen · Spark ## Model and detector-only test Use logical labels 0 for HH and 1 for VV. Given phase φ, the one-pair state has populations 1/2 at both labels and off-diagonal entries v exp(−iφ)/2 and its conjugate. Visibility v is between zero and one. Within a detected block the states are independent conditional on phase, each pair has the same v, and the detection rule is phase-independent. Under the persistent hypothesis φ is drawn uniformly once for the block. Under the reset hypothesis it is drawn independently for every pair. Both have the same one-pair density matrix after averaging. The two analyzer choices measure X⊗X or X⊗Y, recording the product of the two signs. At fixed φ their means are v cos φ and v sin φ. Under the reset hypothesis the signs are independent and fair. For a preset split into a and b readings with N=a+b, the count likelihood is a product of binomial probabilities. Integrating the product under the persistent hypothesis averages a trigonometric polynomial of degree at most N. N+1 roots of unity give the exact average in exact arithmetic. For an independent calculation, expand (1+v cos φ)^k(1−v cos φ)^(a−k) and the corresponding sine factors. Odd moments vanish. A mixed moment of cos^(2i) φ and sin^(2j) φ is > (2i)! (2j)! / [4^(i+j) i! j! (i+j)!]. One integer denominator stabilizes the likelihood comparisons when v is rational. The equal-prior rule chooses the persistent hypothesis if its count probability exceeds the reset count probability. Ties choose reset. The false alarm is the probability of choosing persistent under reset. The average miss uses uniform φ under persistence. Equal-prior error is half the sum of those rates. Both likelihoods and the decision are symmetric under independent reflection of the two counts. To cap the worst miss for fixed φ, sample a single quadrant. For product Bernoulli laws at φ and at φ+δ, couple each sign with a shared uniform draw. The probability at least one sign differs is at most the sum of the individual probability differences, hence at most Nv|δ|/2. Every angle is within half a grid spacing of a sampled angle. A single setting has an exact blind phase, where the sign law is identical to the reset law. Its miss at the blind phase is one minus its false alarm. With two angles and v>0, at least one mean has magnitude at least v/√2. For n observations at each angle, a simple rule accepts persistent when either absolute sample mean exceeds v/(2√2). Hoeffding's inequality bounds its false alarm by 4 exp(−nv²/16) and its miss by exp(−nv²/16), uniformly over fixed phases. These coarse bounds describe the threshold rule. The comparison uses the equal-prior likelihood rule and directly evaluates its worst miss. At v=0.8 and N=64 the one-angle rule has 12.381% average error and misses 96.723% at its blind phase. The 32/32 split has 1.312% average error, 1.128% false alarms and a conditional miss between 2.222% and 2.243% at its worst phase (bounds rounded outward). At N=2, one reading at each angle has 50% average error because the cross moment averages to zero. ## Exact quantum benchmark using local operations Let a joint state be supported on the matching-label subspace spanned by |j,j⟩ for j from 0 to d−1. Write its coefficient matrix in that basis as R, so the full state is the isometric embedding of R. Let ω=exp(2πi/d). The first station measures the Fourier vectors |f_s⟩ = Σ_j ω^(s j)|j⟩/√d. On outcome s, the second station's unnormalized state is D_s R D_s†/d with [D_s]_jj = ω^(−s j). This follows by sandwiching the first station's part of |j,j⟩⟨k,k| between ⟨f_s| and |f_s⟩. The outcome probability is tr(R)/d=1/d. The first station sends s and the second applies D_s† to obtain R. Every joint measurement restricted to the subspace can be applied to R locally. The converse bound holds because local operations with classical communication are allowed joint measurements. The argument applies to mixed states and arbitrary priors supported in the same subspace. For N matched qubit pairs, the first station can use the tensor-product diagonal basis instead of the d-dimensional Fourier basis. Its outcome string s contributes the sign (−1)^(s·j) on the matching string j. The receiver removes it with ordinary local phase flips selected by s. This is the decoding operation associated with one-bit teleportation applied to an already encoded state. The receiver still needs coherent processing across its N photons, or memory long enough to perform the equivalent operation. See [Zhou, Leung and Chuang](https://arxiv.org/abs/quant-ph/0002039) for the original technique and [Nathanson](https://arxiv.org/abs/0906.2382) for Fourier measurements in other local discrimination settings. Propagation or local reference shifts constant across the whole block produce a scalar phase within each fixed-weight sector. This sector calculation is insensitive to those constant offsets. Variation between pairs and leakage into mismatched polarization states can invalidate the model. ### Ideal block Under the persistent hypothesis, phase averaging removes entries between different Hamming weights. Each sector of weight m has dimension d_m = C(N,m) and occurs with probability d_m/2^N. Within the sector, the state is the equal coherent sum of matching strings. The reset state has the same sector weights and is uniform on the corresponding matching labels. In the ideal case, measuring the sector at both stations without observing the string, then measuring in conjugate Fourier bases, produces matching outcomes with probability one for persistence and 1/d_m for reset. Accepting on a match has false-alarm probability (N+1)/2^N and zero miss. This attains equal-prior error (N+1)/2^(N+1). The numerical table uses ties in favor of reset, so dimension-one sectors trade an equal amount of false alarm for miss. ### Finite visibility and an exact sector spectrum With v between zero and one let a=v². In a sector indexed by m-subsets S,T of {1,…,N}, the persistent matrix is M/2^N with M_ST=a^(m−|S∩T|). The reset matrix is I/2^N. Use m≤N/2, since replacing each set by its complement gives the same distances. Expand > M_ST = Σ from j=0 to m of a^(m−j) (1−a)^j C(|S∩T|,j). Write W_{j,m} for the map from j-subsets to m-subsets with a 1 for each inclusion. The matrix with entries C(|S∩T|,j) is W_{j,m} W_{j,m}ᵀ. The level-ℓ harmonic sector consists of the lifts of ℓ-subset functions annihilated by the down map. Its multiplicity is h_ℓ=C(N,ℓ)−C(N,ℓ−1) with C(N,−1)=0. On that sector the inclusion Gram matrix has eigenvalue zero for j<ℓ and otherwise has eigenvalue > C(m−ℓ,j−ℓ) C(N−j−ℓ,m−j). For a derivation, let U sum from subsets at rank k to the immediate supersets and let D=Uᵀ. On rank k, DU−UD=(N−2k)I by counting neighbors. For h at rank ℓ with Dh=0, commuting D through powers of U gives D U^r h = r(N−2ℓ−r+1) U^(r−1)h. The normalized lift to rank k is U^(k−ℓ)h/(k−ℓ)!. Raising it from j to m by W_{j,m}=U^(m−j)/(m−j)! multiplies the normalized lift by C(m−ℓ,j−ℓ). Lowering the normalized rank-m lift by W_{j,m}ᵀ multiplies it by C(N−j−ℓ,m−j), from the same commutator. Lowering past ℓ kills it. U is injective below midrank because ||Uf||²=||Df||²+(N−2k)||f||². The harmonic dimensions follow by subtracting adjacent ranks. The lifted sectors are orthogonal by the adjoint relation and span rank m by their dimensions. This is the established Johnson-scheme decomposition. See [Filmus](https://www.combinatorics.org/ojs/index.php/eljc/article/view/v23i1p23). Summing the inclusion eigenvalues with their expansion coefficients gives λ_ℓ, the eigenvalues of M. In each sector, accept persistence on eigenvalues above 1. The exact equal-prior error is 2^(−N−1) times the sum over sectors of Σ_ℓ h_ℓ min(1,λ_ℓ). In this phase-only model it is 0.02256% at v=0.8 and N=64. The numerical check used both direct sector diagonalization and independent phase integration. The arbitrary-state transfer check compared a subset of mixed and pure states against directly calculated global measurement success. ## Randomized two-pair test Select one analyzer angle uniformly at random and keep that same angle for both pairs. Conditional on phases φ₁ and φ₂, the expected product of the two signs is > (v₁ v₂/2) [cos φ₁ cos φ₂ + sin φ₁ sin φ₂] = (v₁ v₂/2) cos(φ₁−φ₂). Thus the agreement probability is 1/2 + (v₁ v₂/4) cos(φ₁−φ₂). At visibility 0.8 for both pairs, common phase, independent uniform phase and a π phase shift give 0.66, 0.50, and 0.34 in expectation. Conditional on a constant phase, the first and third predictions hold at any phase origin. The use of the same random setting within a block is essential for this two-pair test. A lab can falsify the prediction with a blinded phase program. Interleave all three preparations, keep the two-pair time window and acceptance rule fixed and check that detection rate and calibration are consistent across the three programs. Report accepted block counts and binomial uncertainty if blocks are independent. Phase-dependent loss, background coincidences, time-dependent visibility and dependence between blocks are plausible sources of disagreement to measure directly. See [Stas and colleagues](https://www.nature.com/articles/s41586-026-10171-w) for an experimental optical-network phase measurement with a different preparation and detection scheme. ## Reproduce Use Python 3 with NumPy. The repository has the scripts in its scripts directory. The portable website presents them with a .py.txt suffix. Download the three scripts together and remove the final .txt from their names. Run these commands in that directory in PowerShell. ```powershell python -B audit-analyzers.py | Set-Content -Encoding utf8 phase-analyzer-results.json python -B check-integer-analyzers.py | Set-Content -Encoding utf8 integer-analyzer-results.json python -B check-collective.py | Set-Content -Encoding utf8 collective-results.json ``` Run them in a working directory of your choice so you can keep the original public results and compare a rerun. The integer script uses the first JSON to check its independent likelihood decisions. All inputs in these checks are from the stated model. The data from the separate optical phase-monitor study are available on the Spark research page.