WorksPhysics and Astronomy
Phase-Stabilization-Free Information Processing on Unstable Photonic Processors
Abstract
Hadamard-coded optical receivers commonly require stable interference conditions for absolute codeword discrimination. Here we encode four symbols as differential Hadamard operations: no phase change or a shift on exactly two of three non-reference input modes. The information is carried by the selected phase-change operation, rather than the absolute optical codeword. We investigate a fixed eight-port intensity-only receiver that reconstructs six coupled trigonometric observables from simultaneous power measurements. Their deterministic sign transformations allow an analytical decoder to identify the applied operation from successive measurements without continuous optical phase stabilization or knowledge of the initial absolute codeword label. An earlier measured signature and sufficiently limited inter-measurement drift remain necessary. We establish exact observable reconstruction, characterize exceptional phase configurations and conditional noise sensitivity, and compare ideal four- and eight-port detection under an equal-photon budget. Experiments on programmable photonic processors yield 96.19% analytical decoding accuracy; a separate machine-learning analysis reports 98.31% on a held-out experimental trace. The results demonstrate differential, intensity-only Hadamard operation decoding under the tested conditions.
Introduction
Hadamard encoding provides orthogonal codewords for optical communication and signal processing, enabling low-complexity encoding and decoding with useful discrimination properties [1], [2], [3]. The four-dimensional Hadamard matrix () provides a compact realization of these properties using a relatively small number of optical modes. Advances in integrated and quantum photonics have made complex linear-optical transformations increasingly accessible on programmable chips [4], [5], [6], [7]. In an ideal phase-stable receiver, the inverse Hadamard transformation concentrates each codeword in a corresponding output port, permitting direct intensity-based discrimination. This ideal behavior becomes less reliable when the encoded modes acquire different phase shifts.
In practice, phase fluctuations arising from environmental perturbations, fabrication tolerances, and propagation effects [8] disturb the relative phases required for coherent interference and can make codeword discrimination unreliable. Active phase stabilization and tracking can mitigate these effects [9], [10]. Recent demonstrations include on-chip feedback for four-input Hadamard transformations [24] and Hadamard-based joint detection using separate programmable processors for codeword generation and decoding [25]. Although effective, such approaches introduce feedback, calibration, and control requirements. These requirements become particularly relevant for multi-input systems and changing channel conditions. A decoder that remains optically fixed during operation could reduce feedback and recalibration overhead, even though maintaining a thermo-optically programmed transformation may still consume electrical power.
Phase instability is also a challenge in quantum photonic platforms employing squeezed optical states. For example, the Borealis processor used actively phase-stabilized interferometric loops for large-scale Gaussian boson sampling [12], while recent theoretical studies have investigated the effects of input dephasing on such systems [26]. For optical decoding, obtaining complementary phase information simultaneously is particularly useful in view of the limitations of sequential quadrature measurements [27]. The optical Green Machine uses a passive Hadamard transformation to turn suitable phase-coded inputs into intensity-distinguishable outputs [14], while universal interferometers allow more general programmable transformations [13], [15]. Related developments in photonic information processing and integrated devices provide further context [17], [19]. Nevertheless, conventional four-port output-power concentration can become ambiguous at certain unknown relative-phase configurations. This motivates a receiver that retains direct power detection but exposes additional, complementary phase signatures without optical reconfiguration between measurements.
Here we use a differential signaling alphabet, in which the transmitter encodes each symbol by choosing one of four operations: leaving the relative phases unchanged or adding to exactly two of the three non-reference phases. Thus the encoded information specifies which phase shifts occur, not which absolute Hadamard state is occupied. To recover this operation under unknown input-relative phases, we design a fixed eight-port transformation whose simultaneous power measurements allow exact reconstruction of six coupled sine- and cosine-type observables. Their sign changes follow deterministic rules for the four operations, enabling differential identification without continuous optical phase-error feedback or coherent detection. The analytical decoder needs a preceding measured signature and sufficiently limited drift between observations, but not an initial absolute codeword label. We establish the reconstruction map, characterize exceptional phase configurations and noise sensitivity, and present an idealized equal-photon-budget four- versus eight-port comparison. Experiments demonstrate analytical transition decoding, complemented by a separately evaluated machine-learning approach. The contribution is the combined differential signaling rule, eight-port optical construction, and operation identification from intensity-only signatures.
Decoding Under Phase Noise
Four-Port Hadamard Decoding
Conventional four-port Hadamard decoding uses the normalized Sylvester-ordered matrix
The four conventional Hadamard codewords are equal-amplitude orthogonal states: for a basis vector , the transmitter may prepare , and an ideal inverse receiver gives . Our signaling rule differs from labeling these absolute states. At symbol interval , the transmitter instead selects an operation from the four-element alphabet
where the entries of correspond to the non-reference phases , respectively. The selected symbol commands : either no change or a shift on exactly two phases. For the receiver-relative phase triple , successive observations obey , where collects inter-interval phase drift. Each allowed operation maps a Hadamard codeword into another codeword in the absence of drift, but the transmitted information is , not the absolute codeword index.
When the four encoded modes acquire relative phase fluctuations, choosing mode 1 as a reference, Bob’s input state can instead be written as , with . Here , , and denote the total relative phases, incorporating both the encoded 0 or offsets and any subsequently acquired phase noise.
Applying yields four output powers depending on these relative phases. For example,
while the remaining powers () follow by analogous sign permutations.
The three nonidentity operations in Eq. (1) flip the signs of exactly two Hadamard components, while leaves all phases unchanged. The shifts change interference terms according to and induce known permutations of the conventional four-port powers. The receiver’s task is to identify which of these four operations was selected.
Codeword Transitions Under Phase Noise
For example, flipping modes 2 and 3 corresponds to . The Hadamard algebra gives , where reverses the four output ports. Therefore the output powers change exactly as , regardless of the initial phases , provided no additional phase drift occurs. With an inter-measurement phase increment , this correspondence is instead accurate up to . The exact permutation matrix and expanded drift expressions are given in the Supplementary Material. Thus the main limitation is not the permutation identity itself, but ambiguity of some measured power patterns and drift relative to the reference observation.
Extension to an Eight-Dimensional Framework
The real-valued four-port Hadamard transformation produces cosine-type interference terms but does not directly provide complementary sine-type observables. We therefore embed the four-dimensional Hadamard code into an eight-dimensional passive interferometric architecture that also provides phase-sensitive sine-type information.
The logical Hadamard codeword occupies modes 1–4, corresponding to the four equal-amplitude components of a single row of . The remaining four modes act as ancillary channels and are initially unpopulated. The input state is thus
Here , , and are the effective phases of the populated modes relative to mode 1, including phase variations accumulated after encoding. Throughout the analysis, the optical decoding transformation is assumed to remain fixed; internal drift of the programmed interferometer is not included in this model.
The decoding operation is implemented by a fixed unitary transformation ,
Applying to yields eight output amplitudes, whose corresponding intensities contain both cosine- and sine-type dependencies on the relative phases. For example,
while the remaining output powers follow by analogous combinations.
This transformation makes six trigonometric observables analytically recoverable from the eight intensity measurements. For instance,
with the other five reconstruction expressions and the full proof given in the Supplementary Material. These six quantities form a linearly recoverable, but phase-constrained, signature.
Complementary trigonometric dependence can help avoid some zero-crossing ambiguities of a cosine-only power pattern, although no phase-uniform margin is guaranteed. The optical decoding transformation is fixed during operation and requires only power detection, not coherent field measurement or active input-phase feedback. In a thermo-optically programmed mesh, holding the fixed transformation may still require electrical bias power.
Controlled comparison with conventional four-port decoding
The conventional Hadamard receiver and the eight-port decoder both conserve total input power, but their intensity signatures need not have the same distinguishability when the encoded modes acquire unknown relative phases. This can be illustrated without assigning a phase-noise model. In the port convention of the displayed Sylvester matrix in § 2-A, take , , . The conventional receiver gives the uniform power vector . All four Hadamard transitions permute this tuple without changing it, so this particular phase configuration is exactly ambiguous to the conventional intensity-only decoder. Applying the eight-port unitary of Eq. (4) to the state in Eq. (3) instead yields . The four candidate eight-port power signatures are distinct, with minimum observable separation (see the Supplementary Material for the proof). This establishes an explicit advantage at the chosen point, not uniform dominance over every phase and measurement-noise condition.
To provide a reproducible, equal-photon-budget comparison, we also simulated ideal photon-counting discrimination with the true, unchanged pre-transition phase triple supplied to the decision rule as an ideal reference (an oracle assumption). Each of 50,000 trials draws , , independently and uniformly on , selects one of four transitions uniformly, and generates detected photons from the corresponding four- or eight-output multinomial power distribution. For both receivers the same total count is used, and the transition is assigned to the candidate maximizing the conditional multinomial likelihood. Figure 1 shows the resulting ideal-model error fractions. At , the simulated rates are 0.15510 for conventional four-port detection and 0.01090 for the eight-port transformation. The comparison tests the intensity signatures under a specific photon-counting model; it does not reproduce the experimental sequential sign algorithm, incorporate reference-estimation errors or phase changes during an observation window, or establish a hardware-independent advantage. The simulation details and reproducibility code accompany the source files. This reference-conditioned receiver comparison is separate from the reported machine-learning decoder.
Figure 1. Controlled ideal four-port versus eight-port comparison with an unchanged known phase reference, uniform random phase triples, 50,000 trials per count level, equal total detected photons, and conditional multinomial maximum-likelihood decisions. These are simulations, not measured decoding accuracies.
Sign-Flip Structure and Noise-Robust Decoding
The availability of both cosine- and sine-type observables in the eight-dimensional decoder enables a discrete, noise-robust representation of Hadamard codeword transitions. As shown above, the output intensities provide six complementary trigonometric observables, allowing transition signs to be compared through several interference terms. We exploit this structure by focusing on the signs of a small set of analytically reconstructed trigonometric observables.
Specifically, from the measured output powers we reconstruct the six quantities , , , , , and define the corresponding sign vector
For the operation alphabet in Eq. (1), the observable vector obeys when the phases do not drift, with the four diagonal sign operators given in the Supplementary Material. The unknown initial phases affect , but not the operation-dependent sign pattern. For example, choosing induces
while and remain unchanged. The identity operation leaves all six signs unchanged; each of the other operations has its own fixed sign-inversion pattern. With additional drift, generally differs from , so the previous measured signature is a temporal reference rather than a known absolute codeword.
This representation can offer a robustness advantage. Except near zero crossings, the sign of a trigonometric observable is stable under moderate phase noise, even when its magnitude fluctuates. Moreover, other reconstructed observables may remain sufficiently far from zero to support a transition decision. The implemented analytical strategy therefore uses pattern matching on rather than full phase estimation; the amount of noise tolerance depends on the observable magnitudes, reference stability, and detector statistics.
In this framework, the decoded symbol is the estimated transmitter operation . It is determined from changes in successive intensity-derived signatures, not from an absolute optical state or explicit phase recovery.
Reconstruction and Identifiability
Let and let contain the six trigonometric observables defined above. The fixed transformation of Eq. (4) gives , where is an sign matrix satisfying and . Thus the exact observable reconstruction is . The complete matrix and explicit reconstruction formulas appear in the Supplementary Material.
The four candidate signatures of the allowed Hadamard transitions are pairwise distinct except at 24 isolated input-phase configurations. This establishes almost-everywhere identifiability, but not a uniform noise margin. For a known unchanged reference and independent isotropic Gaussian noise of variance on the reconstructed observables, a minimum-distance decoder obeys . The precise assumptions, proofs, and correlated-noise extension are provided in the Supplementary Material; this bound does not directly apply to the implemented sequential sign decoder under drift.
In the following sections, we validate this decoding strategy experimentally and extend it using data-driven classifiers to further enhance robustness.
Experimental Proof-of-Concept: Hadamard-2 Decoder
To validate the feasibility of the proposed decoding scheme on real photonic hardware, we implemented a proof-of-concept experiment using a simplified Hadamard-2 decoder. This experiment serves as an initial step toward scalable implementations of higher-dimensional Hadamard codes.
We begin with the normalized Hadamard matrix
A codeword transition corresponds to a relative -phase shift between the two input arms.
To emulate the principles of the higher-order decoding scheme in hardware, we extended the transformation to four output modes by embedding the two input channels into a unitary. The transformation was chosen such that both the cosine and sine of the relative phase appear directly in the output powers:
The columns of are orthonormal, ensuring unitarity and conservation of total optical power.
The input state, corresponding to two modes with a relative phase , is and the output is given by . The measured powers at the four detectors are then
From these outputs, the relative phase can be directly reconstructed:
This analytic extraction of phase allows the decoder to continuously track and identify abrupt -shifts corresponding to codeword transitions. As in the higher-dimensional case, the decoder selects the trigonometric component (either or ) with the larger magnitude to mitigate noise sensitivity near zero-crossings.
Quadrature Sensitivity to Phase Transitions
The reconstructed sine and cosine are complementary: a -phase transition changes to its negative, so the magnitude of the jump in this two-observable plane is exactly 2 for every initial phase . Moreover, , ensuring that at least one observable has a transition magnitude of at least . Among pairs of equally normalized sinusoidal observables, quadrature separation maximizes the worst-case transition response; the full minimax derivation and its scope are provided in the Supplementary Material. This does not establish optimality among all possible passive multi-output receivers.
Figure 2 shows the measured output powers for a test sequence of Hadamard-2 codewords. At randomly selected time indices, a relative -phase shift was manually applied, leading to visible discontinuities in the output traces. In this experimental trace, transitions were identified at all seven applied shift locations: indices 186, 254, 326, 466, 688, 838, and 910.

