Coherent Photonic Computing Architecture

Through the coherent photonic circuit architecture and hybrid photonic-electronic system, the problem of increased complexity of existing photon calculation methods when multiple neurons are input is solved, achieving high-precision and low bit error rate calculations, and is suitable for a variety of neural networks model, and improves the flexibility and efficiency of the computing platform.

CN116348886BActive Publication Date: 2024-10-11CELESTIAL ARTIFICIAL INTELLIGENCE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180068303.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-08-06
Filing Date
2021-08-06
Publication Date
2024-10-11
Estimated Expiration
2041-08-06

AI Technical Summary

Technical Problem

Existing photon computing methods increase in complexity when extended to multiple neuron inputs, are difficult to achieve high accuracy and low bit error rates, and cannot effectively expand to higher numbers of neuron inputs, limiting their use in practical applications. applicability.

Method used

Using a coherent photonic circuit architecture, the optical splitter, input unit, weighting unit, optical combiner and photodetector are combined to realize linear algebra calculations through coherent electric field addition, and are integrated with electronic circuits to provide a hybrid photonic-electronic computing system. Enables selective implementation of functionality in photonic or electronic circuits to optimize performance.

Benefits of technology

It achieves high-precision calculation of any number of neuron inputs, is suitable for the small footprint, low power and low cost of photonic integrated circuits, provides a flexible computing platform, is suitable for a variety of neural network models, and improves the computing unit physical density and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116348886B_ABST
    Figure CN116348886B_ABST
Patent Text Reader

Abstract

A coherent photonic circuit architecture is disclosed for optically implementing linear algebra computations. In neuromorphic applications of this photonic circuit architecture, individual neural network layers can be implemented by coherent optical linear neurons in a crossbar switch configuration, integrated with electronic circuits at the interfaces between neural network layers to determine the neuron inputs to one layer based on the neuron outputs of the previous layer. Wavelength division multiplexing can be used to efficiently implement certain specific network models, optionally in conjunction with electro-optical switches, to make general hardware configurations programmable.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of and priority to U.S. Provisional Patent Application No. 63 / 062,163, filed on August 6, 2020. Technical Field

[0003] The present disclosure relates generally to photonic circuits and architectures for computing applications, including, for example, for neuromorphic computing. Background Art

[0004] Photonic (or, synonymously, optical) computing has emerged as a promising candidate for sustaining progress in computing as the gains in computing performance of conventional von Neumann architectures, previously characterized by Moore's Law and Coomey's Law, have slowed. Photonics offers the potential for speed increases and energy savings compared to electronic computing; indeed, efforts to move computing from the electronic domain to the optical domain were by no means inspired by the speed and energy benefits that photonics has already brought to the telecommunications and data communications domains.

[0005] Among the potential applications of photonic computing, one area of ​​great interest is the field of neuromorphic computing - a brain-inspired computing paradigm in which large-scale integrated analog or digital circuits mimic neurobiological functions. Various methods have been proposed to photonally implement, in particular, linear artificial neural networks that mathematically correspond to the weighted algebraic summation of a set of neuronal inputs. Many of the proposed methods employ wavelength division multiplexing (WDM) schemes to encode each neuronal input signal onto a different wavelength. While proof-of-principle optical implementations of linear neurons have been demonstrated, these methods do not scale well to higher numbers of neuronal inputs, as the circuit complexity increases significantly with each added wavelength, which severely limits their applicability to practically relevant applications. In addition, many WDM schemes apply only unsigned weights in the optical domain and rely on optoelectronic conversion to achieve the addition or subtraction of weighted signals in the electrical domain (e.g., using a pair of balanced photodetectors to sum positive and negative weights), which hinders the subsequent adoption of all-optical nonlinear activation functions. Alternative approaches previously proposed implement linear algebraic summation by coherent electric field addition (utilizing the phase of the optical carrier electric field for symbol encoding purposes) in a complex spatial arrangement comprising multiple cascaded Mach-Zehnder interferometers (MZIs), as described, for example, in U.S. Patent Application Publication No. 2018 / 0260703. While this coherent approach can produce single-wavelength and single-laser optical linear neurons, signal errors accumulate along the cascade of MZIs to such an extent that this has prevented sufficiently high accuracy or sufficiently low bit error rates (BERs) for large-scale practical applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Disclosed herein are systems and photonic circuit architectures for optically implementing linear algebraic calculations, such as those used in artificial neural networks. Various example embodiments of the inventive subject matter are described with reference to the accompanying drawings, in which:

[0007] Figure 1 is a schematic diagram conceptually illustrating an example artificial neuron.

[0008] Figure 2 is a schematic diagram of an example photonic circuit implementing an individual artificial neuron in accordance with various embodiments.

[0009] Figure 3 is a schematic diagram of an example photonic crossbar switch suitable for implementing a neural network layer in accordance with various embodiments.

[0010] Figure 4 is a schematic diagram of an example WDM photonic circuit configuration suitable for implementing multiple independent artificial neurons according to one embodiment.

[0011] Figure 5 is a schematic diagram of an example WDM photonic circuit configuration suitable for implementing a convolutional neural network layer according to one embodiment.

[0012] Figure 6 is a schematic diagram of an example WDM photonic circuit configuration suitable for implementing a fully connected neural network layer according to one embodiment.

[0013] Figure 7 is a schematic diagram of an example WDM switch configurable photonic crossbar switch suitable for implementing a programmable neural network layer in accordance with various embodiments.

[0014] Fig. 8A and Figure 8B Schematic side and top views, respectively, illustrate an exemplary hybrid photonic-electronic computing system according to various embodiments.

[0015] Fig. 9 is a flow chart of an example photonic computing method according to various embodiments. DETAILED DESCRIPTION

[0016] Coherent photonic circuit architectures for implementing linear algebraic computations, and hybrid photonic-electronic computing systems that integrate photonic circuits with electronic circuits at inputs, outputs, and / or interfaces between computational layers are presented herein. In particular, various embodiments are described with reference to applications in neuromorphic computing, specifically implementations of linear neurons and linear neural network layers. Mathematically, the operation of a linear neuron or neural network layer on a set of inputs corresponds to a weighted summation of the inputs using a set of weights associated with the neuron, or a weighted summation of the inputs using multiple sets of weights associated with the neural network layer; these operations can also be described as (one or more) scalar products of the input vector and a vector or matrix of weights. Therefore, photonic implementations of linear algebraic computations (such as vector-time-vector or vector-time-matrix operations) can be illustrated with reference to the example of a linear neural network without loss of generality.

[0017] The disclosed photonic circuit architecture is scalable to an arbitrary number of inputs while providing high accuracy, and is suitable for small footprint, low power, and low cost implementation as a photonic integrated circuit (PIC) using standard silicon fabrication plants and processes. A hybrid photonic-electronic system incorporating such a PIC provides a flexible computing platform that, when used in neuromorphic computing, can be adapted to many neural network models and that allows certain functions (including, for example, nonlinear activation functions) to be selectively implemented in photonic or electronic circuits for performance optimization.

[0018] According to various embodiments, a coherent photonic circuit is constructed by an optical splitter that splits incoming carrier light into multiple optical carrier signals, an "input unit" configured to impart computational inputs (e.g., neural input units imparting neuronal inputs) onto the optical carrier signals to generate optical input signals to a computational weight layer (e.g., a neural network layer), an "weighting unit" configured to impart computational weights (e.g., neural weighting units imparting neuronal weights) onto the optical input signals, an optical combiner for coherently combining the weighted optical input signals into optical output signals encoding computational outputs (e.g., linear neuronal outputs), and any additional coupling and waveguide infrastructure for connecting the various listed components. The photodetector is used to measure the optical output signal and thereby transmit the computational output (hereinafter also referred to simply as "output") into the electronic domain. The computational inputs and computational weights (hereinafter also referred to simply as "inputs" and "weights") are imparted to the electric field of an optical carrier signal, for example by an optical amplitude modulator (e.g., an electro-absorption modulator) in combination with an optical phase shifter, which can encode the sign of the weights and / or inputs by a zero or π phase shift. The optical input signal produced by modulating the optical carrier signal to impart the computational input is also referred to herein as a "first modulated optical signal", and the weighted optical signal produced by further modulating the optical input signal to impart the computational weights is also referred to herein as a "second modulated optical signal". Optical signals are understood herein to be "coherently" combined if the combined signals are aligned in time and in phase up to any phase difference intentionally imparted as part of the encoded input or weight (such as up to a π phase shift that changes the field amplitude direction to encode a negative sign). The coherent combination or interference of signals whose phases differ in terms of the π phase shift (if any) results in an algebraic summation of the (signed) signal amplitudes. For a given set of neuronal inputs, a single set of neural weighting units associated with the corresponding inputs together with the coupling and waveguide infrastructure that enables coherent combination of the weighted input signals into an optical output signal forms an implementation of a single linear optical neuron.

[0019] In various embodiments, the weighting units are physically arranged in an array, with the rows of the array corresponding to different corresponding computational inputs and receiving optical input signals from the corresponding input units associated with the rows, and the columns of the array corresponding to different corresponding computational outputs and including corresponding associated weight sets. (The terms "row" and "column" are used herein only to represent the two dimensions of the array, regardless of the orientation of the array, and are arbitrarily associated with the input and output, respectively. If the rows of the array are associated with the inputs and the columns are associated with the outputs, then the rows and columns of the array map directly to the rows and columns of the weight matrix that is multiplied from the left by the input vector.) In neural network applications, multiple columns corresponding to multiple weight sets implement multiple corresponding neurons or nodes within a neural network layer.

[0020] In an array configuration of weighting units, a plurality of optical waveguides arranged along rows may be used to transmit optical input signals from neural input units to neural weighting units; these waveguides are also referred to herein as "optical input waveguides" or simply "input waveguides". In addition, in an example embodiment of an optical combiner, a plurality of optical waveguides arranged along columns that cross the input waveguides may be used to sequentially combine weighted optical input signals output by the neural weighting units along each column into corresponding output signals for that column; these waveguides are also referred to herein as "optical output waveguides" or simply "output waveguides". In this photonic crossbar switch configuration, each weighting unit is coupled between one of the input waveguides and one of the output waveguides.

[0021] To achieve coherent addition of the weighted optical input signals along each column, the optical path lengths from the input cells to the output of the corresponding optical combiner (such as the point where all weighted optical input signals along the output waveguides have been combined) are configured to be equal; any differences in geometric path lengths can be compensated by, for example, an optical delay line placed in the input waveguide before the weighting cells. In addition, according to various embodiments, to ensure that the modulation amplitude of the weighted optical input signals directly reflects the product of the input and the weights, the optical power ratios between the input waveguides and the coupling ratios along the input and output waveguides are collectively configured so that for passively operating (non-modulating) input and weighting cells, the signals received from all optical paths will be power balanced at the point where they are combined. Beneficially, the weighted summation of the optical input signals along each column is separate and independent of all other columns, so that the associated computational errors are fixed and independent of the number of columns (e.g., corresponding to the number of neurons), thereby allowing the architecture to be scaled without loss of accuracy.

