Realistic quantum photonic neural networks
Abstract
Quantum photonic neural networks are variational photonic circuits that can be trained to implement high-fidelity quantum operations. However, work-to-date has assumed idealized components, including a perfect Kerr nonlinearity. Here, we investigate the limitations of realistic quantum photonic neural networks that suffer from fabrication imperfections leading to photon loss and imperfect routing, and weak nonlinearities, showing that they can learn to overcome most of these errors. Using the example of a Bell-state analyzer, we demonstrate that there is an optimal network size, which balances imperfections versus the ability to compensate for lacking nonlinearities. With a sub-optimal effective Kerr nonlinearity, we show that a network fabricated with current state-of-the-art processes can achieve an unconditional fidelity of 0.891, that increases to 0.999999 if it is possible to precondition success on the detection of a photon in each logical photonic qubit. Our results provide a guide to the construction of viable, brain-inspired quantum photonic devices for emerging quantum technologies.
I Introduction
Quantum neural networks, brain-inspired quantum circuits, harness artificial intelligence to enhance quantum information processing. When driven with light, quantum photonic neural networks (QPNNs) leverage the strengths of mature photonic platforms [1], including multiplexing, low latency, and ultra-low operational powers already being exploited by conventional neural networks [2] and linear-optical quantum processors [3]. This allows QPNNs to perform quantum state tomography [4], act as quantum simulators [5, 6], process [7] or reduce the noise [8] of quantum states, or speed up tasks normally carried out by classical neural networks, such as image recognition [9] and natural language processing [10].
An example of a QPNN circuit, a two-layer network trained to act as a Bell-state analyzer (BSA), is shown in Fig. 1a.