Figure 2. Measured optical output powers corresponding to Hadamard-2 decoding. Phase shifts of were applied at known indices to simulate codeword transitions.
Absolute codeword labels depend on the initial reference. For two-mode signaling, pilot-free differential action-based encoding can instead represent a bit by the presence or absence of a phase shift between known symbol intervals. This identifies a transition without requiring an absolute initial codeword label, but still depends on inter-interval observations and timing information.
Experimental realization: Hadamard-4 decoder
The Hadamard-4 decoder was experimentally implemented using commercial programmable photonic processors (QuiX Quantum) fabricated on a low-loss silicon nitride platform [20, 21]. Each device consists of a universal multiport interferometer network with thermo-optic phase shifters that allow full reconfiguration of the implemented unitary. In our experiments, one photonic processor was programmed to prepare and encode the Hadamard codewords, while a second processor was configured to realize the eight-dimensional decoder transformation. The universal interferometer implements arbitrary unitary operations via the Clements decomposition [22], which we used to compile the custom circuit required for this work. The transmitter prepared four-mode Hadamard codewords, while the receiver implemented the distinct eight-dimensional unitary of Eq. (4); the decoding chip did not simply implement a second four-mode Hadamard transformation.
The trigonometric variables are calculated from the normalized measured powers using Eq. (6) and the complete set of relations in the Supplementary Material. The inversion is exact for the programmed ideal transformation and equal-amplitude, four-mode input; residual gain imbalance or deviations from can perturb it. Output-power normalization removes common overall scaling, not unequal channel gains.
In the analytical Hadamard-4 experiment, the transmitter processor implemented the four-operation alphabet of Eq. (1). At each scheduled symbol interval it either kept the three non-reference phases unchanged or applied shifts to one of the pairs , , and . The selected operation, rather than the resulting absolute codeword, defined the transmitted symbol. The prescribed operation sequence supplied the ground truth independently of receiver decisions. A second processor held the fixed decoding transformation throughout acquisition without optical phase-feedback updates. The eight measured output powers were normalized to unit total power and converted into six trigonometric observables using the reconstruction relations given in the Supplementary Material.
The initial measured observable-sign pattern established a temporal reference; knowledge of the initial absolute Hadamard codeword label was not required for analytical operation identification. For each subsequent symbol interval, the receiver compared the new sign pattern with the preceding measured reference and identified which of the four allowed operations had been applied. The algorithm prioritized the three reconstructed observables with the largest absolute magnitudes to reduce sensitivity to zero crossings. The decoded output was the phase-change operation, with the reference updated for subsequent comparisons; if an initial codeword label is separately available, the absolute state can also be tracked by accumulating the detected operations. The analytical decoder achieved an overall classification accuracy of 96.19% on the measured sequence. This is differential decoding from successive measurements, not memoryless decoding without a reference, and does not establish tolerance to arbitrarily fast
drift. Figure 4 shows the powers and reconstructed observables around the commanded updates.