[0022] When performing algebraic summation of inputs using coherent electric field addition, the disclosed photonic circuit architecture eliminates the need for multiple wavelengths to carry different signals, providing scalability that is not practically achievable using existing WDM schemes. However, the disclosed photonic circuit is compatible with WDM schemes and can optionally use a single crossbar switch array of weighting units and associated input units to process light of different wavelengths in parallel to effectively increase the physical density of computing units (and therefore, for example, the physical neuron density in neural network applications). To this end, the input unit and / or weighting unit may include pairs of demultiplexers and multiplexers surrounding multiple amplitude modulators and / or phase shifters to enable different inputs and / or different weights to be assigned to different wavelength components.

[0023] In neuromorphic applications, various specific neural network types or models can be implemented by modulating the multiplexed and / or demultiplexed signals in appropriate combinations. For example, weight sharing as used in convolutional neural networks can be achieved by assigning multiple different neuron inputs to demultiplexed optical carrier signals of different wavelengths in the neural input units, but applying a single weight to the multiplexed signal in each neural weighting unit. On the other hand, for a fully connected neural network, a single neuron input is applied to the incoming multiplexed optical carrier signal in each neural input unit, and each neural weighting unit assigns multiple different neuron weights to the demultiplexed optical input signal for different wavelength components; in this case, a single column of neural weighting units implements a separate neuron for each wavelength. When the neural input units and neural weighting units operate on demultiplexed optical signals of different wavelengths, each column of the crossbar switch matrix implements multiple independent parallel neurons equal in number to the number of wavelengths.

[0024] In some embodiments, the (e.g., neural) input and weighting units each include two optical paths: one optical path for assigning inputs or weights to a single potentially multiplexed optical signal and one optical path that further branches into multiple optical signals of different wavelengths that can be individually modulated. In these embodiments, optical switches (e.g., electro-optical or thermo-optical switches) before and after the (neural) input and weighting units can be configured to direct the incoming optical signals in each unit along either path. This configurability allows the photonic neural network to be programmed for any of the above-mentioned neural network types. In other words, a single hardware photonic circuit can effectively implement different types of neural networks via optical switch settings.

[0025] To form a functional computing system, the photonic circuit is used in conjunction with an electronic circuit that provides control signals to drivers associated with optical amplitude modulators and phase shifters of input units and / or weighting units, and processes photodetector outputs. In artificial neural network applications, for example, photodetector outputs corresponding to neuron outputs of a neural network layer may be processed to calculate neuron inputs for the next layer in the neural network. In some embodiments, such a next layer is implemented as a separate physical array of neural weighting units and associated neural input units. In other embodiments, multiple layers of a neural network are implemented continuously in multiple computing cycles using a single physical array of neural weighting units and associated neural input units by applying neuron inputs and neuron weights of the corresponding network layer, which may be stored in a memory of the electronic circuit, to optical amplitude modulators and phase shifters during each cycle. The electronic circuit may also provide neural network functionality (e.g., implementing nonlinear activation layers, pooling layers, etc.), and perform pre-processing and post-processing operations on inputs to the neural network and outputs generated by the neural network. Typically, the electronic circuit may be an analog circuit, or a mixed signal (analog-to-digital) circuit that includes analog-to-digital converters and digital-to-analog converters (ADCs and DACs) to convert between analog and digital domains. One benefit of digital circuits is their ability to support mixed-precision operations.

[0026] The described computing platform allows some functions to be implemented alternatively in photonic or electronic circuits. For example, in neuromorphic applications, the electronic circuit may include a memory to store neuron weights. Alternatively or additionally, if the neuron weights for an array of neural weighted units do not change, or change at a frequency lower than the frequency at which the input changes, they can be stored directly in the neural weighted units, for example, in an optical phase change memory. In addition, nonlinear activation can be applied to linear neuron outputs by an all-optical activation unit before the photodetector or by an analog or digital electronic circuit when converting the optical output signal into the electronic domain; alternatively, the electro-optical nonlinearity of the photodetector itself can be used as a nonlinear activation. In some embodiments, the electronic circuit may also implement one or more neural network layers. For example, a convolutional neural network may be implemented using a photonic convolution layer as well as a digital electronic pooling and fully connected layer. In addition, although consecutive photonic neural network layers may be connected via an electronic circuit interface that electronically provides the neuron input to the neural input unit of a layer based on the neuron output measured at the photodetector of the previous layer as described above, the optical output signal of a layer may also be provided directly to the input waveguide of the next layer (in this case, the neural input unit is omitted or operated passively).

[0027] The foregoing will be more readily understood in light of the following detailed description of the accompanying drawings.

[0028] Figure 1 1 is a schematic diagram conceptually illustrating an example artificial neuron 100 corresponding to an individual node of an artificial neural network. The artificial neuron 100 generally takes a plurality of inputs x i 102 (i=1...N, where N is the neuron "fan-in"), and they are typically processed in two stages (a linear neuron stage 104 followed by a nonlinear activation stage 106) to generate a (single) neuron output 108. The linear neuron stage 104 acts like a linear algebra unit, converting each input x i Multiply by the corresponding neuron weight w i 110, and the weighted inputs are summed at 112 to produce a linear neuron output 114. The weights 110 can be positive or negative, effectively allowing both addition and subtraction of the inputs 102 via the sign of the weights 110. In the non-linear activation stage 106, a non-linear function is applied to the linear neuron outputs 114 to produce a total neuron output 108. Examples of such non-linear activation functions include, but are not limited to, logistic functions (sigmoid), trigonometric functions (sinusoid, hyperbolic tangent, etc.), rectified linear units (ReLU), inverse square root linear units (ISRU), exponential linear units (ELU), etc.

[0029] Figure 2 is a schematic diagram of an example photonic circuit 200 implementing an individual artificial neuron 100 according to various embodiments. The photonic circuit 200 (hereinafter referred to as a "photonic neuron") includes a coherent linear neuron stage 202 and a nonlinear activation and conversion unit 204. The coherent linear neuron stage 202 (hereinafter also referred to as a "coherent linear neuron") is implemented by a multipath interferometer formed by an optical splitter 206, an optical combiner 208, and a plurality of parallel optical interferometer branches 210 between the optical splitter 206 and the optical combiner 208. In operation, the optical splitter 206 splits the incoming carrier light 212 between the parallel interferometer branches 210 into a plurality of optical carrier signals, which are then phase- and amplitude-modulated in the corresponding interferometer branches 210. The resulting modulated optical signals output by interferometer branch 210 interfere in optical combiner 208 to produce a single optical output signal corresponding to the coherent sum of the electric fields of the modulated optical carrier signals, which constitutes the linear neuron output 114. Interferometer branch 210 includes a linear output for each neuron input x. i102 (i=1...N) of a "neuron input branch" 214, and optionally includes a "bias branch" 216 to help encode the coherence sum on the neuron input branch 214 in the intensity of the optical output signal, as further explained below. In various embodiments, the optical splitter 206 is configured to send half of the incoming light into the bias branch 216 and split the other half of the light between the neuron input branches 214. However, other splitting ratios between the bias branch 216 and the entire neuron input branch 214 are also possible.

[0030] Each neuron input branch 214 may include two amplitude modulators 218, 220 and at least one phase shifter 222. In operation, an electronic driver circuit 224 associated with the amplitude modulators 218, 220 and the phase shifter 222 controls the first optical amplitude modulator 218 in each neuron input branch 214 to shift the corresponding neuron input x to the same value as the first optical amplitude modulator 218 in the neuron input branch 214. i 102 is assigned to the optical input signal, and controls the second optical amplitude modulator 220 to adjust the corresponding neuron weight w i The absolute value of 110 is given to the optical input signal. The phase shifter 222 is controlled for the real-valued neuron input x i 102 and weight w i 110 causes a phase shift by, for example, for the overall minus sign (product of the signs) And for the overall positive sign causing phase shift (Phase Shift is relative to a certain reference phase common to all neuron input branches 214) to adjust the neuron input x i 102 and weight W i110. More specifically, the electrical drive signal of the phase shifter 222 can be a voltage generated by adding the neuron input sign and the weight sign voltage: the voltage encoding the sign of the neuron input can be, for example, 0V (positive) or 1V (negative), and the voltage encoding the sign of the weight can be 0V (positive) or -1V (negative); when the neuron input and the weight are both positive or both negative, adding the two voltages together will give 0V, and then when the neuron input and the weight have different signs, adding the two voltages together will give -1V or 1V. Applying -1V or 1V to the phase shifter 222 will give a π phase shift in both cases. In addition to using a single phase shifter 222 to assign the product of the signs of the neuron input and the neuron weight, two phase shifters can also be used to encode the phase or sign of the neuron input and the phase or signal of the neuron weight, respectively. In any case, by using one or more phase shifters to encode the sign of the neuron input and weight, the field amplitudes of the modulated optical carrier signals can be effectively added or subtracted from each other by interference in the optical combiner 208, resulting in an overall positive or overall negative field. i 102 and weight w i 110, the two phase shifters in each branch 214 can respectively i 102 and weight w i 110, or a single phase shifter 222 in each branch 214 can encode the complex phase of the neuron input x i 102 and weight w i The relative complex phase difference between 110 is encoded.

[0031] In various embodiments, the optical splitter 206 and the optical combiner 208 are each formed by a cascade of bifurcated optical couplers. For example, to split the incoming carrier light into n=2 n′ The optical splitter 206 can be configured as a symmetrical tree of n' layers of 3dB couplers that continuously separate the light, wherein the optical combiner 208 is configured as an inverse symmetrical tree of N' layers of 3dB couplers that continuously recombine the modulated signal. This configuration ensures that the incoming light is evenly split between the neuron input branches 214, and the modulated light is recombined in equal ratios across the input branches 214. N′ This uniform separation between the neuron input branches 214 (and assuming there is no bias branch 216) and through E in The electric field amplitude E of the optical interference signal at the output of the optical combiner 208 represents the field of the incoming carrier light 212. out Given by:

[0032]

[0033] In this paper, the factor 1 / 2 N′ reflects the reduction in the electric field amplitude at each 3dB coupler within the optical splitter 206 and the optical combiner 208 In practice, symmetrical splitter configurations are not always geometrically achievable. Figure 3 In the described implementation of a crossbar matrix of multiple neurons, for example, the weighted optical input signals are coupled into the output waveguides one at a time in an inherently asymmetric coupling configuration. In this case, different tree structures and coupling ratios can be used. In general, to ensure that the encoded weighted input w i x i The modulated optical input signals are all equally weighted in the combined optical output signal to achieve the desired algebraic summation, the coupling ratio being chosen so that the factor by which the electric field amplitude is reduced at the coupler multiplies by up to the same product along all interference branches.