Here, the connectivity and activation function for the network are provided by linear, rectangular interferometer meshes [12] and single-site optical nonlinearities , respectively. A BSA can distinguish between, or create, all four highly entangled Bell-states, and the addition of this nonlinearity ideally increases the success probability of the circuit to unity [7] from 0.5 as possible solely with linear optics in the absence of ancillary photons [11]. The operation performed by the QPNN in this example is therefore crucial to entanglement swapping [13] and hence provides a route toward a deterministic quantum repeater node [14], a vital component of a future quantum internet [15].
Quantum photonic circuits are not ideal, and here we report on the performance of realistic, imperfect QPNNs. Specifically, we consider how propagation losses and imperfect optical nonlinearities affect the fidelity of the QPNN, using the example of a BSA to benchmark our results. As shown in Figs. 1b and c, we find that even realistic networks with weak nonlinearities can vastly outperform those based on (ideal) linear optics. In Fig. 1c, we observe that using state-of-the-art waveguide fabrication (as described in Sec. II) and a perfect two-photon nonlinearity, 10 BSA nodes made from 2-layer QPNNs can be applied in series with a success rate of . Surprisingly, this rate is only decreased to , for a much weaker two-photon nonlinearity if a third (lossy) layer is added. Moreover, if each operation is conditioned on the measurement of two photons, the conditional success rate of 10 nodes becomes and for and , respectively. In what follows, we unravel the dependence on loss, effective nonlinearity, and network size, providing a methodology for the design of optimal QPNNs with realistic components.
II Network Architecture & Nonidealities
The architecture of a realistic QPNN is the same as that of an ideal network, and is thus designed to operate on dual-rail encoded photonic qubits [7]. Each layer consists of a mesh of tunable Mach-Zehnder interferometers (MZIs) with two controllable phase shifters , as shown in the inset to Fig. 1a. The interferometer mesh can be programmed to perform any arbitrary linear unitary transformation on the spatial modes of the photons [12]. Single-site nonlinearities, of strength , are placed between consecutive layers. In the Supplementary Information S1, we provide further details on the construction of the system transfer function.
The components of linear photonic networks are not perfect, and various techniques have been developed to mitigate the effects of these imperfections. Specifically, both imperfect splitting ratios of the directional couplers (DCs) that form the MZIs and imperfectly calibrated phase shifters lead to errors that can be mitigated by optimizing the circuits after fabrication [16, 17, 18]. In contrast, we account for these errors and those due to imbalanced photon loss or imperfect nonlinearities by training the variational parameters in situ, as would be done on-chip, post-fabrication.
We model a realistic linear mesh by allowing each element to suffer from slightly different imperfections, resulting in unbalanced, photon-path-dependent errors. We define the transmittance of each DC as , randomly selected from a normal distribution with a mean of 50% and standard deviation of 5.08%, matching experimental results of a broadband DC fabricated for silicon-on-insulator (SOI) platforms [19]. Likewise, propagation losses, where photons are scattered out of the circuit due to, for example, surface roughness, or are absorbed by the waveguides, are parameterized by
(1) |
for an element of length and propagation losses per unit length . These losses depend on the platform upon which the photonic circuit is constructed [20, 21, 22, 23, 24, 25, 26], which additionally determines the size of each photonic element. In our analysis, we select from a normal distribution with a standard deviation of of the mean, as is the case for current state-of-the-art photonic circuits built on SOI, which suffer from dB/cm at 1550 nm [26]. More information on the inclusion of fabrication imperfections can be found in Sec. VI and the Supplementary Information S1.
In our architecture, as in previous realizations [7], a Kerr nonlinearity, resolved in the Fock basis as,
(2) |
is assumed, wherein the ideal case such that a single photon passing through will experience no phase change while two photons will undergo a phase change. To date, a Kerr-nonlinearity has yet to be observed at the single-photon level; however, this efficiency has been reached by other nonlinearities, such as those based on electromagnetically induced transparency [27] or the saturation [28] of atoms. While these enable neural networks capable of quantum state tomography [29] or image recognition [30] respectively, neither are scalable nor compatible with most quantum information processing applications since they lead to photon loss. It is, however, likely that in the near future, efficiencies approaching will be demonstrated, either through the coherent chiral scattering of photons from single quantum emitters [31], or using integrated nanophotonic cavities designed to address this need [32, 33, 34]. Hence, we consider single-site Kerr nonlinearities but examine the performance of the QPNN also in the realistic scenario where .
In sum, the total transfer function for an -layer QPNN is given by,
(3) |
This transfer function will act on any input state to produce an actual output state , which is compared to the ideal output state to determine the unconditional fidelity for that input-output pair,
(4) |
The total unconditional fidelity, the chance that the network provides the correct output state for any given input state without preconditions, is then found by averaging over all input-output pairs according to
(5) |
Conversely, we can calculate the unconditional infidelity (i.e. network error) according to , which we minimize in training the QPNN, using the local gradient-free BOBYQA nonlinear optimization algorithm [35], as available in the NLopt library [36]. Further details on network optimization are provided in Sec. VI.
The success of the network may be conditioned on the detection of photons only in ports which abide by the dual-rail encoding scheme, as in this case we know that a logical output was produced. For the BSA shown in Fig. 1a, this means that a single photon was detected in one of the top two modes and the other in the bottom two modes. We call this the conditional fidelity , each term of which is related to the unconditional fidelity by the probability that the network operation results in a computational basis state (that is, no photons are lost and each logical photonic qubit contains a single photon at the output) by,
(6) |
In Sec. VI, we provide the expressions used to calculate these conditional measures. For a network operation that requires detection, such as the BSA and not, for example, the realization of a quantum logic gate for quantum computation, gives the probability that the network successfully performed its task, while provides the quality of the result; in practice, one may optimize on either the conditional or unconditional infidelities, depending on the task under consideration. In the following, we train solely on the unconditional, however, we provide results from optimizing the conditional infidelity in the Supplementary Information S2.
III Correcting Imperfect Linear Interferometer Meshes
We begin to consider the effects of imperfections on QPNNs by holding the nonlinearity at the ideal value () but introducing DC splitting ratio variations and photon loss as described above. The resultant unconditional infidelity of a BSA for 2 to 6-layer QPNNs with losses ranging from 0.001 to 3 dB/cm, as a function of training iterations, is shown in Figs. 2a-c.