Figure 4. (a) Power distribution dynamics across 8 channels during codeword updates. (b) Reconstructed trigonometric observables used for differential transition identification.
To investigate the sensitivity of the analytical decoder to phase fluctuations, we performed numerical simulations using a Wiener phase-diffusion model, following the stochastic modeling framework investigated in our earlier study of phase instability in photonic processors [8]. The phase evolution is represented by
where , denotes the simulation time step, and determines the phase-diffusion strength, with units of when is expressed in seconds.
Figure 3 shows the simulated decoding accuracy as the phase-diffusion strength is varied. The dashed horizontal line indicates the separately measured analytical decoding accuracy of 96.19% for comparison. The curve illustrates sensitivity to phase fluctuations under the assumed simulation conditions; it is not a fit of the diffusion coefficient to the experimental data.

Figure 3. Simulated analytical decoding accuracy versus phase-diffusion strength (labeled on the horizontal axis). The dashed line indicates the experimentally measured accuracy of 96.19% for comparison.
The decoder is sensitive to phase changes that obscure the expected sign transformations, particularly near zero crossings. Fabrication and alignment imperfections, detector noise, and deviations from the programmed transformation can also perturb reconstructed observables. These limitations restrict the operating regime; they are not removed by the sign-pattern approach.
Reliable operation identification requires that phase drift and measurement noise not obscure the expected sign transformations between observations; near-zero observables are especially susceptible to incorrect sign assignments.
To improve decoding reliability in the presence of noise and near-zero crossings, our implementation prioritized the three trigonometric quantities with the largest absolute values at each step. Specifically, we tracked sign changes in , , , , , and , and selected the three most significant (in magnitude) to determine codeword transitions. For instance, in a representative transition from Codeword 2 to Codeword 3 at index 1239, the decoding logic predicts sign changes in both and . However, as illustrated in Figure 5, does not exhibit the expected sign inversion. This discrepancy is consistent with phase fluctuations, including Brownian-like drift, which introduces stochastic fluctuations in the optical phase and can mask sign transitions when a trigonometric component is near zero. Such cases underscore the importance of dynamic significance-based selection among trigonometric variables, as relying on low-magnitude terms increases susceptibility to noise-induced errors.