[0034] Of course, when measuring the strength of a signal, such as E out The phase of the optical signal and any sign information encoded therein is lost. Therefore, in order to facilitate the distinction between the overall positive coherence sum and the overall negative coherence sum of the modulated optical output signal received from the neuron input branch 214, in some embodiments, the coherence sum is offset by a bias signal added via the bias branch 216. The bias branch 216 may include an amplitude modulator 226 and an optional phase shifter 228, which are controlled by the electronic driver circuit 224 to shift the bias weight w b and phase shift Similar to the phase shifter 222 in the neuron input branch 214, the phase shifter 228 in the bias branch 216 can shift the phase relative to the optical input signal associated with the neuron input to Set to π, and for positive bias the phase shift is is set to zero. (Note that if the phase of the bias signal is used as the phase shift relative to which the neuron input branch 214 is set The common reference phase of the phase shifter 228 is not required. The amplitude modulator 226 can be operated to generate an offset field with an amplitude large enough to exceed the maximum expected absolute value of the coherent sum of the weighted optical input signals output by the neuron input branch 214 to ensure that the overall interference signal has a positive field amplitude. In the case of a 1:1 split of the incoming light 212 between the neuron input branch 214 and the bias branch 216 and a uniform split between the N neural input branches 214, the electric field amplitude E of the optical interference signal at the output of the optical combiner 208 is out Given by:

[0035]

[0036] It can be seen that if the bias term and the neuron input term are phase-aligned and the weight w i and input x i are both greater than 1 (this is also the case if the amplitude modulators all attenuate the signal or just operate transparently instead of amplifying it), then a bias weight w equal to 1 b (very generally implemented by bias branch 216 without amplitude modulator 226) will ensure that the bias term exceeds or equals the absolute value of the neuron input term; thus, in some embodiments, bias branch 216 can be an additional interferometer arm that receives half of the input light 212, without any further content.

[0037] like Figure 2 As shown, the optical output signal of the coherent linear neuron 202 (which reflects the linear neuron output 114) can be provided to a nonlinear activation and conversion unit 204, which applies the activation function and generates an electronic neuron output signal 230. In some embodiments, the optical nonlinear activation unit 232 implements the activation function all-optically in that it produces an optical neuron output signal that encodes the output value of the activation function. All-optical activation units are known to those of ordinary skill in the art. In one example, the optical activation unit is composed of a semiconductor optical amplifier Mach-Zehnder interferometer (SOA-MZI) followed by a SOA, the semiconductor optical amplifier Mach-Zehnder interferometer (SOA-MZI) operating in its deep saturation state and configured in a differential bias scheme, the SOA operating in its small signal gain region, where both devices perform as wavelength converters; the details of the optical activation unit are described in "An all-optical neuron with sigmoid activation function" by G. Mourogias-Alexandris et al. (Optics Express, Vol. 27, No. 7 (April 2019)). The optical neuron output signal 234 leaving the optical nonlinear activation unit can then be converted to an electronic neuron output signal 230, for example, by measuring the intensity using a photodetector 236. Alternatively, the photodetector 236 itself can be used to implement a nonlinear activation function, converting the amplitude of the optical interference signal |E out| Photoelectrically converted to an electronic signal that is proportional to the square of the amplitude. The nonlinear activation and conversion unit 204 may also include a circuit (not shown) after the photodetector 236 that electronically applies the activation function after converting the optical linear neuron output 114 to the electrical domain. Thus, in general, the electro-optical nonlinearity inherently applied by the photodetector 236 may constitute a nonlinear activation by itself, or may be combined with the preceding all-optical or electronic nonlinearity to implement an overall nonlinear activation function.

[0038] In various embodiments, the photonic neuron 200 is implemented in a PIC (although bulk light implementations are also possible in principle), for example on a silicon-on-insulator (SOI) substrate. Advantageously, PIC implementations offer a small form factor, allow for controllability and high complexity of the circuit, and can be manufactured using existing semiconductor foundries, which translates into high-volume manufacturing and low cost. In the photonic neuron PIC, an integrated optical waveguide (e.g., a rectangular ridge or rib waveguide formed in the silicon device layer of the substrate) delivers carrier light 212 to the photonic neuron 200, implements the interferometer branches 214, 216, and guides the optical interference signal from the linear neuron stage 202 to the optical nonlinear activation unit 232 (if any) and / or the photodetector 236. The optical splitter 206 and the optical combiner 208 can be implemented by a cascade of waveguide-based power dividers or directional couplers (such as Y-junction couplers or multimode interferometer (MMI) couplers). The photodetector 236 can be, for example, a pin diode based on an integrated waveguide.

[0039] Phase shifters 222, 228 may include electro-optic and / or thermal phase shifters that modulate the refractive index within the waveguide-based interferometer branches 214, 216 by applying voltage or heat, respectively. In the case of thermal phase shifters, heat is typically applied by one or more ohmic heating wires; thus, thermal phase shifters (such as electro-optic phase shifters) can be controlled via electronic signals. Amplitude modulators 218, 220, 226 can also be implemented by electro-optic or thermo-optic components, such as electro-absorption modulators (EAMs) (e.g., silicon-germanium EAMs), optical resonant modulators (e.g., optical ring modulators), or quantum confined Stark effect (QCSE) EAMs. Since EAMs affect the refractive index and absorption properties of waveguides, phase shifters can also be implemented using EAMs (e.g., three EAMs in series) to impart a desired phase shift while canceling out the accidental amplitude modulation caused by each individual EAM.

[0040] In various embodiments, the functionality of the amplitude modulator (and / or phase shifter), particularly those used to impart weights, is provided by a non-volatile optical memory implemented by an optical phase change material (O-PCM). An O-PCM, such as various chalcogenide alloys (e.g., germanium-antimony-tellurium (GST) alloys), can undergo a gradual change between its crystalline and amorphous phases, and can be set to any physical phase along the continuum between the crystalline and amorphous phases by the controlled application of heat. Different physical phases have different associated electrical and / or optical properties. Thus, when set as a thin film on top of a waveguide, the O-PCM can affect changes in the optical properties of the waveguide itself, such as refractive index and absorption (e.g., due to overlap of the evanescent field of any guided mode with the O-PCM film). Advantageously, an O-PCM-based optical memory is non-volatile, but rewritable. Using an O-PCM, a fixed optical amplitude modulation and / or a fixed phase shift can be stored directly in the PIC without the need for any electronic drive signal.

[0041] Having described the principles of coherent computation of a single weighted summation over a set of inputs with reference to the example of a single photonic neuron 200, the discussion now turns to a photonic architecture that simultaneously computes multiple weighted sums over the same set of inputs for multiple corresponding sets of weights (corresponding to multiplications of the input vectors with a weight matrix), for example to integrate multiple coherent linear photonic neurons into a neural network layer.

[0042] Figure 3 3 is a schematic diagram of an example photonic crossbar switch 300 implementing, for example, a neural network layer, according to various embodiments. The photonic crossbar switch 300 includes an array of neural weighting units 302, each neural weighting unit 302 coupled between one of a plurality of first waveguides arranged along rows of the array and one of a plurality of second waveguides arranged along columns of the array, crossing with the first waveguide at a waveguide crossing point 303 (or a 2×2 switch operating in a crossbar mode). Each column of weighting units 302 constitutes a separate set of weighting units for computing a separate output (e.g., corresponding to a separate neuron within a neural network layer), and each row of weighting units 302 is coupled to a (e.g., neuron) input x i The weighting units 302 each include an amplitude modulator 304 and a phase shifter 306 (corresponding to the phase shifters along the Figure 2 The amplitude modulators 220, 226 and phase shifters 222, 228 of any one of the interferometer branches 210 of the photonic neuron 200 shown are used to convert the signed weights w ij Applied to the optical input signal or the bias weight w bjApplied to the optical carrier signal for biasing, where i=1...N numbers the inputs (where N is, for example, the fan-in of a neuron), and j=1...M numbers the set of weights representing, for example, a neuron in a layer.

[0043] The rows of weighting units 302 associated with different inputs receive their optical input signals from corresponding input units 308. Each input unit 308 includes an amplitude modulator 310 (corresponding to Figure 2 The amplitude modulator 218 along one interferometer branch (or in the depicted example, the amplitude modulator 310) is used to apply the input x i To generate a corresponding first modulated optical signal. The input unit 308 and bias branch 312 of the photonic crossbar switch 300 receive carrier light from a single incoming optical waveguide 314, which branches into a plurality of first waveguides along the rows of the matrix, first separating the bias branch 312 at an optical splitter 316, and then successively branching into a plurality of input waveguides 318 associated with the neural input unit 308 in a cascade of bifurcated waveguide splitters 319, 320 (e.g., implemented as a Y-junction, as shown). In general, coupling the incoming optical waveguide 314 and the waveguide splitters 316, 319, 320 along the way to the waveguide segment of the input unit 308 forms an optical splitter (which functionally corresponds to Figure 2 separator 206 of the photon neuron 200).

[0044] Each weighting unit 302 in any column except the last column has an optical coupler 322 at its input end that acts as an optical tap, coupling a portion of the optical power guided in the input waveguide 318 or bias branch 312 associated with the weighting unit 302 into the weighting unit 302, and passing the remaining optical power to the weighting unit 302 associated with the downstream column of the crossbar switch 300. The weighting unit 302 in the last column simply receives the remaining optical power in the input waveguide 318 downstream of the optical tap associated with the second-to-last column. Along each of the input waveguide 318 and the bias branch 312 (collectively referred to as the first waveguide), the fraction of the optical power tapped into the weighting unit 302 can be increased in the propagation direction of the optical input signal, so that the optical input signals received by the weighting units 302 in each row are substantially equal in power. This power balancing between columns of crossbar switch 300 is used to achieve uniform signal-to-noise ratio and associated photon computation accuracy across different sets of weights implemented by the columns (e.g., corresponding to different neurons), and to ensure that the signal levels of the optical output signals consistently reflect the computation output values ​​across the columns.

[0045] Each weighting unit 302 in any row other than the first row also has an optical coupler 324 or 325 at its output end (e.g., similar in structure to coupler 322, but operating as a combiner in the opposite direction) that couples the weighted optical input signal (or bias signal) (or second modulated optical signal) generated by the weighting unit 302 to one of a plurality of second waveguides (or output waveguides) 326 associated with a column of the crossbar switch 300, thereby combining the output of the weighting unit 302 with the combined output of any weighting unit 302 upstream along the corresponding output waveguide 326. In other words, the second modulated optical signals are combined sequentially along the output waveguides 326. The output of the weighting unit 302 of the first row constitutes the beginning of the output waveguide 326. In general, the output waveguides 326 and optical couplers 324, 325 along each column form an optical combiner associated with the set of weights (or neurons) implemented by that column (which functionally corresponds to, for example, Figure 2 31 ). Note that in this embodiment, the optical input signals imparted on the carrier signals first separated in the cascade of waveguide splitters 319, 320 are also first recombined along the output waveguide 326. After combining the second modulated optical signal representing the weighted input, the coherent sum is combined with the bias signal in the bias branch 312. The resulting optical output of the output waveguide 326 can then be measured using a photodetector 328, which encodes the computational output (e.g., of a linear neuron).

[0046] The input unit 308 can be operated cyclically, applying a new set of inputs to the substantially continuous wave optical carrier signal in the input waveguide 318 during each computation cycle. Thus, the optical input signal takes the form of pulses that flow through the photonic crossbar switch 300. To ensure that the pulses of each cycle interfere along each column, the photonic crossbar switch 300 is configured so that the optical path lengths from all input units to the optical coupler 325 associated with the output of the Nth neural weighting unit 302 in the column are equal. Due to the geometric path length (e.g., Figure 3 ) may generally be different due to the array arrangement of the weighting units 302, so the crossbar switch 300 may include an optical delay line 330, for example, in the input waveguide 318 between the output of the input unit 308 and the optical coupler 322 associated with the first column of weighting units 302. The delay line 330 delays the input signal pulse by a selected time delay interval Δτ1<Δτ2<...Δτ N, so that all pulses arrive simultaneously at the couplers 324, 325 which recombine them. The optical delay line 330 may also include an adjustable phase shifter calibrated to ensure that the signal pulses are phase aligned at both the recombination and interference points (up to a phase difference reflecting the assigned weights). Alternatively, the phase shifter 306 in the neural weighting unit 302 may be operated to compensate for any phase difference between the optical paths to the recombination point, in addition to the sign of the weights assigned via a zero or π phase shift.

[0047] In addition, the waveguide splitters 319, 320 of the input splitter and the optical coupler 324 along the output waveguide 326 (of the optical combiner) are collectively configured to ensure that the second modulated optical signals output by the weighting unit 302 are all equally weighted in the coherently combined optical output signal so that the amplitude of the output signal accurately reflects the sum of the weighted inputs assigned. To this end, the coupling ratios of the waveguide splitters 319, 320 and the optical coupler 324 are selected so that the optical signal along each path from the splitter 319 (where the input waveguide 318 branches out) through the coupler 325 in the Nth row of any given column experiences the same product of amplitude reduction. For example, in one embodiment, the waveguide splitter 319 couples one-third of the optical power into the input waveguide 318 associated with the first row. The remaining two-thirds of the optical power enters a branch along which a series of 3dB waveguide splitters 320 each split the incoming optical power in half. In each output waveguide 326, the couplers 324 in the second to (N-1)th rows that combine the first N-1 weighted input signals are 3dB couplers, and the coupler 325 in the Nth row combines the output of its associated neural weighting unit 302 with the input from the output waveguide 326 at a coupling ratio of 1:2. Due to these coupling ratios, the electric field amplitude of the optical signal traveling along the first path is multiplied by The factor of , is multiplied at each of the N-2 couplers 324 along the output waveguides 326 in the second row to the (N-1)th row by and multiplied by the factor of Similarly, and amounting to the same product, the electric field amplitude of the optical signal traveling along each of the second through Nth paths is multiplied at the splitter 319 by The factor of , is multiplied at each of the total N-2 splitters / couplers 320, 324 encountered in the input coupler. and multiplied by the factor of The coupling ratio of the splitter 316 that generates the bias branch 312 may be set taking into account the total losses along the optical path and the sensitivity of the photodetector 328.

[0048] Figure 3 The above description of the photonic crossbar switch 300 provides one possible layout and configuration of inputs and weighting units, as well as optical splitters and optical combiners in a photonic circuit implementing linear computations for, for example, a neural network layer. Other geometric layouts and physical configurations are contemplated that still implement simultaneous weighted summation over a set of inputs using multiple sets of weights with or without weighting units arranged in an array.

[0049] Figure 3 The illustrated photonic crossbar 300 illustrates the basic structure of a computational layer implementing multiple separate sets of weights, such as representing a neural network layer formed by multiple single-wavelength coherent linear neurons 200, according to one embodiment. Figure 4-7 The following description will show how this basic structure can be enhanced to implement WDM schemes that achieve a greater number of optical computations by performing computations in parallel at multiple wavelengths with the same number of weighting units 302. These WDM schemes are particularly suitable for (but not limited to) neural network implementations, where they actually increase neuron density while allowing different neural network model configurations on the same underlying photonic hardware.

[0050] Figure 4 is a schematic diagram of an example WDM photonic circuit configuration 400 suitable for implementing multiple independent artificial neurons according to one embodiment. For simplicity, the photonic circuit configuration 400 is shown with only two interferometer branches 402, 404, each interferometer branch including a (neural) input unit 406 and a (neural) weighting unit 408. As will be apparent to one of ordinary skill in the art, it is straightforward to add additional similar interferometer branches to implement weighted summation of more than two inputs.

[0051] To facilitate WDM operation of the multiplexed optical input signals in the branches 402, 404, each of the input unit 402 and the weighting unit 408 includes a demultiplexer 410 and a multiplexer 412, the demultiplexer 410 separating the multiplexed signal into its constituent (e.g., as shown, four) wavelength components, and the multiplexer 412 recombining those components into the multiplexed signal at the output of the input unit 406 or the weighting unit 408. In the input unit 406, the demultiplexer 410 and the multiplexer support multiple amplitude modulators 310 (one for each wavelength) to assign corresponding inputs to different wavelength components of the optical carrier signal. Similarly, in the weighting unit 408, the demultiplexer 410 and the multiplexer 412 support amplitude modulators 304 and phase shifters 306 associated with different wavelengths, which allow different corresponding weights to be assigned. The multiplexed modulated optical signals at the outputs of the two interferometer branches 402, 404 are caused to interfere at an output combiner 208 (e.g., implemented by a Y-junction as shown) and then divided again by wavelength using an output demultiplexer 413 to produce separate optical output signals for (e.g., four) different wavelengths (e.g., four output signals y1, y2, y3, y4). This WDM configuration can implement four independent dual-input neurons operating on generally different input signals in a single column of a neural weighting unit, as reflected in the sparse weight matrix in the following matrix equation representing the depicted neural network operation:

[0052]

[0053] Note that in a variant, the demultiplexer 413 may be followed by a second layer of (four) separate weights for the different wavelengths, a multiplexer and a photodetector measuring the combined intensity of the multiplexed signal at the output. In this case, the photonic structure would implement two cascaded neurons, with the first neuron layer providing square activations (with the aid of photodetectors, which measure intensity rather than electric fields).

[0054] Alternatively, if Figure 4As shown, both the input unit 406 and the weighting unit 408 may include an alternative optical path 415 along which all wavelength components of the multiplexed optical carrier signal are processed in conjunction with a single amplitude modulator 310 in the input unit 406 and a single pair of amplitude modulator 304 and phase shifter 306 in the weighting unit 408. Thus, each input unit 406 includes a first demultiplexed input optical path and a second multiplexed input optical path, and each weighting unit 408 includes a first demultiplexed weighted optical path and a second multiplexed weighted optical path. To enable the optical carrier signal in each interferometer branch 402, 404 to be selectively directed along the first or second input optical path and the first or second weighted optical path in any combination, the photonic circuit configuration 400 includes electro-optical switches 414, 416, 418, which are placed in the interferometer branches 402, 404, before the input unit 406, between the input unit 406 and the weighting unit 408, and after the weighting unit 408. In the depicted configuration 400, the switches are arranged so that the optical input signal travels along the first demultiplexed input and weighted optical paths. The same configuration can be achieved in a fixed manner by omitting the switches 414, 416, 418 and the multiplexing paths in the input unit 406 and the weighting unit 408.

[0055] Figure 5 is a schematic diagram of an example WDM photonic circuit configuration 500 suitable for implementing a convolutional neural network layer according to one embodiment. The configuration 500 utilizes the same Figure 4 The same hardware components described, but with different settings for the electro-optical switches 416, 418. As in configuration 400, the optical carrier signal is demultiplexed in input unit 406, and different inputs are assigned at various wavelength components. However, unlike in configuration 400, the recombined wavelength components leaving neural input unit 406 are then switched from the output of the demultiplexed input optical path to the input of the multiplexed weighted optical path via electro-optical switch 416, so that within each of the interferometer branches 402, 404, all wavelength components receive the same weight. This sharing of weights across multiple inputs is a feature of convolutional neural networks, where the same kernel (a set of neuron weights) is applied to different receptive fields (subsets of neuron inputs) within a set of neuron inputs, such as to different sub-regions of an image. In the WDM photonic circuit configuration 500 applied to a convolutional neural network, different wavelengths are used to apply the kernel to different receptive fields.

[0056] use Figure 5With the specific inputs and weights shown, the photonic circuit configuration 500 implements a convolutional neural network layer of four neurons with a kernel size of 2 (meaning each neuron takes two neuron inputs) and a stride of 2 (meaning the kernel shifts two neuron inputs between adjacent neurons), operating on eight-dimensional inputs. In matrix notation, the operation of this convolutional neural network layer can be written as:

[0057]

[0058] Different convolutional neural network layers can be implemented by adjusting the neuron inputs applied by the amplitude modulator 310 in the neuron input unit 406, the number of interferometer branches or rows in the photon crossbar implementation, the number of columns in the photon crossbar, and the number of wavelengths in the multiplexed signal. To achieve overlapping receptive fields, for example, the neuron inputs applied in the neuron input unit 406 will overlap between interferometer branches or rows. In addition, added wavelengths and / or added photon crossbar columns can provide an increased number of neurons in the neural network layer to accommodate a larger fan-in or a smaller stride.

[0059] Figure 6 is a schematic diagram of an example WDM photonic circuit configuration 600 suitable for implementing a fully connected neural network layer according to one embodiment. In this configuration 600, which again employs the same hardware as configurations 400, 500, the electro-optical switches 414, 416, 418 are arranged so that in each interferometer branch, a single input is applied to the multiplexed optical input signal in the multiplexed input optical path of the input unit 406, and separate weights are applied to the different wavelength components in the demultiplexed weighted optical path of the weighting unit 408. Thus, the configuration 600 can simultaneously implement four dual-input neurons operating on two-dimensional inputs, as can be represented by the fully connected neural network layer matrix:

[0060]

[0061] Figure 7 FIG. 7 is a schematic diagram of an example WDM switch configurable photonic crossbar switch 700 suitable for implementing a programmable neural network layer according to various embodiments. Figure 3300, but the single wavelength weighting unit 302 and input unit 310 have been replaced by WDM-enabled weighting units 702 and input units 704 that are substantially similar to those shown for the WDM photonic circuit configurations 400, 500, 600. That is, each weighting unit 702 and each input unit 704 includes two optical paths, one optical path for assigning different signed weights or inputs to different wavelength components of the demultiplexed optical carrier signal through corresponding amplitude modulators and / or phase shifters supported between the demultiplexer and the multiplexer, and one optical path for assigning a single signed weight or input to the multiplexed signal. Electro-optical switches 706, 708 at the input and output ends of the weighting units 702 and input units 704 enable selective coupling of light into one or the other path. Note that in the depicted crossbar configuration, the single 2×2 switch between the output of the input unit and the input of the weighting unit is replaced by two separate (1×2 and 2×1) switches 706, 708. To measure the different wavelength components of the optical output signal of each column, the WDM photonic crossbar 700 includes a demultiplexer 710 at the output of each output waveguide followed by a photodetector array 712.

[0062] It will be appreciated that the switch-configurable photonic crossbar switch 700 provides maximum flexibility for implementing different neural network models in a programmable manner. For fixed applications where the neural network structure does not change, it may be preferable to use a "hard-wired" custom photonic crossbar switch configuration. For example, to implement a convolutional neural network, the photonic crossbar switch can be designed with WDM neural input units that allow different neuron inputs to be assigned to different wavelength components of a multiplexed carrier signal, but with neural weighting units, each of which includes only a single pair of amplitude modulators and phase shifters to apply signed weights as a whole to the multiplexed optical input signal. Except for the added demultiplexer / multiplexer pair and the multiple paths in the input unit and the demultiplexer at the output waveguide, the complexity of such a crossbar switch is no greater than that of a single-wavelength photonic crossbar switch 300. However, the number of columns in the WDM crossbar switch is reduced by a factor equal to the number of wavelengths. Therefore, for a given convolutional neural network, a custom WDM crossbar can provide significant savings in on-chip real estate and cost compared to the generic single wavelength crossbar 300 and the fully programmable WDM crossbar 700.

[0063] Having described various coherent photonic circuit architectures, the integration of photonic circuits with electronic circuits will now be described, for example to provide drive signals for optical signal modulation and to process output signals encoding computational outputs of optically implemented linear computations.

[0064] Fig. 8A and Figure 8B 1 and 2 are schematic side and top views, respectively, showing an exemplary hybrid photonic-electronic computing system 800 according to various embodiments. Fig. 8A As shown, system 800 includes a PIC 802 implemented, for example, in silicon, including one or more photonic crossbar switches (e.g., 300, 700) for performing weighted summation of inputs (e.g., implementing a linear neural network layer), and an electronic integrated circuit (EIC) 804 that interfaces with PIC 802 and supplements the functionality of PIC 802. EIC 804 may include analog and / or digital circuits and may be hardwired and dedicated (e.g., an application specific integrated circuit (ASIC)) or programmable (e.g., a field programmable gate array FPGA). System 800 also includes an optical engine 806 having one or more lasers, such as but not limited to distributed feedback (DFB) lasers or other laser diodes implemented, for example, in III-V compound semiconductor materials, to generate coherent carrier light. Multiple lasers emitting at the same wavelength may be used to generate carrier light for multiple photonic crossbar switches at one or more wavelengths. Alternatively or additionally, the optical engine 806 may include multiple lasers emitting at different wavelengths and a wavelength multiplexer, implemented, for example, as an arrayed waveguide grating, to combine the different wavelengths into a single multiplexed optical carrier signal.

[0065] The PIC 802, EIC 804, and light engine 806 are interfaced to each other via an optical interposer 808, which integrates them into a chip-scale package. The interposer 808 may, for example, include electrical connections between a photodetector on the PIC 802 and associated processing circuitry in the EIC 804 (where an analog electronic output signal of the photodetector is processed), and between a modulator (i.e., an amplitude modulator and a phase shifter) in the PIC 802 and associated driver circuitry in the EIC 804. Additionally, the interposer 808 may include electrical connections between the EIC 804 and the light engine 806, for example, to allow the EIC 804 to control and monitor the operation of the light engine 806. In some embodiments, the power consumption of the electronic interface between the PIC 802 and the EIC 804 is less than 3 pJ (picojoules) per bit of data converted between the optical domain and the digital electronic domain.

[0066] The interposer 808 can also facilitate optical communication between the light engine 806 and the PIC 802 via a waveguide structure in the interposer 808 that couples the (e.g., multiplexed) laser output into a waveguide in the PIC 806 (e.g., a carrier optical waveguide 314 leading to an optical splitter of a photonic crossbar switch). The coupling can be achieved, for example, using edge couplers, inverted tapered couplers, or grating couplers in the PIC 802 and / or the interposer 808. In the depicted embodiment, the PIC 802 and the EIC 804 are flip-chip bonded adjacent to each other to the optical interposer 808. However, the EIC 804 can also be bonded directly to the PIC, which can provide the benefit of significantly reducing the electrical connections from the EIC 804 to the electro-optical devices within the PIC 802.

[0067] Figure 8B More details are provided about the components of the EIC 804 according to an example embodiment in a schematic block top view. The depicted EIC 804 is a mixed signal circuit that includes an analog-to-digital converter (ADC) and a digital-to-analog converter (DAC) to convert electronic signals between the analog domain and the digital domain. The ADC is provided at the output of a transimpedance amplifier (TIA) that amplifies the electronic output signal received from the photodetector of the PIC 802, which constitutes the activation generated by the linear network layer; the TIA and ADC are collectively labeled 810. The DAC is provided at the input of a driver that provides a drive signal for the optical modulator of the PIC 802; the driver and DAC are collectively labeled 812.

[0068] In various neural network embodiments, a drive signal is applied to at least the input unit in the photonic crossbar to provide the neuron input in electronic form to the optical linear neural network layer. The driver of the input signal can operate at a high frequency (e.g., 50 GHz) to apply a new neuron input to a given amplitude modulator every 20 ps. In some embodiments, the drive signal is further applied to the weighting unit, typically at a much lower rate or quasi-statically. Once a large number of different input sets have been processed (e.g., every hundred clock cycles of input for interference application), the weights can be updated to implement another neural network layer. In this way, a single photonic crossbar can implement multiple neural network layers sequentially. For example, after conversion to the electronic domain, the neuron output of one layer as encoded in the optical output signal of the photonic crossbar can be processed to calculate the neuron input of the next layer, which is then fed back into the same photonic crossbar, now operating based on a new set of neuron weights. Alternatively, the processed neuron output from one crossbar can be provided as a neuron input to another physical crossbar implemented on the PIC 802. Optionally, the processed output of the second crossbar or any additional crossbar can ultimately be fed back to the first crossbar. The photonic crossbar can also implement recurrent neural network layers, in which case the applied neuron weights remain the same as the neuron outputs of the recurrent layer are fed back into the layer as input.

[0069] Re-reference Figure 8B , the EIC 804 may also include an on-chip memory 814, for example, a static random access memory (SRAM) or other embedded non-volatile memory, such as magnetoresistive RAM (MRAM), resistive RAM (ReRAM), NOR flash memory, phase change memory (PCM), etc. The memory 814 may store, for example, weights to be applied to the modulators in the weighting unit and / or intermediate data, such as (neuron) inputs to the computational (neural network) layer calculated from the output of the previous layer. Alternatively, the weights may be stored directly in the PIC 802, for example, using O-PCM.

[0070] The EIC 804 can be configured to perform various operations that cannot be implemented in a photonic crossbar switch or are not so effectively implemented in a photonic crossbar switch, particularly including non-multi-accumulation (non-MAC) operations. The EIC 804 can, for example, apply analog or digital nonlinear activation functions to optically generated linear neuron outputs, although some activation functions can also be implemented all-optically in the PIC 802. As another example, the EIC 804 can include a single instruction multiple data (STMD) processor 816, for example, between convolutional layers implemented photonically in a neural network, which can effectively perform pooling operations. In some embodiments, it is also beneficial to electronically implement a fully connected neural network layer in the EIC 804. For example, in a photonic-electronic neuromorphic computing system 800 configured for image recognition applications using the RESNET50 model, the PIC 802 can implement a convolutional neural network layer, and the EIC 804 can process the pooling layer and the fully connected layer of the model with a higher bit precision than that achievable with the PIC 802.

[0071] In addition to certain neural network operations, the EIC 804 may also perform pre-processing and post-processing of a neural network (or other computational) model and / or its inputs and outputs. In some embodiments, a neural network model (or other model represented by a matrix) is made sparse by converting unimportant network parameters (or matrix elements) to zero without compromising accuracy. In addition, sparse input data may be pre-processed to be more efficiently stored in the on-chip memory 814. Image input data may be pre-processed to suppress undesired distortion or enhance relevant features, for example, using Gaussian, wavelet, average or median filters, fuzzy histogram hyperbolicization, bias correction, or any of a variety of other techniques known in the field of image processing to generate better input features for a neural network. In some embodiments, the EIC 804 includes a graphics processing unit (GPU) for performing certain (e.g., image processing) operations. Processing digital signals beneficially supports mixed precision computing and can achieve higher bit precision than photon operations (e.g., any combination of FP64, FP32, FP16, bfloat16, INT8, INT8 sparse, and INT4 operations). In various embodiments, the PIC 802 may perform 4-bit or 8-bit operations (or mixed-precision operations combining 4-bit and 8-bit precision).

[0072] In various embodiments, the computing system 800 implements a trained neural network model using pre-computed neuron weights for a particular inference application (e.g., as stored in on-chip memory 814 or directly in an O-PCM in the PIC 802). The machine learning algorithm used to determine the neuron weights (e.g., back propagation of errors with gradient descent) can be implemented and executed, for example, using conventional computing hardware (e.g., a general purpose processor or GPU). Alternatively, the neural network model can be trained in situ using the neuromorphic computing system 800, for example, where the neuron inputs are optically processed by the PIC 802 in a forward propagation phase, and adjustments to the weights based on the neuron outputs are computed electronically directly by the EIC 804 (which, for this purpose, would be configured to implement the back propagation phase of the algorithm) or by an additional computing device in communication with the EIC 804.

[0073] Fig. 9 Flowchart of a photonic computing method 900 as may be performed, for example, using a photonic crossbar switch 300 or 700, according to various embodiments. The method 900 involves splitting light into a plurality of optical carrier signals associated with a plurality of computing inputs (902), and modulating the amplitude of the plurality of optical carrier signals to impart the computing inputs onto the optical carrier signals, thereby generating a plurality of first modulated optical signals (904). Each first modulated optical signal is split between a plurality of optical paths associated with a plurality of computing outputs (906). In an array configuration used in the photonic crossbar switch 300, 700, optical paths associated with the same computing output direct the first modulated optical signal to the same column in the array. The amplitude and / or phase of the first modulated optical signal in each of the plurality of optical paths is further modulated to impart a computing weight, and thereby generating a second modulated optical signal (908). Each weight is associated with one of the plurality of computing inputs and one of the plurality of computing outputs, and a plurality of second modulated optical signals corresponding to the plurality of computing outputs are generated from each first modulated optical signal (which encodes one of the computing inputs). For each of the computational outputs, the second modulated optical signals in the associated paths are coherently combined (eg, sequentially along output waveguides merging the respective optical paths) into an optical output signal encoding the computational output (910).

[0074] In some embodiments, each optical carrier signal is modulated according to one of the computational inputs to produce a corresponding first modulated optical signal; each first modulated optical signal is modulated according to a plurality of computational weights associated with a plurality of corresponding computational outputs to generate a plurality of corresponding second modulated optical signals associated with the computational inputs imparted on the first modulated optical signal; and the second modulated optical signals associated with the same computational outputs are combined across the computational inputs into an optical output signal that encodes one of the computational outputs.

[0075] In other embodiments, the optical carrier signal is multiplexed. In this case, for each individual optical carrier signal, multiple computational inputs may be imparted to multiple corresponding wavelength components of the carrier signal, for example, by multiple modulators within a single input unit to produce multiple first modulated output signals, which may be multiplexed to be propagated together to corresponding weighting units associated with the input unit. Each weighting unit may then use one modulator and phase shifter to impart the same weight to the multiplexed first modulated output signal, or use multiple modulators and phase shifters to impart different weights to corresponding wavelength components corresponding to each first modulated output signal. It is also possible that each carrier signal is modulated by only one modulator in the corresponding input unit according to one computational input to produce one first modulated output signal with different wavelength components, and each weighting unit imparts different weights to the corresponding wavelength components. In any case, each weighting unit generates multiple second modulated optical signals at different corresponding wavelengths, which can be multiplexed and combined with other multiplexed second modulated optical signals into a single multiplexed optical output signal that encodes multiple computational outputs at different corresponding wavelengths.

[0076] The following numbered examples are illustrative embodiments.

[0077] Example 1 is a system including a photonic circuit, the photonic circuit comprising: an optical splitter configured to split carrier light into multiple optical carrier signals; multiple input units, the multiple input units including a first optical amplitude modulator, the first optical amplitude modulator being configured to impart multiple computational inputs to the multiple optical carrier signals, thereby generating a first modulated optical signal; multiple sets of weighting units, the weighting units in each set being coupled at their input ends to output ends of the multiple input units and including multiple second optical amplitude modulators, the multiple second optical amplitude modulators being configured to impart multiple computational weights to the first modulated optical signals received from the input units, thereby generating a second modulated optical signal associated with the set; and multiple optical combiners, each optical combiner being associated with one of the sets of weighting units and being configured to coherently combine the second modulated optical signals associated with the set into an optical output signal.

[0078] Example 2 is a system according to Example 1, wherein the weighting units of the multiple sets are arranged in an array comprising multiple rows and multiple columns, each column of weighting units corresponds to one of the sets of weighting units, and each row of weighting units is associated with and coupled to one of the input units.

[0079] Example 3 is a system according to Example 2, wherein the photonic circuit further comprises a plurality of optical input waveguides, each optical input waveguide being associated with one of the input cells and being configured to guide the first modulated optical signal generated in the input cell along an associated row of weighting cells, wherein an optical tap placed at an input end of an associated weighting cell along each of the optical input waveguides sequentially couples the first modulated optical signal from the optical input waveguide into the associated weighting cell.

[0080] Example 4 is a system according to Example 3, wherein the optical tap along each of the optical input waveguides is configured to couple a portion of the optical power guided in the optical input waveguide that is increased in the propagation direction of the first modulated optical signal to the associated weighting unit, so that the first modulated optical signal coupled into the weighting unit is substantially equal in power along the optical input waveguide.

[0081] Example 5 is a system according to any one of Examples 2 to 4, wherein each of the optical combiners includes an optical output waveguide and a plurality of optical couplers, the plurality of optical couplers being placed along the optical output waveguide and configured to sequentially couple the second modulated optical signals from the associated set of weighting units into the optical output waveguide.

[0082] Example 6 is a system according to any one of Examples 1 to 5, wherein the optical splitter and the optical combiner are jointly configured to cause the second modulated optical signals associated with each set of weighting units to be combined into corresponding optical output signals in equal proportions.

[0083] Example 7 is a system according to any one of Examples 1 to 6, wherein the optical splitter comprises a cascade of bifurcated optical splitters that sequentially couple the carrier light to the input ends of the plurality of input units.

[0084] Example 8 is a system according to any one of Examples 1 to 7, wherein the photonic circuit further comprises a plurality of optical delay lines that impart optical delays on the first modulated optical signal to balance the optical path length between the input unit and the optical output end of each of the optical combiners.

[0085] Example 9 is a system according to any one of Examples 1 to 8, wherein at least one of the first optical amplitude modulator or the second optical amplitude modulator comprises an electro-absorption modulator or a multiple quantum confined Stark effect (QCSE) electro-absorption modulator.

[0086] Example 10 is a system according to any one of Examples 1 to 9, wherein the second optical amplitude modulator includes an optical phase change unit.

[0087] Example 11 is a system according to any one of Examples 1 to 10, wherein the weighting unit in each set also includes a plurality of phase shifters associated with the plurality of second amplitude modulators, and the plurality of phase shifters are configurable to assign signs of the calculated weights to the first modulated optical signal.

[0088] Example 12 is a system according to Example 11, wherein the phase shifter includes at least one of a thermal phase shifter, an electro-optical phase shifter, or a phase change material based phase shifter.

[0089] Example 13 is a system according to any one of Examples 1 to 11, wherein the photonic circuit further comprises a plurality of photodetectors placed at optical output ends of the plurality of optical combiners to measure the optical output signals.

[0090] Example 14 is a system according to any one of Examples 1 to 13, further comprising: an electronic circuit configured to control drivers associated with the multiple first optical amplitude modulators, the multiple second optical amplitude modulators, and the multiple phase shifters, the electronic circuit comprising a memory for storing the calculated weights associated with the multiple weighting units.

[0091] Example 15 is a system according to Examples 13 and 14, wherein the optical splitter, the multiple input units, the multiple sets of weighting units, the multiple optical combiners, and the multiple photodetectors implement a first neural network layer, the photonic circuit also includes an additional optical splitter, an additional multiple input units, an additional multiple sets of weighting units, an additional multiple optical combiners, and an additional multiple photodetectors that implement a second neural network layer, and the electronic circuit is configured to control a driver associated with an additional first optical amplitude modulator in the additional input unit of the second layer based on the outputs of the multiple photodetectors of the first layer.

[0092] Example 16 is a system according to Examples 13 and 14, wherein the electronic circuit is configured to: cause a first set of computational weights associated with a first neural network layer to be applied by the multiple sets of weighting units; when applying the first set of computational weights, cause a first set of computational inputs to be applied by the first optical amplitude modulator and read out the photodetector that measures the optical output signal to obtain a first set of computational outputs associated with the first layer; cause a second set of computational weights associated with a second neural network layer to be applied by the weighting units; and when applying the second set of computational weights, cause a second set of computational inputs based on the first set of computational outputs to be applied by the first optical amplitude modulator and read out the photodetector that measures the optical output signal to obtain a second set of computational outputs associated with the second layer.

[0093] Example 17 is a system according to any one of Examples 1 to 16, wherein: each of the input units is associated with a corresponding one of the computational inputs and is configured to impart the computational input to one of the optical carrier signals using one of the first optical amplitude modulators to produce one of the first modulated optical signals; and each of the optical combiners and its associated optical output signal is associated with a corresponding one of a plurality of computational outputs; and each of the weighting units is associated with a corresponding pair of one of the computational inputs and one of the computational outputs, and is configured to impart one of the computational weights to the first modulated optical signal associated with the computational input using one of the second amplitude modulators to produce one of the second modulated optical signals.

[0094] Example 18 is a system according to any one of Examples 1 to 16, wherein the carrier light is multiplexed light, the optical carrier signal is a multiplexed optical carrier signal, and the optical output signal is a multiplexed optical output signal.

[0095] Example 19 is a system according to Example 18, wherein the input units each include a set of multiple first optical amplitude modulators associated with multiple wavelengths of the multiplexed optical carrier signal, the set of multiple first optical amplitude modulators is preceded by a demultiplexer and followed by a multiplexer, and the multiple first optical amplitude modulators in each input unit are configured to generate a plurality of corresponding first modulated optical signals by imparting multiple computational inputs to the multiple wavelengths of the multiplexed optical carrier signal.

[0096] Example 20 is a system according to Example 18 or Example 19, wherein the weighting units each include a set of multiple second optical amplitude modulators and / or phase shifters associated with multiple wavelengths of the multiplexed optical carrier signal, the set of multiple second optical amplitude modulators and / or phase shifters is preceded by a demultiplexer and followed by a multiplexer, and the multiple second optical amplitude modulators and / or phase shifters are configured to generate multiple corresponding second modulated optical signals by assigning multiple calculation weights to one or more first modulated optical signals.

[0097] Example 21 is a system according to Example 18, further comprising an electro-optical switch before and after each of the input units and each of the weighting units, the electro-optical switch being configurable to guide the multiplexed optical input signal through the input unit along a first or second input optical path, and through the weighting unit along a first or second weighted optical path, wherein: each of the input units includes a set of first optical amplitude modulators associated with multiple wavelengths of the multiplexed optical carrier signal and along the first input optical path and a separate first optical amplitude modulator along the second input optical path, the set of first optical amplitude modulators being preceded by a demultiplexer and followed by a multiplexer; and each of the weighting units includes a set of second optical amplitude modulators and / or phase shifters associated with multiple wavelengths of the multiplexed optical carrier signal and along the first weighted optical path and a separate second optical amplitude modulator and / or phase shifter along the second weighted optical path, the set of second optical amplitude modulators and / or phase shifters being preceded by a demultiplexer and followed by a multiplexer.

[0098] Example 22 is a system according to Example 21, wherein the electro-optical switch is programmable to implement multiple configurations of multiple associated artificial neural network types, the multiple configurations including: a convolutional neural network configuration, in which the multiplexed optical carrier signal is directed along the first input optical path and the second weighted optical path; a fully connected neural network configuration, in which the multiplexed optical carrier signal is directed along the second input optical path and the first weighted optical path; and a neural network configuration, in which the multiplexed optical input signal is directed along the first input optical path and the first weighted optical path.

[0099] Example 23 is a photonic circuit comprising: an optical splitter configured to split multiplexed light into a plurality of multiplexed optical carrier signals associated with a plurality of inputs; a plurality of interfering optical paths configured to receive the plurality of multiplexed optical carrier signals and generate a multiplexed weighted optical input signal; and an optical combiner configured to combine the multiplexed weighted optical input signals into a multiplexed optical output signal, wherein each of the interfering optical paths comprises: a first electro-optical switch, a second electro-optical switch, and a third electro-optical switch, the first electro-optical switch and the second electro-optical switch being configurable to switch the multiplexed optical carrier signal between a first input optical path and a second input optical path, and the second electro-optical switch and the third electro-optical switch being configurable to switch the multiplexed optical input signal between a first weighted optical path and a second weighted optical path; an input unit between the optical switches, the input unit comprising a set of first optical amplitude modulators associated with the multiple wavelengths of the multiplexed optical carrier signal and along the first input optical path and a single first optical amplitude modulator along the second input optical path, the set of the first optical amplitude modulators being preceded by a demultiplexer and followed by a multiplexer, the input unit being configured to generate the multiplexed optical input signal; and a weighting unit between the second electro-optical switch and the third electro-optical switch, the weighting unit comprising a set of second optical amplitude modulators and phase shifters associated with the multiple wavelengths of the multiplexed optical carrier signal and along the first weighted optical path and a single second optical amplitude modulator and phase shifter along the second weighted optical path, the set of the second optical amplitude modulators and phase shifters being preceded by a demultiplexer and followed by a multiplexer, the weighting unit being configured to generate the multiplexed weighted optical input signal.

[0100] Example 24 is a photonic circuit according to Example 23, further comprising a demultiplexer at an output end of the optical combiner, the demultiplexer being configured to separate the multiplexed optical output signal into optical output signals of multiple wavelengths.

[0101] Example 25 is a photonic circuit according to Example 24, further comprising a plurality of photodetectors to measure optical output signals at the plurality of wavelengths.

[0102] Example 26 is a photonic computing method, comprising: dividing light into multiple optical carrier signals associated with multiple computing inputs; modulating the amplitudes of the multiple optical carrier signals to impart the computing inputs to the optical carrier signals, thereby generating multiple first modulated optical signals; separating each of the optical input signals between multiple optical paths associated with multiple computing outputs; modulating the amplitude and / or phase of the first modulated optical signal in each of the multiple optical paths to impart computing weights to the first modulated optical signal, thereby generating a second modulated optical signal, each computing weight being associated with one of the multiple computing inputs and one of the multiple computing outputs; and for each of the computing outputs, coherently combining the second modulated optical signals in the optical paths associated with the computing output into an optical output signal that encodes the computing output.

[0103] Example 27 is a method according to Example 26, wherein each of the optical carrier signals is associated with one of the plurality of computational inputs and each of the optical output signals is associated with one of the plurality of computational outputs.

[0104] Example 28 is a method according to Example 26, wherein the light is multiplexed light including multiple wavelengths, the optical carrier signal is a multiplexed optical carrier signal, each multiplexed optical carrier signal is associated with multiple computational inputs imparted on the optical carrier signal of the multiple wavelengths to generate a plurality of first modulated optical signals, and the optical output signal is a multiplexed optical output signal associated with multiple computational outputs encoded in the optical output signal of the multiple wavelengths.

[0105] Example 29 is a computing system comprising: a photonic integrated circuit (PIC), the photonic integrated circuit (PIC) implementing one or more computing layers, the PIC comprising: one or more coherent photonic crossbar switches, each coherent photonic crossbar switch being configured to modulate multiple optical input signals to assign computational weights associated with multiple weight sets to the optical input signals to produce weighted optical input signals, and coherently combine the weighted optical input signals to generate optical output signals encoding computational outputs associated with the multiple weight sets, at least one of the one or more coherent photonic crossbar switches comprising multiple electronically controlled modulators to assign computational inputs to coherent optical carrier signals to generate the multiple optical input signals, and at least one of the one or more coherent photonic crossbar switches comprising multiple photodetectors to generate analog electronic output signals based on the optical output signals; and a mixed-signal electronic integrated circuit (EIC), the mixed-signal electronic integrated circuit (EIC) comprising: a driver circuit, the driver circuit being used to control the modulators in the PIC according to neuronal inputs, and a processing circuit, the processing circuit being used to process the analog electronic output signals, the processing being performed at least partially digitally.

[0106] Example 30 is the computing system of Example 29, wherein the one or more coherent photonic crossbars implement multiple computing layers.

[0107] Example 31 is a computing system according to Example 30, wherein the analog electronic output signal associated with one of the plurality of computing layers is processed to generate a control signal for the driver circuit associated with the input of another of the computing layers.

[0108] Example 32 is a computing system according to any of Examples 29 to 31, wherein at least one of the one or more coherent photonic crossbar switches includes a plurality of additional electronically controlled modulators to impart the computational weights to the optical input signals, and wherein the EIC also includes additional driver circuits to control the additional modulators.

[0109] Example 33 is a computing system according to Example 31 and Example 32, wherein the one of the computing layers and the other of the computing layers are implemented by a single coherent photonic cross switch among the one or more coherent photonic cross switches, and wherein the additional driver circuit controls the additional modulator according to a set of computing weights to implement the one of the computing layers, and controls the additional modulator according to another set of computing weights to implement the other of the computing layers.

[0110] Example 34 is a computing system according to Example 32 or Example 33, wherein the EIC further comprises a memory and a digital-to-analog converter, the memory storing the calculated weights, the digital-to-analog converter for generating a control signal for the additional driver circuit from the calculated weights.

[0111] Example 35 is a computing system according to any one of Examples 32 to 34, wherein the additional electronically controlled modulator includes a pair of amplitude modulators and phase shifters to impart signed computational weights to the electric field of the optical input signal.

[0112] Example 36 is the computing system of example 31 or example 32, wherein the one of the computing layers and the other of the computing layers are implemented by two coherent photonic crossbar switches.

[0113] Example 37 is a computing system according to claim 30, wherein the multiple computing layers are implemented by multiple coherent photonic cross switches, and wherein the optical output signal of at least one of the coherent photonic cross switches is provided to another of the coherent photonic cross switches as the optical input signal.

[0114] Example 38 is a computing system according to any one of Examples 29 to 37, further comprising at least one of an optical amplifier in the PIC for amplifying the optical output signal or an electronic amplifier in the processing circuit for amplifying the analog electronic output signal.

[0115] Example 39 is a computing system according to any one of Examples 29 to 38, wherein the one or more computing layers represent one or more neural network layers, the multiple weight sets represent multiple neurons, and the computing output is a linear neuron output.

[0116] Example 40 is the computing system of Example 39, wherein the processing circuit applies the nonlinear electronic activation function to the analog electronic signal in the analog domain or in the digital domain after analog-to-digital conversion.

[0117] Example 41 is a computing system according to Example 39, wherein the PIC also includes a nonlinear activation unit associated with a neuron of at least one of the one or more coherent photonic crossbar switches, and the nonlinear optical activation unit is configured to apply optical nonlinearity to the optical output signal that encodes the linear neuron output, thereby generating an optical output signal that encodes the nonlinear neuron output.

[0118] Example 42 is a computing system according to any one of Examples 39 to 41, wherein the digital processing includes neural network layer operations.

[0119] Example 43 is a computing system according to Example 42, wherein the neural network layer operation implements one of a pooling layer or a fully connected layer.

[0120] Example 44 is a computing system according to any one of Examples 39 to 43, wherein the digital processing includes image pre-processing operations for image inputs to the one or more neural network layers or post-processing operations for outputs generated by the one or more neural network layers.

[0121] Example 45 is a computing system according to Example 44, wherein the digital processing includes adjusting the stored neural network weights to achieve structural sparsity.

[0122] Example 46 is a computing system according to any one of Examples 29 to 45, wherein at least one of the PIC or the EIC is configured to perform mixed-precision operations.

[0123] Example 47 is a computing system according to any one of Examples 29 to 46, wherein the EIC further includes a graphics processing unit (GPU) core to perform at least a portion of the digital processing.

[0124] Example 48 is a computing system according to any of Examples 29 to 47, wherein the EIC further includes on-chip memory.

[0125] Example 49 is a computing system according to any one of Examples 29 to 48, further comprising an electronic interface between the PIC and the EIC, the electronic interface having a power consumption of less than 3 pJ per bit of data converted from the optical domain to the digital electronic domain or from the digital electronic domain to the optical domain.

[0126] Example 50 is the computing system of any of Examples 29 to 49, the PIC further comprising an optical splitter that receives carrier light from the optical engine and splits it into the coherent optical carrier signal.

[0127] Example 51 is a computing system according to example 50, wherein the optical engine includes multiple lasers that generate multiple wavelengths of light and a multiplexer for combining the multiple wavelengths of light into a multiplexed carrier light.

[0128] Example 52 is a computing system according to any one of Examples 29 to 51, the PIC also includes an optical interface for receiving carrier light from a source external to the PIC, the optical interface including at least one of an edge coupler, an inverted tapered coupler, or a grating coupler.

[0129] Example 53 is the computing system of claim 52, wherein the optical interface comprises at least one of an edge coupler, an inverted tapered coupler, or a grating coupler.

[0130] Example 54 is a computing system according to any of Examples 29 to 53, wherein the digital processing includes operations performed with higher bit precision than operations performed in the PIC.

[0131] Although the subject matter of the invention has been described with reference to specific example embodiments, it will be evident that various modifications and changes may be made to these embodiments without departing from the broader scope of the subject matter of the invention. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.

Claims

1. A system comprising a photonic circuit, the photonic circuit comprising: an optical splitter configured to split the multiplexed carrier light into a plurality of multiplexed optical carrier signals; a plurality of input units, the plurality of input units comprising a plurality of first optical amplitude modulators, the plurality of first optical amplitude modulators being configured to impart a plurality of computational inputs to the plurality of multiplexed optical carrier signals, thereby outputting a plurality of first modulated optical signals, wherein each of the input units comprises: a demultiplexer configured to separate one of the plurality of multiplexed optical carrier signals into constituent wavelength components; and a subset of the plurality of first optical amplitude modulators coupled to the demultiplexer and associated with the constituent wavelength components of the multiplexed optical carrier signal, wherein the subset of the plurality of first optical amplitude modulators is configured to output some of the plurality of first modulated optical signals by imparting a plurality of computational inputs onto the constituent wavelength components; a plurality of sets of weighting units, the weighting units in each set being coupled at their inputs to the outputs of the plurality of input units and comprising a plurality of second optical amplitude modulators configured to assign a plurality of computational weights to the plurality of first modulated optical signals received from the input units, thereby outputting a second modulated optical signal associated with the set; and A plurality of optical combiners, each optical combiner being associated with one of the sets of weighting units and configured to coherently combine the second modulated optical signals associated with the set into a multiplexed optical output signal.

2. A system according to claim 1, wherein the weighting units in the multiple sets of weighting units are arranged in an array manner including multiple rows and multiple columns, each column of weighting units corresponds to one of the sets of weighting units, and each row of weighting units is associated with and coupled to one of the input units.

3. The system of claim 2 , wherein the photonic circuit further comprises a plurality of optical input waveguides, each optical input waveguide being associated with one of the input cells and being configured to guide the first modulated optical signal output in the input cell along an associated row of weighting cells, wherein an optical tap placed along each of the optical input waveguides at an input end of an associated weighting cell sequentially couples the first modulated optical signal from the optical input waveguide into the associated weighting cell.

4. The system of claim 3, wherein the optical tap along each of the optical input waveguides is configured as: coupling a first portion of the optical power guided in the optical input waveguide that is increased in the propagation direction of the first modulated optical signal to the associated weighting unit such that the first modulated optical signal coupled into the weighting unit is substantially equal in power along the optical input waveguide; and A second portion of the optical power is transmitted to one or more additional weighting units.

5. The system of claim 2, wherein each of the optical combiners comprises an optical output waveguide and a plurality of optical couplers positioned along the optical output waveguide and configured to sequentially couple the second modulated optical signals from a set of associated weighting units into the optical output waveguide.

6. The system of claim 1, wherein the optical splitter and the optical combiner are collectively configured to cause the second modulated optical signals associated with each set of weighting units to be combined in equal proportions into corresponding optical output signals.

7. The system of claim 1, wherein the optical splitter comprises a cascade of bifurcated splitters that sequentially couple the multiplexed carrier light to inputs of the plurality of input units.

8. The system of claim 1 , wherein the photonic circuit further comprises a plurality of optical delay lines that impart optical delays on the second modulated optical signal to balance optical path lengths between the input unit and an optical output of each of the optical combiners.

9. The system of claim 1, wherein at least one of the first optical amplitude modulator or the second optical amplitude modulator comprises an electro-absorption modulator.

10. The system of claim 1, wherein the second optical amplitude modulator comprises an optical phase change unit.

11. The system of claim 1, wherein the weighting unit in each set further comprises a plurality of phase shifters associated with the plurality of second optical amplitude modulators, the plurality of phase shifters being configurable to impart signs of the calculated weights onto the first modulated optical signal.

12. The system of claim 11, wherein the phase shifter comprises at least one of a thermal phase shifter, an electro-optical phase shifter, or a phase change material based phase shifter.

13. The system of claim 11, wherein the photonic circuit further comprises a plurality of photodetectors disposed at optical output ends of the plurality of optical combiners to measure the optical output signals.

14. The system of claim 13, further comprising: An electronic circuit is configured to control drivers associated with the plurality of first optical amplitude modulators, the plurality of second optical amplitude modulators, and the plurality of phase shifters, the electronic circuit comprising a memory storing the calculation weights associated with a plurality of sets of the weighting units.

15. The system of claim 14, wherein the optical splitter, the plurality of input units, the plurality of sets of weighting units, the plurality of optical combiners, and the plurality of photodetectors implement a first neural network layer, the photonic circuit further comprises an additional optical splitter, an additional plurality of input units, an additional plurality of sets of weighting units, an additional plurality of optical combiners, and an additional plurality of photodetectors implementing a second neural network layer, and the electronic circuit is configured to control a driver associated with an additional first optical amplitude modulator in the additional plurality of input units of the second neural network layer based on outputs of the plurality of photodetectors of the first neural network layer.

16. The system of claim 14, wherein the electronic circuit is configured to: causing a first set of computational weights associated with a first neural network layer to be applied by the plurality of sets of weighting units; causing a first set of computational inputs to be applied by the first optical amplitude modulator and reading out the photodetector measuring the optical output signal to obtain a first set of computational outputs associated with the first neural network layer when applying the first set of computational weights; causing a second set of computational weights associated with a second neural network layer to be applied by the weighting unit; as well as When the second set of computational weights is applied, a second set of computational inputs based on the first set of computational outputs is applied by the first optical amplitude modulator and the photodetector measuring the optical output signal is read out to obtain a second set of computational outputs associated with the second neural network layer.

17. The system of claim 1, wherein: each of the input units is associated with a respective one of the computational inputs and is configured to impart the computational input onto one of the multiplexed optical carrier signals using one of the first optical amplitude modulators to output one of the first modulated optical signals; Each of the optical combiners and its associated optical output signal is associated with a respective one of a plurality of computational outputs; and Each of the weighting units is associated with a corresponding pair of one of the computation inputs and one of the computation outputs, and is configured to assign one of the computation weights to the first modulated optical signal associated with the computation input using one of the second optical amplitude modulators to output one of the second modulated optical signals.

18. The system of claim 1, wherein the weighting units each comprise: a subset of the plurality of second optical amplitude modulators and / or phase shifters associated with the constituent wavelength components of the multiplexed optical carrier signal, wherein the subset of the plurality of second optical amplitude modulators and / or phase shifters is configured to output a number of respective second modulated optical signals by assigning a number of computational weights to the subset of the plurality of first optical amplitude modulators associated with the constituent wavelength components; A multiplexer is coupled to the subset of the plurality of second optical amplitude modulators and is configured to combine the respective ones of the second modulated optical signals into a multiplexed second modulated optical signal.

19. The system of claim 1, wherein: Each of the input units comprises: a multiplexer coupled to the subset of the plurality of first optical amplitude modulators and configured to combine the respective ones of the first modulated optical signals of the input cells into a multiplexed first modulated optical signal; and Each of the weighting units comprises: a demultiplexer configured to separate a multiplexed first modulated optical signal of the plurality of multiplexed optical carrier signals into constituent wavelength components (46); a subset of the plurality of second optical amplitude modulators and / or phase shifters, coupled to the demultiplexer of the weighting unit and associated with the constituent wavelength components of the multiplexed first modulated optical signals, wherein the subset of the plurality of second optical amplitude modulators and / or phase shifters is configured to output some corresponding second modulated optical signals by assigning a plurality of calculation weights to one or more first modulated optical signals among the plurality of first modulated optical signals.

20. The system of claim 1, further comprising an electro-optical switch before and after each of the input units and each of the weighting units, the electro-optical switch being configurable to direct the multiplexed optical carrier signal through the input unit along a first input optical path or a second input optical path and through the weighting unit along a first weighted optical path or a second weighted optical path, wherein: each of the input units comprises a set of first optical amplitude modulators associated with a plurality of wavelengths of the multiplexed optical carrier signal and along the first input optical path and a single first optical amplitude modulator along the second input optical path, the set of first optical amplitude modulators being preceded by a demultiplexer and followed by a multiplexer; as well as Each of the weighting units comprises a set of second optical amplitude modulators and / or phase shifters associated with the multiple wavelengths of the multiplexed optical carrier signal and along the first weighted optical path and a separate second optical amplitude modulator and / or phase shifter along the second weighted optical path, wherein the set of second optical amplitude modulators and / or phase shifters is preceded by a demultiplexer and followed by a multiplexer.

21. The system of claim 20, wherein the electro-optical switch is programmable to implement a plurality of configurations of a plurality of associated artificial neural network types, the plurality of configurations comprising: a convolutional neural network configuration wherein the multiplexed optical carrier signal is directed along the first input optical path and the second weighted optical path; a fully connected neural network configuration wherein the multiplexed optical carrier signal is directed along the second input optical path and the first weighted optical path; as well as A neural network configuration wherein the multiplexed optical input signal is directed along the first input optical path and the first weighted optical path.

22. A photonic circuit comprising: an optical splitter configured to split the multiplexed light into a plurality of multiplexed optical carrier signals associated with the plurality of inputs; a plurality of interferometric optical paths configured to receive the plurality of multiplexed optical carrier signals and generate a multiplexed weighted optical input signal; as well as an optical combiner configured to combine the multiplexed weighted optical input signals into a multiplexed optical output signal, Each of the plurality of interfering optical paths comprises: a first electro-optical switch, a second electro-optical switch, and a third electro-optical switch, the first electro-optical switch and the second electro-optical switch being configurable to switch the plurality of multiplexed optical carrier signals between the first input optical path and the second input optical path, and the second electro-optical switch and the third electro-optical switch being configurable to switch the multiplexed optical input signal between the first weighted optical path and the second weighted optical path; an input unit between the first electro-optical switch and the second electro-optical switch, the input unit comprising a set of first optical amplitude modulators associated with a plurality of wavelengths of the plurality of multiplexed optical carrier signals and along the first input optical path and a single first optical amplitude modulator along the second input optical path, the set of first optical amplitude modulators being preceded by a demultiplexer and followed by a multiplexer, the input unit being configured to generate the multiplexed optical input signal; as well as a weighting unit between the second electro-optical switch and the third electro-optical switch, the weighting unit comprising a set of second optical amplitude modulators and phase shifters associated with the plurality of wavelengths of the plurality of multiplexed optical carrier signals and along the first weighted optical path and a separate second optical amplitude modulator and phase shifter along the second weighted optical path, the set of second optical amplitude modulators and phase shifters being preceded by a demultiplexer and followed by a multiplexer, the weighting unit being configured to generate the multiplexed weighted optical input signal.

23. The photonic circuit of claim 22, further comprising a demultiplexer at an output end of the optical combiner, the demultiplexer configured to separate the multiplexed optical output signal into optical output signals of a plurality of wavelengths.

24. The photonic circuit of claim 23, further comprising a plurality of photodetectors to measure optical output signals at the plurality of wavelengths.

25. A photon computing method, comprising: splitting the multiplexed light into a plurality of multiplexed optical carrier signals associated with a plurality of computational inputs; separating each of the multiplexed optical carrier signals into constituent wavelength components, the constituent wavelength components each traversing one of a plurality of optical paths associated with the constituent wavelength component; modulating the amplitudes of the constituent wavelength components of the plurality of multiplexed optical carrier signals to impart the plurality of computational inputs to the constituent wavelength components of the multiplexed optical carrier signals to output a subset of the plurality of first modulated optical signals; modulating the amplitude and / or phase of the plurality of first modulated optical signals in each of the plurality of optical paths to assign computational weights to the plurality of first modulated optical signals to generate a subset of a plurality of second modulated optical signals, each computational weight being associated with one of the plurality of computational inputs and one of the plurality of computational outputs; combining the subset of the plurality of second modulated optical signals into respective multiplexed second modulated optical signals; as well as For each of the computational outputs, the respective multiplexed second modulated optical signals in the optical paths associated with the computational output are coherently combined into a multiplexed optical output signal encoding the computational output.

26. The method of claim 25, wherein each of the multiplexed optical carrier signals is associated with one of the plurality of computational inputs and each of the multiplexed optical output signals is associated with one of the plurality of computational outputs.

27. The method of claim 25, wherein the multiplexed carrier light comprises a plurality of wavelengths, the multiplexed optical carrier signals are each associated with a plurality of computational inputs imparted on the multiplexed optical carrier signal at the plurality of wavelengths to output a plurality of first modulated optical signals, and the multiplexed optical output signal is associated with a plurality of computational outputs encoded in the optical output signal at the plurality of wavelengths.