Each case is repeated 50 times, resulting in plateaus of that increase in value for increasing losses, as expected. Interestingly, for 2-layer BSAs, we observe a large spread in the final , particularly for low-loss networks (c.f. blue and purple curves in Fig. 2a), indicating that the final performance of the QPNN is largely dictated by imbalance due to imperfect DCs. Adding more layers to the network, as in Fig. 2b and c, reduces this spread, showing that larger QPNNs may learn to correct for these errors and more often reach optimal performance.
This is reflected in Figs. 2d-f, which show the unconditional fidelity as a function of waveguide loss for different sized networks. Here, we compare the in situ trained QPNNs of Figs. 2a-c, denoted by the symbols, to the case where the network is trained offline. Offline training means that a perfect network was trained, then losses and DC errors were subsequently added to the solution. This was repeated 50 times for each , selecting different random imperfections at each repetition, with the mean given by the solid-black curve and standard deviation by the grey region. When trained in situ, the QPNN learns to overcome these imperfections as is seen by the convergence toward loss-limited performance (see Sec. VI for more information on network training and the loss limit). This is more apparent for larger networks, where the fidelity of those trained offline significantly reduces due to increased losses and DC errors, while those trained in situ maintain and even increase .
The balance between fabrication imperfections and network size, as a function of losses, is summarized in Fig. 2g. Here, we observe that for state-of-the-art losses or worse, the unconditional fidelity decreases as expected when more layers are added to the network. When , (0.904), where the bracketed result is the lower bound of the 95% confidence interval, even for a 6-layer QPNN, demonstrating that high-efficiency performance is possible on realistic state-of-the-art systems. Conversely, a more complex evolution is seen in Fig. 2g for 0.01 dB/cm losses or less, where there exists an optimal network size other than 2 layers. Losses at 0.01 dB/cm are similar to those of the silicon nitride platform for 1550 nm, reported as low as 0.007 dB/cm [37], but more typically near 0.01 dB/cm [38, 39, 40]. In this low-loss case , first increases from 0.993 (0.949) to 0.998 (0.997) by adding two layers to the base size, as the network is better able to account for imperfections. The unconditional fidelity then only slightly decreases to 0.996 (0.996) as the network grows to 7 layers. That is, near-deterministic QPNN-based quantum elements such as BSAs will be realistic in the near-future as platform losses continue to decrease.
The situation is even more promising if the success of the network is preconditioned on detection in the computational basis, as is shown in Figs. 2h and i. Here we present and for different sized QPNNs, and for differing . Even for the extremely lossy networks, where , remains above 0.9999 (0.9888) for all , while for state-of-the-art losses this conditional fidelity does not drop below 0.999999 (0.999784) for , as we observe in Fig. 2h. In fact, as shown in Fig. 2i, it is mainly the rate at which the QPNN produces a logical output that is affected by an increase in network size, showing the potential of even lossy networks if fault-tolerant protocols are used.
IV Embracing Weak Nonlinear Interactions
Having studied the effect of fabrication errors on network performance, we now turn to the consequences of sub-optimal nonlinearities. Assuming state-of-the-art losses , we vary the effective nonlinear phase shift from the ideal to and attempt to train QPNNs of different sizes to act as BSAs (see the Supplementary Information S4 for exemplary training traces, c.f. Figs. 2a-c.) For each network size and effective nonlinearity, we attempt to train 200 QPNNs, showing the results in Fig. 3.