Figure 5. Reconstructed trigonometric observables around an example of analytical transition-decoding failure. The highlighted transition occurs near index 1239.
The acquisition hardware was not specifically optimized for low-noise optical measurement. Finite resolution and electronic noise can therefore corrupt reconstructed observables near zero crossings; their contribution to the measured error rate was not independently characterized.
To mitigate these issues, careful calibration of the photonic chip is essential [23], [11]. This includes fine-tuning the relative phases, balancing splitter ratios, and compensating for fabrication variances through thermal or electrical control elements. Additional coding or optical feedback could be explored for more demanding noise conditions, at the cost of added complexity. Here the optical receiver is held fixed during the reported decoding measurements, and no overall electrical-energy or throughput advantage has been quantified.
Machine–learning decoding
Second method to find correct codeword with no phase stabilization is the machine-learning decoding that relies on sequential inference: the previously decoded symbol supplies a phase reference and only the differential jump around each detected transition is fed to the classifier. A single transition is thus represented by the eight components of plus the categorical flag ”initial state” (0–3); the label to be learned is the succeeding ”final state”.
To train and evaluate our decoders we relied on three physics-based synthetic data sets and two experimental data sets. Each synthetic data set contains 20 000 labeled symbol transitions and captures a distinct noise regime: (i) an ideal, noise-free processor; (ii) the same processor disturbed solely by Brownian phase noise; and (iii) the processor perturbed by both Brownian phase noise and the ≈ 15 % detector-gain noise measured on our hardware (see Figure 2). We then recorded two back-to-back experimental traces comprising 1502 and 1363 transitions, respectively; we use the first for fine-tuning and keep the second strictly for blind-test evaluation. For every transition we normalise the raw powers such that , yielding a nine-dimensional feature vector (the eight normalised power differences plus the categorical previous state) and a four-class target label .
Six independent learners were trained: XGBoost, Light-GBM, CatBoost, Random-Forest, Extra-Trees and a fully connected neural network (layers 64–32–32–16–8–4 with ReLU activations, Adam optimiser , early stopping after 70 idle epochs). For the tree ensembles we used 200 estimators, depth 8–9 and learning rates 0.02–0.03; Random- and Extra-Trees were later enlarged by 100 trees via warm-start. Two curricula were explored. In the first, the three simulations were shown successively for 200 epochs each and the models were then fine-tuned for 50 epochs on the experimental training set. In the second, the simulations were concatenated and shuffled once, processed for 300 epochs, and again fine-tuned for 50 epochs on the experiment. Both delivered statistically identical results, so the joint curriculum—faster by 18% wall time—was adopted.
Figure 6 plots the validation accuracy versus epoch for all six learners. CatBoost and the neural net cross the 99 % line within forty epochs; XGBoost follows closely, while Light-GBM climbs more gradually. The shaded band (not shown to avoid clutter) is narrower than ±0.004 for five random splits, confirming good statistical robustness.

Figure 6. Validation accuracy on the mixed synthetic corpus; numbers in the legend are the final values.
Table I summarises the top-1 accuracies after curriculum training. On a held-out synthetic fold the ensemble reaches 0.9906, and on the blind experimental trace 0.9831. Precision, recall and remain balanced across the four classes (see Table I), the weakest transition (1 → 2) still scoring . A confusion-matrix inspection shows only nearest-neighbour errors, consistent with occasional phase slips of magnitude .
| Model | Synthetic | Experimental |
| XGBoost | 0.9866 | 0.9817 |
| LightGBM | 0.9865 | 0.9685 |
| CatBoost | 0.9900 | 0.9442 |
| Random-Forest | 0.9888 | 0.9560 |
| Extra-Trees | 0.9879 | 0.9751 |
| Neural-Net | 0.9902 | 0.9340 |
| Soft-vote ensemble | 0.9906 | 0.9831 |
Table I. Top-1 accuracy of each learner after curriculum training. Synthetic column refers to a held-out 10 % split; experimental column is the blind test.
| Class | Precision | Recall | Support | |
| 0 | 0.98 | 0.98 | 0.98 | 334 |
| 1 | 0.98 | 0.98 | 0.98 | 348 |
| 2 | 0.99 | 0.99 | 0.99 | 351 |
| 3 | 0.98 | 0.99 | 0.99 | 330 |
| Macro avg | 0.98 | 0.98 | 0.98 | 1 363 |
Table II. Confusion-matrix metrics for the ensemble on the blind experimental test set.
In conclusion, a compact six-model ensemble trained on a blend of physics-based simulations and a single 90-s experimental trace suppresses the raw symbol error by more than two orders of magnitude, achieving % accuracy in a strongly perturbed photonic processor without any optical phase stabilization. The approach is immediately applicable to larger meshes and promises a low-power, fully passive path towards high-throughput reconfigurable optical networks.
Conclusion
We developed and experimentally tested a differential Hadamard-4 signaling and decoding scheme in which each information symbol specifies no phase change or a shift of two non-reference phases. Thus the information is encoded in the selected operation, not the absolute optical state. The fixed eight-port receiver reconstructs six trigonometric observables from simultaneous intensity measurements and identifies these operations through their known sign transformations, without continuous optical phase feedback. The analytical rule requires an earlier measured signature but not the initial absolute
codeword label. The Supplementary Material establishes exact reconstruction, almost-everywhere distinction of the four operations apart from 24 exceptional phase configurations, and noise bounds conditional on a stable reference.
The analytical decoder identified the transmitted phase-change operations with 96.19% accuracy on its measured sequence. A separate machine-learning analysis reports 98.31% on held-out experimental data; these evaluations are not a matched head-to-head comparison. Neither result establishes memoryless decoding without a preceding observation or unrestricted tolerance to rapid phase diffusion.
We also compared the conventional four-port Hadamard decoder and the proposed eight-port receiver under an explicitly idealized, equal-detected-photon model. The added outputs resolve an example phase ambiguity of the four-port receiver and reduce conditional classification errors in the stated numerical comparison. These results identify a useful design trade-off; they are not a guarantee of superiority under arbitrary optical loss, detector noise, or drifting references.
Potential directions include structured phase-coded classical links, optical code-division multiple access, and phase-sensitive preprocessing in programmable photonic circuits. The phase-sensitive interference principle may also extend to other structured codebooks, including mutually unbiased bases [28], and connects to broader work in integrated optical neural networks and machine-learning-assisted photonics [16], [18]; any such implementation would require separate receiver-specific analyses. The fixed transformation avoids continuous input-phase feedback, but maintaining thermo-optic biases is not electrically free. Actual power consumption, latency, scalability, and network-level performance remain to be measured.
Funding
This work was financed by the DFG via grant NO 1129/2-1 and by the Federal Ministry of Education and Research of Germany via grants 16KIS1598K, 16KISQ093, 16KISQ077 and 16KIS2604. The generous support of the state of Bavaria via the 6GQT project is greatly appreciated. Finally, the authors acknowledge the financial support by the Federal Ministry of Education and Research of Germany in the programme of “Souverän. Digital. Vernetzt.”. Joint project 6G-life, project identification number: 16KISK002.
Disclosures
The authors declare no conflicts of interest.
Data Availability
Data underlying the results presented in this paper are available from the corresponding author upon reasonable request.
Detailed Conventional Four-Port Transition Calculation
Example: Codeword Flip and Small Noise
We illustrate the effect of phase noise on four-port Hadamard decoding by considering a transition between two Hadamard codewords. Such a transition changes the signs of exactly two components of the Hadamard row, corresponding to -phase shifts on two populated input modes. Here we consider a flip of modes 2 and 3, corresponding to the relative phases and .
Including additional phase perturbations , , and between the reference measurement and the new measurement, the output power at port 1 is
The expressions for the remaining output ports follow analogously.
The permutation of the output powers follows directly from the algebraic structure of the Hadamard transformation, without requiring a small-phase approximation. Define the input sign-flip operator . For the normalized, Sylvester-ordered Hadamard matrix defined in § 2-A, direct multiplication gives
Consequently, if denotes the output before the codeword transition, then in the absence of any additional drift . Taking squared magnitudes shows that the output powers are exactly permuted:
This identity holds for arbitrary initial relative phases , , ; it is not restricted to phases close to 0 or .
When further phase changes occur between measurements, let and define the port permutation by , , , and . Because the intended input sign flips and the additional phase shifts are diagonal operations, the measured powers obey
where denotes the pre-transition four-port power function. Thus, the permutation itself is an exact consequence of Hadamard algebra; only comparison with powers measured at an earlier phase configuration becomes approximate when there is additional drift. This approximation requires small phase changes during the comparison interval and does not provide a guarantee under arbitrarily fast phase fluctuations.
Minimax Optimality of the Quadrature Observables
The reconstruction of both and is not an arbitrary choice of phase-sensitive features. It is the minimax-optimal choice among all pairs of equally normalized sinusoidal observables for detecting an unknown-phase transition.
To see this, consider two equally populated optical input modes with relative phase . For an arbitrary passive linear interferometer, the power measured at output port has the general form , where is independent of , is the interference amplitude, and is fixed by the interferometer. Thus, every phase-dependent intensity observable from two populated modes is necessarily a shifted and scaled sinusoid.
Consider now two equally normalized phase observables separated by an arbitrary offset , and . A transition between the two Hadamard-2 codewords corresponds to . The resulting observable jump is
and its squared Euclidean magnitude is
For a fixed separation , the smallest transition signal over all unknown initial phases is therefore . This worst-case value is maximized when (mod ), which corresponds exactly to the sine–cosine pair. At this optimum, , and hence for every initial phase .
The quadrature representation therefore has no blind initial phase. Whenever one component is close to zero, the complementary component remains finite. Indeed, , so at least one reconstructed observable changes in magnitude by at least under every transition.
For the four-output transformation used here, , , and the minimax-optimal observables are reconstructed directly as , . Moving from the raw powers to these quadrature observables therefore converts the detector outputs into a phase-independent transition representation whose total jump magnitude is constant and whose strongest component is maximized in the worst case.
This optimality statement applies to pairs of equally normalized sinusoidal observables. It does not assert global optimality among all possible passive measurements with arbitrary numbers of output ports. Different multi-output constructions may provide larger raw-power separation under particular detector-noise models. The sine–cosine construction is optimal specifically in the minimax sense relevant here: among two-observable phase representations, it maximizes the smallest detectable response to an unknown-phase transition.
Phase-noise reference scales and relative-phase correlations
Our previous experimental study of phase instability in an eight-mode photonic processor [8] used Brownian phase fluctuations as a simplified model for fiber-induced drift. The phase-distribution comparison used a Brownian coefficient , with 35 experimental runs of 300 s and approximately 125 recorded output-power samples per second per channel. A separate on-chip feedback comparison used with a 38-Hz feedback update rate. These values characterize the earlier experiments and provide reference scales for the phase-diffusion model. They are not measurements of the phase diffusion in the present Hadamard-4 decoding run, and neither the sampling rate nor the 38-Hz feedback update rate establishes the numerical time step used for Figure 3 of the main paper. The actual generator time step, detector noise level, and decision count in that figure must be documented from its original simulation settings.
There is an additional distinction between independent input-mode phase walks and the three relative phases used by the Hadamard-4 decoder. If four absolute input phases follow independent Brownian motions , and , then their increments satisfy
Consequently, the standard deviation of each relative-phase increment is and distinct relative increments have correlation . A simulation which assigns independent Wiener increments directly to , , is therefore not identical to the independent-input-mode model. The earlier reported Brownian coefficients cannot be transferred between these conventions without specifying which phase variable they describe.
Generalization beyond Hadamard transitions
The principle that a passive interferometer maps phase differences into intensity-dependent interference terms is not restricted to Hadamard inputs. However, exact recovery, distinguishability, and phase-noise robustness do not automatically extend to an arbitrary codebook; they depend on the receiver and the available measurements. To state the generic algebraic principle, consider a family of mutually orthogonal equal-amplitude phase codewords. Let each codeword be written as
with orthogonality condition
When such a codeword passes through a passive interferometer , the output field at port is , and the detected power is
The diagonal terms contribute a constant offset , while all phase dependence arises from the off-diagonal interference terms.
A general unitary interferometer contains complex-valued coefficients, so each product can be written as , with . Expressing the input phase difference as , , shows that the real-valued intensity measurement necessarily involves both trigonometric quadratures:
Consequently,
with coefficients and , consistent with the definitions in Eqs. (5) and (10). Both cosine and sine contributions can arise when the interferometer coupling coefficients have appropriate real and imaginary components; their individual observability depends on the chosen transformation. The real part of the coupling contributes to the cosine channel, while the imaginary part contributes to the sine channel.
Each phase codeword can be associated, up to a global phase, with a trigonometric signature , and transitions between codewords correspond to deterministic transformations of these signatures. In Hadamard-encoded systems these appear as sign flips in , whereas for general codes they involve simultaneous changes in multiple cosine and sine components. The structure, however, remains fully deterministic.
In the presence of small phase noise on each mode, the differences shift as with . First-order expansions give , , illustrating that the two quadratures exhibit complementary noise responses. Whenever one observable becomes unreliable due to a zero crossing, the other typically remains strong, providing intrinsic redundancy that enhances robustness.
These expressions establish the generic possibility of sinusoidal intensity responses, not generic access to every quadrature or an invertible measurement map. For other codebooks, suitably chosen interferometers may yield useful distinguishable signatures, but this requires an independent identifiability and noise analysis. Mutually unbiased bases are one possible structured family of interest [28]; no such extension is implemented or proven here. Related hardware-oriented contexts include integrated optical neural networks [16] and machine-learning-assisted integrated photonics [18].
Algebraic identifiability and noise robustness of Hadamard codeword transitions
Exact reconstruction from output powers
We first verify that the six trigonometric observables used by the decoder are directly reconstructible from the eight output-power measurements. With the input state in Eq. (3) and the fixed unitary transformation in Eq. (4), let , , . Define
Direct matrix multiplication gives the affine mapping
where
The columns of are mutually orthogonal: and . Hence the exact inverse formula is
For normalized measured powers, this is equivalently
These identities hold for arbitrary , rather than only ideal Hadamard phases. Thus all six observables can be recovered from intensity measurements alone in the ideal model. The six quantities are constrained by the three input-relative phases and should not be interpreted as six independent degrees of freedom.
Hadamard transition operators
The phases are relative to the first populated input mode. Information is encoded in the selected operation, not in the absolute Hadamard codeword. At each symbol interval the transmitter chooses no change or a shift on exactly two of the three non-reference phases: . These operations form a four-symbol alphabet independently of the initial codeword label. For an unchanged pre-transition phase reference, they act on the reconstructed observables through diagonal sign matrices, , where
The matrices satisfy and , with corresponding cyclic identities. The transition group is therefore isomorphic to .
Almost-everywhere identifiability
Theorem A1 (Almost-everywhere identifiability). For every except a finite set, the four candidate signatures , , , and are pairwise distinct.
Proof. For any two candidates define . The second equality follows because the commuting sign matrices are orthogonal and symmetric. Thus every pairwise distance is one of
Each right-hand side is a sum of nonnegative terms and vanishes only when every term vanishes. Their zero sets are
Each family has eight members in , and the families are disjoint. Therefore there are exactly 24 exceptional phase configurations. At all other configurations every nonidentity transition distance is positive, so all four candidates are distinct.
Corollary A1. If has a probability distribution absolutely continuous with respect to Lebesgue measure, the probability of exact transition ambiguity is zero.
This concerns identification of the transmitted operation from a known, unchanged measured reference signature. The initial absolute Hadamard codeword label need not be known, but the preceding signature must be available and stable over the comparison interval.
Minimum signature separation
Define . Theorem A1 implies outside the exceptional set, but approaches zero near that set. Thus the result does not give a phase-uniform noise margin.
For a candidate transition , Eq. (27) gives the ideal power vector . Using ,
Hence the mapping scales every squared pairwise signature distance by . Exact ambiguities in observable space and in ideal output power space coincide.
Ideal photon-counting comparison protocol
The quantitative four-port/eight-port comparison in Section II-D is a numerical ideal-model benchmark, separate from either experimental decoding algorithm. The pre-transition phases are supplied without uncertainty to both receivers, each trial uses the same fixed number of detected photons , and a conditional multinomial likelihood is maximized across the four possible transitions. Each random phase triple is drawn independently and uniformly on , with a uniformly random true transition. This benchmark excludes phase drift within the detection interval, loss and channel-dependent detector effects, and uncertainty in the pre-transition reference. The finite-sample estimates are illustrated in Figure 1; reproducibility code and exact counts are included in the accompanying source archive.
Conditional error bound under Gaussian noise
Assume that the reference is known and remains fixed during the transition comparison, and model the reconstructed observation as
Here denotes noise in the reconstructed observables, not the Wiener phase-diffusion strength of the simulation in the main paper. Consider the minimum-distance decoder
Theorem A2 (Conditional Gaussian error bound). Under Eqs. (47)–(48),
Proof. For an incorrect hypothesis , set . The decoder can prefer only if . Since is Gaussian with variance , the probability of this event is
There are three incorrect hypotheses, and every pairwise distance is at least . The union bound, combined with the trivial upper bound of one, proves Eq. (49). □
This bound applies to the ideal nearest-signature decoder with a known reference. It does not directly bound a sign-only sequential decoder under drift between measurements.
Correlated observable noise
The six observables are reconstructed from the same eight powers, so their measurement errors can be correlated. Let , with . Applying the exact linear reconstruction produces , and consequently . If , then . Thus the isotropic observable-noise model corresponds to independent, equal-variance additive noise on the eight unnormalized powers. If the recorded powers are first divided by their fluctuating sum, the resulting normalization generally introduces inter-channel correlations, and must refer to the covariance after that processing step. Unequal detector variances and other noise mechanisms may also yield non-isotropic observable noise.
For Gaussian observable noise with fixed positive-definite covariance , the maximum-likelihood rule is
Define
The Gaussian pairwise-error argument yields . These results establish conditional distinguishability under explicit measurement models. They do not assume that Brownian phase evolution is negligible over arbitrarily long comparison intervals, and they do not provide unconditional guarantees under arbitrary phase drift or inaccurate reference estimation.
References
- [1]Li, W., Wang, D., and Liu, J., 2024. ”Robust Walsh–Hadamard Transform Based Imaging Method for Low-SNR Scenes.” Sensors, 24(10), 3062. https://doi.org/10.3390/s24103062
- [2]Wei, Z., and Ghafouri-Shiraz, H., 2002. ”Codes for spectral-amplitude-coding optical CDMA systems.” Journal of lightwave technology, 20(8), p.1284.
- [3]Noshad, M. and Brandt-Pearce, M., 2016. ”Hadamard-coded modulation for visible light communications.” IEEE Transactions on Communications, 64(3), pp.1167-1175.arxiv.org/abs/1406.2897
- [4]Luo, W., Cao, L., Shi, Y., Wan, L., Zhang, H., Li, S., Chen, G., Li, Y., Li, S., Wang, Y. and Sun, S., 2023. ”Recent progress in quantum photonic chips for quantum communication and internet.”, Light: Science & Applications, 12(1), p.175.DOI
- [5]Flamini, F., Spagnolo, N. and Sciarrino, F., 2018. ”Photonic quantum information processing: a review.”, Reports on Progress in Physics, 82(1), p.016001.DOI
- [6]Aghaee Rad, H., Ainsworth, T., Alexander, R.N., Altieri, B., Askarani, M.F., Baby, R., Banchi, L., Baragiola, B.Q., Bourassa, J.E., Chadwick, R.S. and Charania, I., 2025. ”Scaling and networking a modular photonic quantum computer.”, Nature, 638(8052), pp.912-919.DOI
- [7]Maring, N., Fyrillas, A., Pont, M., Ivanov, E., Stepanov, P., Margaria, N., Hease, W., Pischchagin, A., Lemaître, A., Sagnes, I. and Au, T.H., 2024. ”A versatile single-photon-based quantum computing platform.” Nature Photonics, 18(6), pp.603-609.DOI
- [8]Elmas, G., Litvin, I., Kohl, P., and Nötzel, J., 2025. ”Modeling and analysis of phase instability in a photonic processor.” Applied Optics, 64(14), 3995-4003.DOI
- [9]Litvin, I. A., Elmas, G., El-Safty, K., Chaudhary, S., and Nötzel J. (2025). ”Robust calibration and energy optimization in reconfigurable photonic processors.” Optics Express, 33(16), 35011-35027.
- [10]I. A. Litvin, G. Elmas, P. Kohl and J. Nötzel, ”Stable Signal Processing with a Photonic Processor,” in Journal of Lightwave Technology, doi: 10.1109/JLT.2025.3606027.DOI
- [11]G. Elmas, I. A. Litvin, and J. Nötzel, ”Local Variance-Based Calibration of Programmable Photonic Interferometer Meshes,” Journal of Lightwave Technology, submitted for publication, 2026. [Online]. Available: https://arxiv.org/abs/2607.14759.
- [12]Madsen, L. S., Laudenbach, F., et al., 2022.” A quantum computational advantage with a programmable photonic processor.” Nature, 606(7912), 75–81. https://doi.org/10.1038/s41586-022-04725-x
- [13]Reck, M., Zeilinger, A., Bernstein, H.J. and Bertani, P., 1994. ”Experimental realization of any discrete unitary operator.” Physical review letters, 73(1), p.58.pubmed.ncbi.nlm.nih.gov/10056719
- [14]Cui, C., Postlewaite, J., Saif, B.N., Fan, L. and Guha, S., 2025. ”Superadditive communication with the green machine as a practical demonstration of nonlocality without entanglement.” Nature Communications, 16(1), p.3760.DOI
- [15]Qiang, X., Zhou, X., Wang, J., Wilkes, C.M., Loke, T., O’Gara, S., Kling, L., Marshall, G.D., Santagati, R., Ralph, T.C. and Wang, J.B., 2018. ”Large-scale silicon quantum photonics implementing arbitrary two-qubit processing.” Nature photonics, 12(9), pp.534-539.DOI
- [16]Shen, Y., Harris, N. C., Skirlo, S., et al., 2017. ”Deep learning with coherent nanophotonic circuits.” Nature Photonics, 11(7), 441–446.https: //doi.org/10.1038/nphoton.2017.93
- [17]Harris, N.C., Steinbrecher, G.R., Prabhu, M., Lahini, Y., Mower, J., Bunandar, D., Chen, C., Wong, F.N., Baehr-Jones, T., Hochberg, M. and Lloyd, S., 2017. ”Quantum transport simulation in a programmable nanophotonic processor.” Nature Photonics, 11(7), pp.447-452.DOI
- [18]Kudyshev, Z. A., Shalaev, V. M., and Boltasseva, A., 2021. ”Machine Learning for Integrated Quantum Photonics.” ACS Photonics, 8(1), 34–46. doi:10.1021/acsphotonics.0c00960.DOI
- [19]C. G. H. Roelofzen et al., ”Low-Loss Si3N4 TriPleX Optical Waveguides: Technology and Applications Overview,” in IEEE Journal of Selected Topics in Quantum Electronics, vol. 24, no. 4, pp. 1-21, July-Aug. 2018, Art no. 4400321, doi: 10.1109/JSTQE.2018.2793945.
- [20]Caterina Taballione, Tom A. W. Wolterink, Jasleen Lugani, Andreas Eckstein, Bryn A. Bell, Robert Grootjans, Ilka Visscher, Dimitri Geskus, Chris G. H. Roelofzen, Jelmer J. Renema, Ian A. Walmsley, Pepijn W. H. Pinkse, Klaus-J. Boller, ”8×8 reconfigurable quantum photonic processor based on silicon nitride waveguides,” Opt. Express 27, 26842-26857 (2019)DOI
- [21]Bogaerts, W., Pérez, D., Capmany, J., Miller, D. A., Poon, J., Englund, D., ... & Melloni, A. (2020). ”Programmable photonic circuits.” Nature, 586(7828), 207-216.
- [22]Clements, W. R., Humphreys, P. C., Metcalf, B. J., Kolthammer, W. S., & Walmsley, I. A. (2016). ”Optimal design for universal multiport interferometers.” Optica, 3(12), 1460-1465.arxiv.org/abs/1603.08788
- [23]David A. B. Miller, ”Perfect optics with imperfect components,” Optica 2, 747-750 (2015)
- [24]I. A. Litvin, G. Elmas, P. Kohl, and J. Nötzel, ”Multi-input signal phase stabilization in photonic processors with on-chip feedback control,” Optics Express, 34(6), 11244–11258 (2026), doi:10.1364/OE.579969.DOI
- [25]I. A. Litvin, G. Elmas, G. Nötzel, ”Joint Detection on Reconfigurable Photonic Processors With Multi-Input Phase Stabilization,” IEEE Photonics Journal (2026), doi:10.1109/JPHOT.2026.3683204.DOI
- [26]M. Párzykóvá, C. S. Hamilton, I. Jex, M. Stefsky, and C. Silberhorn, ”Input phase noise in Gaussian boson sampling,” Physical Review A, 114, 022203 (2026), doi:10.1103/pd d b-5z5q.
- [27]G. Elmas, I. A. Litvin, and J. Nötzel, ”Phase-Drift Limits and Adaptive Quadrature Readout in Programmable Photonic Processors,” arXiv:2608.02249 (2026).arxiv.org/abs/2608.02249
- [28]Durt, T., Englert, B. G., Bengtsson, I., & Życzkowski, K. (2010). ”On mutually unbiased bases.” International journal of quantum information, 8(04), 535-640.DOI