Figs. 3a-c depict the highly non-trivial dependence of on the effective nonlinearity . When the QPNN is trained offline, increases monotonically with , as would be the case for a quantum-optical Fredkin gate-based BSA [41, 42, 43] (see the Supplementary Information S4 for additional information). Conversely, a QPNN can be trained to account for the weak nonlinearity, in which case it can vastly outperform this expectation. Considering a 2-layer network (Fig. 3a), we observe a strikingly different dependence when comparing the best-case in situ trained networks (triangles; see the Supplementary Information S3 for statistical analysis information) to both the average of all successful in situ training cases (circles) and networks trained offline. We observe that networks trained in situ can reach the loss limit with sub-optimal nonlinearities, in addition to fabrication imperfections. Specifically, we observe optimal performance of 2-layer QPNNs when in addition to . Moreover, as can be seen in Fig. 3a, near-optimal performance is reached for a domain of centred at , providing a pathway to robust QPNN-based BSAs without the need for a perfect Kerr nonlinearity. It must be noted, however, that operating with weaker nonlinearities decreases the probability that the QPNN converges at the loss limit during training, as is shown in the Supplementary Information S4.
For all , a QPNN trained in situ learns how to account for weak nonlinearities and thus approach the loss limit. These capabilities improve as redundancies are added via an increase in network size, as visually evident across Figs. 3a-c and summarized in d. By adding a single additional (lossy) layer, QPNNs were trained to within of the unconditional fidelity achieved with the ideal nonlinearity, 0.951 (0.950) at , and within of the loss limit, 0.952, for all . Even networks with nonlinearities as weak as approach the loss limit at 6 layers, in contrast to the case of where increases only to 0.528 (0.528) at 7 layers from 0.499 (0.498) at 2 layers, essentially acting as a linear-optical BSA [11]. Trainability also improves with increased network size, as it becomes easier for the QPNN to find optimal solutions, such that the average unconditional fidelity achieved during in situ training approaches the maximum plateau.
In Figs. 3e and f, the conditional fidelity and computational basis probability are shown as a function of , for differing . In contrast to the case where photon losses were varied (c.f. Fig. 2), we observe that the behavior of strongly depends on . While QPNNs with and operate with for all , networks with nonlinearities near and require at least 3 layers to reach this level, while at , 6 layers are needed. For all nonlinearities and network sizes, is within 0.009 (0.031) of loss-limited performance, as seen in Fig. 3f, and as expected for a QPNN suffering from state-of-the-art losses (c.f. Fig. 2d-f and i). Altogether, this demonstrates that for each combination of fabrication imperfections and effective nonlinearity, there exists an optimal network size that maximizes . While adding layers will always tend to increase , a balance must be struck with the exponential decrease in . In the Supplementary Information S5, we demonstrate a QPNN trained to generate Greenberger-Horne-Zeilinger states, and show that this remains true beyond the BSA application.
V Discussion
We have shown that high-fidelity operation is possible in realistic quantum photonic neural networks based on non-ideal Kerr nonlinearities. Since propagation through these networks leads to inevitable photon loss, their unconditional fidelity ceiling tends to decrease with increasing size. While this loss limit is unavoidable, these networks are able to learn to manage additional errors from non-uniform losses and directional coupler splitting ratio variations, often demonstrating increased fidelity with the addition of imperfect layers. Crucially, we have shown that weak nonlinearities, which are mere fractions of the ideal, are sufficient for near-optimal network performance. Even as these sub-optimal nonlinearities are realized [31, 32], the desired phase change will likely be accompanied by wave-packet distortions [44, 45], and although complex solutions based on dynamically-coupled cavities have been proposed [33, 34], it remains an open question if, instead, a QPNN may learn to overcome them in much the same way it does fabrication imperfections. Already in the work presented here, QPNNs offer a fascinating view of the intricate balance between loss, imperfect photon routing and weak nonlinearity, which we have unravelled to demonstrate how each combination leads to an optimal network geometry. Understanding and respecting this balance will be important, in the near future, as realistic QPNNs are designed and fabricated.
It is now clear why QPNNs far outperform linear-optical networks. Even with a weak effective nonlinearity, they can learn to surpass the 0.5 unconditional fidelity possible with perfect linear optics [11], achieving (0.809) at 2 layers (see Figs. 1b and 3a), which grows to 0.951 (0.949) with an additional layer (see Fig. 3b). At 6 layers, loss-limited operation, (0.890), can be achieved with nonlinearities as weak as . Returning to Fig. 1c, which summarizes the success rate of operating BSAs in series, as would be necessary to connect quantum repeater nodes by entanglement swapping [13, 14], the performance benefits offered by QPNNs become more apparent. While 10 consecutive perfect linear-optical BSAs have a success rate of just 0.1%, 6-layer, nonlinearity QPNNs reach 31.5%, and 3-layer, networks achieve 60.5%.
Preconditioning the success of each QPNN-based BSA on the detection of 2 photons in the correct ports, as would be the case for generating cluster states from fusion gates [46], allows the much higher conditional fidelities to be leveraged. While for a perfect linear-optical ten-BSA sequence remains at 1, realistic QPNNs of (3 layers) and (6 layers) nonlinearities reach 0.999 (0.997) and 0.99999 (0.99996), respectively. Given that these conditional fidelities are all near-unity, the rather large variations to seen above can be attributed to the operational rate of the circuits (c.f. Eq. 6), which are improved when the perfect linear-optical BSAs are replaced by even 6-layer, QPNNs. Hence, imperfect QPNNs are likely to play a key role in emerging large-scale quantum technologies.
VI Methods
Modeling Fabrication Imperfections
An ideal MZI, as displayed in the inset to Fig. 1a, can be described by a matrix,
(7) |
as is commonly found in the literature [12, 17], up to the arrangement of components specified here. To model a realistic MZI, we include two types of imperfections: photon loss due to propagation and an imperfect splitting ratio of the nominally DCs. Imperfect phase shifter calibration is neglected as a QPNN trained in situ would intrinsically learn the phase shifts that account for these errors. A photonic element of length introduces the probability that a photon is lost via propagation through it. By Eq. 1, depends on the propagation losses per unit length, , selected from a normal distribution with a width of 6.67%, corresponding to the state-of-the-art experimental results for SOI [26]. For each MZI, an individual is computed, then applied through multiplication by the matrix,
(8) |
In the Supplementary Information S1, further details are given for the inclusion of these non-uniform losses, including the characteristic lengths () of each photonic element, and how the lack of unitarity is dealt with in the simulations. Similarly, each imperfect DC has an individual transmittance that is taken from a normal distribution centered at 0.5 with a standard deviation of 0.0508, matching experimental results of a broadband DC fabricated for SOI platforms [19]. For a given , the corresponding transformation of the DC is,
(9) |
Altogether, these result in a transformation describing a realistic MZI,
(10) |
In the Supplementary Information S1, we analyze the regimes in , where the imperfect DC splitting ratios are dominant, and vice versa.
Network Optimization & Training Processes
A QPNN is trained to perform a mapping between a set of input-output state pairs . For the QPNN-based BSA, the training set is provided in the computational basis in Fig 1a. Since dual-rail encoding is applied, in the computational basis is equivalent to in the Fock basis for the two spatial modes that realize the photonic qubit.
The unconditional infidelity of the network, (see Eqs. 4,5 for ), is minimized to facilitate the optimization process. The variational parameters, for each layer in the network, are initialized randomly. Then, the local, gradient-free BOBYQA nonlinear optimization algorithm [35] (available from the NLopt library [36]) is applied until the absolute change in infidelity is less than some threshold chosen empirically based on the available computational resources. This algorithm constructs a quadratic approximation to the infidelity and thus does not require an analytical gradient. Gradient-free optimization was deemed pertinent since it is unlikely that the internal state of the network, as would be necessary for backpropagation methods, would be accessible during in situ training [7].
In contrast to in situ training, as described in the main text, offline training was conducted by training a QPNN with idealized components, then adding fabrication imperfections, and if necessary, adjusting the effective nonlinearity (c.f. Sec. IV). Due to the loss and DC splitting ratio variations, such imperfections were added to an idealized solution in 50 (200) repetitions in Fig. 2 (3), matching the number of in situ trials conducted. From these results, an in situ trial was deemed successful if it achieved an optimized unconditional infidelity at or below the worst-case of offline training (mean minus standard deviation). Only successful optimization trials were considered for further analysis. Similarly, the loss limit is computed by adding imperfections to an idealized solution, however, losses are assumed to be completely uniform at , and the DC splitting ratios are all .
All simulations were conducted on the Frontenac Platform computing cluster offered by the Centre for Advanced Computing at Queen’s University. The accompanying code was written in Python (version 3.10.2) using Numpy (version 1.22.2) and NLopt (version 2.6.1). Cython (version 0.29.30) was used to translate performance-sensitive operations to C to improve computation runtime. In the Supplementary Information S1, we identify where computational complexity arises when constructing the system transfer function.
Conditional Measures
As for the unconditional fidelity, the conditional fidelity can be found by projecting the actual output state, , onto the computational basis, , and finding its overlap with the ideal output . Averaging over all input-output pairs, this is written as,
(11) |
where,
(12) |
normalizes the to the computational basis. Similarly, the probability of measuring an output in the computational basis is
(13) |
The terms of Eqs. 11, 13 can be multiplied to yield Eq. 4, which follows simply from the fact that the term of Eq. 13 can be expressed as .
VII Acknowledgements
This research is supported by the Vector Scholarship in Artificial Intelligence, provided through the Vector Institute. The authors thank N.R.H. Pedersen for his insights into linear meshes, and gratefully acknowledge support by the Natural Sciences and Engineering Research Council of Canada (NSERC), the Canadian Foundation for Innovation (CFI), and Queen’s University.
VIII Author Contributions
N.R. and J.C. conceived the project, which they developed along with J.E. J.E. was responsible for designing and performing all simulations and analysis, with supervision from B.S. and N.R. All authors discussed the results and shared in the writing and editing responsibilities for the manuscript.
IX Additional Information
Supplementary Information accompanies the paper.
Competing Interests: The authors declare no competing interests.
References
- [1] Killoran, N. et al. Continuous-variable quantum neural networks. Phys. Rev. Research 1, 033063 (2019). URL https://link.aps.org/doi/10.1103/PhysRevResearch.1.033063.
- [2] Shastri, B. J. et al. Photonics for artificial intelligence and neuromorphic computing. Nat. Photonics 15, 102–114 (2021). URL https://doi.org/10.1038/s41566-020-00754-y.
- [3] Wang, J. et al. Multidimensional quantum entanglement with large-scale integrated optics. Science 360, 285–291 (2018). URL https://www.science.org/doi/abs/10.1126/science.aar7053.
- [4] Torlai, G. et al. Neural-network quantum state tomography. Nature Phys 14, 447 – 450 (2018). URL https://doi.org/10.1038/s41567-018-0048-5.
- [5] Aspuru-Guzik, A. & Walther, P. Photonic quantum simulators. Nature Phys 8, 285 – 291 (2012). URL https://doi.org/10.1038/nphys2253.
- [6] Sparrow, C. et al. Simulating the vibrational quantum dynamics of molecules using photonics. Nature 557, 660 – 667 (2018). URL https://doi.org/10.1038/s41586-018-0152-9.
- [7] Steinbrecher, G. R., Olson, J. P., Englund, D. & Carolan, J. Quantum optical neural networks. npj Quantum Inf 5, 60 (2019). URL https://doi.org/10.1038/s41534-019-0174-7.
- [8] Bondarenko, D. & Feldmann, P. Quantum Autoencoders to Denoise Quantum Data. Phys. Rev. Lett. 124, 130502 (2020). URL https://link.aps.org/doi/10.1103/PhysRevLett.124.130502.
- [9] Parthasarathy, R. & Bhowmik, R. T. Quantum Optical Convolutional Neural Network: A Novel Image Recognition Framework for Quantum Computing. IEEE Access 9, 103337–103346 (2021).
- [10] Sipio, R. D., Huang, J.-H., Chen, S. Y.-C., Mangini, S. & Worring, M. The Dawn of Quantum Natural Language Processing. In ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 8612 – 8616 (2022).
- [11] Calsamiglia, J. & Lütkenhaus, N. Maximum efficiency of a linear-optical bell-state analyzer. Appl Phys B 72, 67–71 (2001). URL https://doi.org/10.1007/s003400000484.
- [12] Clements, W. R., Humphreys, P. C., Metcalf, B. J., Kolthammer, W. S. & Walmsley, I. A. Optimal design for universal multiport interferometers. Optica 3, 1460–1465 (2016). URL http://opg.optica.org/optica/abstract.cfm?URI=optica-3-12-1460.
- [13] Żukowski, M., Zeilinger, A., Horne, M. A. & Ekert, A. K. “Event-ready-detectors” Bell experiment via entanglement swapping. Phys. Rev. Lett. 71, 4287–4290 (1993). URL https://link.aps.org/doi/10.1103/PhysRevLett.71.4287.
- [14] Azuma, K., Tamaki, K. & Lo, H.-K. All-photonic quantum repeaters. Nat Commun 6, 6797 (2015). URL https://doi.org/10.1038/ncomms7787.
- [15] Kimble, H. J. The quantum internet. Nature 453, 1023–1030 (2008). URL https://doi.org/10.1038/nature07127.
- [16] Miller, D. A. B. Perfect optics with imperfect components. Optica 2, 747 – 750 (2015). URL http://opg.optica.org/optica/abstract.cfm?URI=optica-2-8-747.
- [17] Mower, J., Harris, N. C., Steinbrecher, G. R., Lahini, Y. & Englund, D. High-fidelity quantum state evolution in imperfect photonic integrated circuits. Phys. Rev. A 92, 032322 (2015). URL https://link.aps.org/doi/10.1103/PhysRevA.92.032322.
- [18] Hamerly, R., Bandyopadhyay, S. & Englund, D. Robust Zero-Change Self-Configuration of the Rectangular Mesh. In Optical Fiber Communication Conference (OFC) 2021, Tu5H.2 (2021). URL http://opg.optica.org/abstract.cfm?URI=OFC-2021-Tu5H.2.
- [19] Lu, Z., Celo, D., Dumais, P., Bernier, E. & Chrostowski, L. Comparison of photonic 2×2 3-dB couplers for 220 nm silicon-on-insulator platforms. In 2015 IEEE 12th International Conference on Group IV Photonics (GFP), 57–58 (2015). URL https://ieeexplore.ieee.org/abstract/document/7305944.
- [20] Ding, R. et al. A silicon platform for high-speed photonics systems. In OFC/NFOEC, 1–3 (2012).
- [21] Wörhoff, K., Heideman, R. G., Leinse, A. & Hoekman, M. TriPleX: a versatile dielectric photonic platform. Advanced Optical Technologies 4, 189–207 (2015). URL https://doi.org/10.1515/aot-2015-0016.
- [22] Melchiorri, M. et al. Propagation losses of silicon nitride waveguides in the near-infrared range. Applied Physics Letters 86, 121111 (2005). URL https://doi.org/10.1063/1.1889242.
- [23] Cai, L., Wang, Y. & Hu, H. Low-loss waveguides in a single-crystal lithium niobate thin film. Opt. Lett. 40, 3013–3016 (2015). URL http://opg.optica.org/ol/abstract.cfm?URI=ol-40-13-3013.
- [24] Nezhad, M. P., Bondarenko, O., Khajavikhan, M., Simic, A. & Fainman, Y. Etch-free low loss silicon waveguides using hydrogen silsesquioxane oxidation masks. Opt. Express 19, 18827–18832 (2011). URL http://opg.optica.org/oe/abstract.cfm?URI=oe-19-20-18827.
- [25] D’Agostino, D. et al. Low-loss passive waveguides in a generic InP foundry process via local diffusion of zinc. Opt. Express 23, 25143–25157 (2015). URL http://opg.optica.org/oe/abstract.cfm?URI=oe-23-19-25143.
- [26] Cardenas, J. et al. Low loss etchless silicon photonic waveguides. Opt. Express 17, 4752–4757 (2009). URL http://opg.optica.org/oe/abstract.cfm?URI=oe-17-6-4752.
- [27] Zuo, Y. et al. All-optical neural network with nonlinear activation functions. Optica 6, 1132–1137 (2019). URL http://opg.optica.org/optica/abstract.cfm?URI=optica-6-9-1132.
- [28] Guo, X., Barrett, T. D., Wang, Z. M. & Lvovsky, A. I. Backpropagation through nonlinear units for the all-optical training of neural networks. Photon. Res. 9, B71–B80 (2021). URL http://opg.optica.org/prj/abstract.cfm?URI=prj-9-3-B71.
- [29] Zuo, Y. et al. Optical neural network quantum state tomography. Advanced Photonics 4, 1–7 (2022). URL https://doi.org/10.1117/1.AP.4.2.026004.
- [30] Ryou, A. et al. Free-space optical neural network based on thermal atomic nonlinearity. Photon. Res. 9, B71–B80 (2021). URL http://opg.optica.org/prj/abstract.cfm?URI=prj-9-4-B128.
- [31] Lodahl, P. et al. Chiral quantum optics. Nature 541, 473–480 (2017). URL https://doi.org/10.1038/nature21037.
- [32] Choi, H., Heuck, M. & Englund, D. Self-Similar Nanocavity Design with Ultrasmall Mode Volume for Single-Photon Nonlinearities. Phys. Rev. Lett. 118, 223605 (2017). URL https://link.aps.org/doi/10.1103/PhysRevLett.118.223605.
- [33] Heuck, M., Jacobs, K. & Englund, D. R. Controlled-Phase Gate Using Dynamically Coupled Cavities and Optical Nonlinearities. Phys. Rev. Lett. 124, 160501 (2020). URL https://link.aps.org/doi/10.1103/PhysRevLett.124.160501.
- [34] Heuck, M., Jacobs, K. & Englund, D. R. Photon-photon interactions in dynamically coupled cavities. Phys. Rev. A 101, 042322 (2020). URL https://link.aps.org/doi/10.1103/PhysRevA.101.042322.
- [35] Powell, M. J. D. The BOBYQA algorithm for bound constrained optimization without derivatives. Tech. Rep. NA06, Department of Applied Mathematics and Theoretical Physics, Cambridge, England (2009).
- [36] Johnson, S. G. The NLopt nonlinear-optimization package. http://github.com/stevengj/nlopt.
- [37] Bauters, J. F. et al. Ultra-low-loss single-mode Si3N4 waveguides with 0.7 dB/m propagation loss. In 2011 37th European Conference and Exhibition on Optical Communication, 1 – 3 (2011). URL https://ieeexplore.ieee.org/document/6065921.
- [38] Shaw, M. J., Guo, J., Vawter, G. A., Habermehl, S. & Sullivan, C. T. Fabrication techniques for low-loss silicon nitride waveguides. In Johnson, E. G., Nordin, G. P. & Suleski, T. J. (eds.) Micromachining Technology for Micro-Optics and Nano-Optics III, vol. 5720, 109 – 118. International Society for Optics and Photonics (SPIE, 2005). URL https://doi.org/10.1117/12.588828.
- [39] Blumenthal, D. J., Heideman, R., Geuzebroek, D., Leinse, A. & Roeloffzen, C. Silicon Nitride in Silicon Photonics. Proceedings of the IEEE 106, 2209 – 2231 (2018). URL https://ieeexplore.ieee.org/abstract/document/8472140.
- [40] Liu, J. et al. High-yield, wafer-scale fabrication of ultralow-loss, dispersion-engineered silicon nitride photonic circuits. Nature Communications 12, 2236 (2021). URL https://doi.org/10.1038/s41467-021-21973-z.
- [41] Milburn, G. J. Quantum optical Fredkin gate. Phys. Rev. Lett. 62, 2124–2127 (1989). URL https://link.aps.org/doi/10.1103/PhysRevLett.62.2124.
- [42] Nielsen, M. A. & Chuang, I. L. Quantum Computation and Quantum Information (Cambridge University Press, 2011).
- [43] Gerry, C. C. & Knight, P. L. Introductory Quantum Optics (Cambridge University Press, 2004).
- [44] Shapiro, J. H. Single-photon Kerr nonlinearities do not help quantum computation. Phys. Rev. A 73, 062305 (2006). URL https://link.aps.org/doi/10.1103/PhysRevA.73.062305.
- [45] Gea-Banacloche, J. Impossibility of large phase shifts via the giant Kerr effect with single-photon wave packets. Phys. Rev. A 81, 043823 (2010). URL https://link.aps.org/doi/10.1103/PhysRevA.81.043823.
- [46] Browne, D. E. & Rudolph, T. Resource-efficient linear optical quantum computation. Phys. Rev. Lett. 95, 010501 (2005). URL https://link.aps.org/doi/10.1103/PhysRevLett.95.010501.