Photon calculation device based on wavelength division multiplexing

By using wavelength division multiplexing technology in the photon matrix calculation device, the matrix element value is loaded onto a multi-wavelength signal, and the parallel processing of multiple multiplication operations is realized through grouping and modulation, the problem of insufficient parallelism and efficiency of photon matrix calculation in the prior art is solved, and efficient photon matrix calculation is realized.

CN120150894APending Publication Date: 2025-06-13UNITED MICROELECTRONICS CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510568531.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

The existing photon matrix calculation devices have shortcomings in terms of parallelism and efficiency, and it is difficult to effectively improve the speed and energy efficiency of photon matrix calculation.

Method used

Using a photon computing device based on wavelength division multiplexing, the N×M element values ​​of the input optical signal are loaded onto the multi-wavelength signal through the first modulation module, the signal is grouped into the M-channel second optical signal by the first wave decomposition multiplexer, and the element values ​​in the second matrix are loaded on the M-channel second optical signal through the M-channel second optical signal through the M-channel first modulator, thereby completing the N×M multiplication operation at one moment.

Benefits of technology

The parallelism and efficiency of photon matrix calculation are improved, multiple matrix multiplication operations can be completed at one moment, reducing calculation time and energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120150894A_ABST
    Figure CN120150894A_ABST
Patent Text Reader

Abstract

A photon calculation device based on wavelength division multiplexing comprises a first modulation module used for modulating input light to obtain a first optical signal, and the first optical signal carries element values of N rows and M columns in a first matrix through light of N * M wavelengths; the first wavelength demultiplexer is used for carrying out wavelength demultiplexing on the first optical signal, an mth output end of the first wavelength demultiplexer outputs an mth path of second optical signal, and light of N wavelengths in the mth path of second optical signal respectively carries N element values of an mth column in the first matrix; the mth first modulator modulates the mth path of second optical signal to obtain an mth path of third optical signal, and the light of the nth wavelength in the mth path of third optical signal carries the product of the element value of the nth row and the mth column in the first matrix and the element value of the mth row and the pth column in the second matrix; and the resolving module is used for obtaining N element values in the third matrix based on the M paths of third optical signals. According to the device, high-parallelism photon matrix calculation can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of photonic computing, and in particular, to a photonic computing device based on wavelength division multiplexing. Background Art

[0002] Photonic computing is a new computing paradigm that uses photons as information carriers for data storage, transmission, and processing. Its core relies on the manipulation of optical signals by optical devices (such as lasers, modulators, etc.), and information is carried through the physical properties of light (such as wavelength, phase, polarization, etc.) to achieve computing functions. Compared with traditional electronic computing that relies on the movement of electrons in semiconductors, photonic computing has almost no mass transfer in the medium and theoretically has advantages such as ultra-high speed, low energy consumption, high parallelism, and anti-electromagnetic interference.

[0003] Photonic matrix computing is an important branch of photonic computing. Matrix operations, as the core content of linear algebra, are widely used in many fields such as artificial intelligence, big data processing, and scientific computing. In these scenarios, the scale of matrices is often extremely large. Compared with traditional electronic computing methods, photonic matrix computing can effectively improve the computing speed and reduce energy consumption. Summary of the Invention

[0004] One of the technical objectives of the embodiments of the present application is to provide a photonic computing device that can improve the parallelism of photonic matrix computing, thereby further improving the efficiency of photonic matrix computing.

[0005] In view of this, the embodiments of the present application provide a photonic computing device based on wavelength division multiplexing, including: a first modulation module for modulating an input optical signal to output a first optical signal, the first optical signal including optical signals of N×M wavelengths, where the optical signal of the kth wavelength carries the element value of the row and the column in the first matrix, the first matrix being an N-row and M-column matrix, both N and M being positive integers greater than 1, k being a positive integer, and 1≤k≤N×M, represents the quotient operation, Denotes the modulo operation; a first demultiplexer with an input end and M output ends, the input end being coupled to the output end of the first modulation module, the m-th output end outputting the m-th second optical signal, the m-th second optical signal including optical signals of N wavelengths, the optical signal of the n-th wavelength in the m-th second optical signal carrying the element value of the n-th row and the m-th column in the first matrix, where n and m are both positive integers, 1 ≤ n ≤ N, 1 ≤ m ≤ M; a second modulation module including M first modulators, the input end of the m-th first modulator being coupled to the m-th output end, the output end of the m-th first modulator outputting the m-th third optical signal, the m-th third optical signal including optical signals of N wavelengths, the optical signal of the n-th wavelength in the m-th third optical signal carrying the product of the element value of the n-th row and the m-th column in the first matrix and the element value of the m-th row and the p-th column in the second matrix, the second matrix being a matrix of M rows and P columns, where p and P are positive integers, 1 ≤ p ≤ P; a solving module for obtaining N element values of the p-th column in the third matrix based on M third optical signals, the third matrix being the product of the first matrix and the second matrix.

[0006] Optionally, the solving module includes: an optical signal transmission module having M input ends and N output ends, the m-th input end of the optical signal transmission module being coupled to the output end of the m-th first modulator, the n-th output end of the optical signal transmission module outputting the n-th fourth optical signal, the n-th fourth optical signal including optical signals of M wavelengths, the optical signal of the m-th wavelength in the n-th fourth optical signal carrying the product of the element value of the n-th row and the m-th column in the first matrix and the element value of the m-th row and the p-th column in the second matrix; N photodetectors, the input end of the n-th photodetector being coupled to the n-th output end of the optical signal transmission module, the output end of the n-th photodetector outputting the n-th electrical signal, the n-th electrical signal being used to determine the element value of the n-th row and the p-th column in the third matrix.

[0007] Optionally, the optical signal transmission module includes: M groups of microring resonators, each group of microring resonators including N microring resonators, each microring resonator having an input end, a through end, a drop end and an add end, where the input end of the first microring resonator in the m-th group of microring resonators is coupled to the output end of the m-th first modulator, the through end of the j-th microring resonator in the m-th group of microring resonators is coupled to the input end of the (j + 1)-th microring resonator in the m-th group of microring resonators, where j is a positive integer, 1 ≤ j ≤ N - 1; the drop end of the n-th microring resonator in the q-th group of microring resonators is coupled to the add end of the n-th microring resonator in the (q + 1)-th group of microring resonators, where q and n are both positive integers, 1 ≤ q ≤ M - 1; the drop end of the n-th microring resonator in the M-th group of microring resonators is coupled to the input end of the n-th photodetector.

[0008] Optionally, P>1. The m-th first modulator is configured to modulate the m-th second optical signal based on the element value at the m-th row and the p-th column in the second matrix at the p-th moment to obtain the m-th third optical signal at the p-th moment. The solving module is configured to obtain the N element values of the p-th column in the third matrix based on the m-th third optical signal at the p-th moment.

[0009] Optionally, the first optical signal includes optical signals of M wavelength clusters, where each wavelength cluster includes N wavelengths.

[0010] Optionally, P>1. Further included is a beam splitting module having an input end and P output ends. The input end of the beam splitter is coupled to the output end of the first modulation module. The beam splitting module splits the first optical signal. Among them, the number of the first wavelength division multiplexers, the second modulation modules, and the solving modules are all P. The input end of the p-th first wavelength division multiplexer is coupled to the output end of the first modulation module via the p-th output end of the beam splitting module. The output end of the p-th first wavelength division multiplexer is coupled to the input end of the p-th second modulation module. The output end of the p-th second modulation module is coupled to the input end of the p-th solving module. Among them, the p-th second modulation module is configured to modulate the M second optical signals output by the p-th first wavelength division multiplexer based on the element values of the p-th column in the second matrix. Among them, the p-th solving module is configured to obtain the N element values of the p-th column in the third matrix based on the M third optical signals output by the p-th second modulation module.

[0011] Optionally, further included is a second wavelength division multiplexer configured to perform wavelength division multiplexing on the input optical signal to obtain M input optical signals. The beam splitting module has M input ends. The first modulation module includes M modulator groups, and each modulator group includes N cascaded microring modulators. Among them, the input end of the first microring modulator in the m-th modulator group is coupled to the m-th output end of the second wavelength division multiplexer. The output end of the N-th microring modulator in the m-th modulator group is coupled to the m-th input end of the beam splitter.

[0012] Optionally, further included is a light source configured to provide the input optical signal.

[0013] Optionally, the first modulation module is configured to perform intensity modulation on the input optical signal, and / or, the first modulator is configured to perform intensity modulation on the second optical signal.

[0014] Optionally, the photon computing device is an optical chip.

[0015] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects:

[0016] Based on wavelength multiplexing, the N×M element values of the first matrix are respectively loaded onto the multi-wavelength input optical signals, so that the first optical signal carries the N×M element values of the first matrix. Further, the first optical signal is grouped into M paths of second optical signals by a first wavelength demultiplexer, so that the m-th path of the second optical signal carries the N element values of the m-th column in the first matrix. Further, M first modulators are respectively used to load the element values in the second matrix onto the M paths of second optical signals to obtain M paths of third optical signals, where the m-th path of the third optical signal carries the product of the N element values of the m-th column in the first matrix and the element values of the m-th row and p-th column in the second matrix. Thus, the photon computing device provided in this application can complete N×M multiplication operations at one moment, which can improve the parallelism of photon matrix calculation and thus improve the efficiency of photon matrix calculation.

[0017] Further, in the solution of the embodiment of the present application, the optical signal transmission module includes M×N microring resonators, which realizes the conversion of M paths of third optical signals into N paths of fourth optical signals, so that the optical signals carrying multiple values for calculating the same element value in the third matrix in the M paths of third optical signals are combined into one path of fourth optical signal. The optical signal transmission module with this structure is simple in structure and small in volume, which is beneficial to improving the integration degree of the computing device.

[0018] Further, in the solution of the embodiment of the present application, time division multiplexing is performed on the second modulation module, the optical signal transmission module and the solution module. At one moment, the M element values in the same column of the second matrix are loaded by the second modulation module, and the N element values in the same column of the third matrix are obtained. Through the calculation of P moments, the respective element values in the third matrix can be obtained. Adopting this solution is beneficial to reducing the number of devices in the photon computing device and improving the calculation efficiency. It is especially suitable for the case where the value of P is small, and can take into account the advantages of a small device volume and a fast calculation rate.

[0019] Further, in the solution of the embodiment of the present application, the first optical signal is split by a beam splitting module to obtain P paths of first optical signals, and then the element values of P columns in the second matrix are loaded onto the P paths of first optical signals at the same moment through P first wavelength demultiplexers and P second modulation modules. Finally, the respective element values in the third matrix are obtained by solving based on the M×P paths of third optical signals through P solution modules. This solution can obtain the third matrix in only 1 moment, maximizing the photon matrix multiplication calculation speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a schematic structural diagram of the first photon computing device in the embodiment of the present application;

[0021] Figure 2 It is a schematic structural diagram of the upload-download type MRR in the embodiments of the present application;

[0022] Figure 3 is Figure 1 a schematic structural diagram of an optical signal transmission module 151 in

[0023] Figure 4 a schematic structural diagram of the second photon computing device in the embodiments of the present application;

[0024] Figure 5 a schematic structural diagram of the third photon computing device in the embodiments of the present application. Detailed implementation manners

[0025] As described in the background art, one of the technical objectives of the embodiments of the present application is to improve the parallelism of photon matrix calculation, thereby improving the efficiency of photon matrix calculation.

[0026] In view of this, the embodiments of the present application provide a photon computing device based on wavelength division multiplexing, including: a first modulation module, configured to modulate an input optical signal to output a first optical signal, the first optical signal including optical signals of N×M wavelengths, where the optical signal of the kth wavelength carries the element value of the th row and the th column in the first matrix, the first matrix being an N-row and M-column matrix, both N and M being positive integers greater than 1, k being a positive integer, 1≤k≤N×M, represents the quotient operation, represents the remainder operation; a first wavelength division demultiplexer, having an input end and M output ends, the input end being coupled to the output end of the first modulation module, the mth output end outputting the mth second optical signal, the mth second optical signal including optical signals of N wavelengths, the optical signal of the nth wavelength in the mth second optical signal carrying the element value of the nth row and the mth column in the first matrix, n and m being positive integers, 1≤n≤N, 1≤m≤M; a second modulation module, including M first modulators, the input end of the mth first modulator being coupled to the mth output end, the output end of the mth first modulator outputting the mth third optical signal, the mth third optical signal including optical signals of N wavelengths, the optical signal of the nth wavelength in the mth third optical signal carrying the product of the element value of the nth row and the mth column in the first matrix and the element value of the mth row and the pth column in the second matrix, the second matrix being an M-row and P-column matrix, p and P being positive integers, 1≤p≤P; a solving module, configured to obtain N element values of the pth column in the third matrix based on the M third optical signals, the third matrix being the product of the first matrix and the second matrix.

[0027] In the above solution, based on wavelength multiplexing, the N×M element values of the first matrix are respectively loaded onto the multi-wavelength input optical signals, so that the first optical signal carries the N×M element values of the first matrix. Further, the first optical signal is grouped into M paths of second optical signals by the first wavelength demultiplexer, so that the m-th path of the second optical signal carries the N element values of the m-th column in the first matrix. Further, the element values in the second matrix are respectively loaded onto the M paths of second optical signals by M first modulators to obtain M paths of third optical signals, where the m-th path of the third optical signal carries the product of the N element values of the m-th column in the first matrix and the element values of the m-th row and p-th column in the second matrix. Thus, the photon computing device provided in this application can complete N×M multiplication operations at one moment, which can improve the parallelism of photon matrix calculation, thereby improving the efficiency of photon matrix calculation.

[0028] To make the above objects, features, and beneficial effects of the present invention more obvious and understandable, the following describes the specific embodiments of the present invention in detail with reference to the accompanying drawings.

[0029] It should be noted that the photon computing device provided in the embodiments of this application can be used to implement the multiplication of the first matrix and the second matrix. In this article, the first matrix is a matrix with N rows and M columns, the second matrix is a matrix with M rows and P columns, N is a positive integer greater than 1, M is a positive integer greater than 1, and P is a positive integer. In practical applications, the element values in the first matrix and the second matrix in the embodiments of this application can both change rapidly. The solution provided in the embodiments of this application can implement high-parallel multiplication calculations for two rapidly and dynamically changing matrices.

[0030] This embodiment mainly takes N = M = P = 4 as an example for illustrative description. In this embodiment, the first matrix can be expressed as , and the second matrix can be expressed as , and the third matrix C = A×B = = .

[0031] In specific implementation, the photon computing device provided in the embodiments of this application can be an optical chip.

[0032] Embodiment 1

[0033] In the solution of this embodiment, the first matrix can be a matrix with N rows and M columns, the second matrix can be a matrix with M rows and P columns, the third matrix is the product of the first matrix and the second matrix, and the third matrix is a matrix with N rows and P columns. Among them, the element value of the n-th row and m-th column in the first matrix is expressed as a nm , the element value of the m-th row and p-th column in the second matrix is expressed as b mp , and the element value of the n-th row and p-th column in the third matrix is expressed as , where .

[0034] Reference Figure 1 , Figure 1 is a schematic structural diagram of the first wavelength-division multiplexing-based photonic computing device (hereinafter referred to as the photonic computing device or the computing device) in an embodiment of the present application. As Figure 1 shown, the photonic computing device 1 may include: a light source 11, a first modulation module 12, a first wavelength division demultiplexer 13, a second modulation module 14, and a solution module 15.

[0035] Among them, the light source 11 can provide an input optical signal, and the input optical signal includes optical signals of N×M wavelengths. The input optical signal provided by the light source 11 is a continuous multi-wavelength light, and the input optical signal includes N×M single-wavelength signals. Exemplarily, the light source 11 may be a multi-wavelength laser. Among them, K = N×M. It should be noted that the N×M wavelengths are all different.

[0036] For ease of description, in this article, the N×M wavelengths are divided into M wavelength clusters, and each wavelength cluster includes N wavelengths. In one possible implementation, the N wavelengths in the same wavelength cluster belong to the same wavelength range. That is, the wavelengths in the same wavelength cluster are relatively close, and the wavelengths in different wavelength clusters differ greatly. Exemplarily, wavelength cluster 1 is 1510.8nm, 1511.6nm, 1512.4nm, 1513.2nm, wavelength cluster 2 is 1530.8nm, 1531.6nm, 1532.4nm, 1533.2nm, wavelength cluster 3 is 1550.8nm, 1551.6nm, 1552.4nm, 1553.2nm, and wavelength cluster 4 is 1570.8nm, 1571.6nm, 1572.4nm, 1573.2nm.

[0037] Furthermore, the input end of the first modulation module 12 is coupled to the light source 11 to receive the input optical signal. The first modulation module 12 is used to modulate the input optical signal. Through wavelength-division multiplexing, the N×M element values in the first matrix are respectively loaded onto the optical signals of N×M wavelengths, so that the first optical signal carries the N×M element values in the first matrix.

[0038] Among them, the wavelength of the optical signal in the first optical signal corresponds one-to-one with the element value in the first matrix. The optical signal of the kth wavelength carries the element value in the th row and the th column of the first matrix, represents the quotient operation, represents the remainder operation. k is a positive integer, and 1≤k≤N×M.

[0039] In a specific implementation, one wavelength cluster corresponds to one column in the first matrix, and the N wavelengths in one wavelength cluster correspond one-to-one with the N elements in a certain column of the first matrix.

[0040] Specifically, the first modulation module 12 modulates the optical signal of the n-th wavelength in the m-th wavelength cluster based on the element values of the n-th row and the m-th row in the first matrix, so as to obtain the optical signal of the n-th wavelength in the m-th wavelength cluster in the first optical signal. Both n and m are positive integers, 1 ≤ n ≤ N, and 1 ≤ m ≤ M. In this article, represents the n-th wavelength in the m-th wavelength cluster.

[0041] In a specific implementation, the first modulation module 13 modulates the optical intensity of the received optical signal. Compared with the scheme of loading matrix information through phase modulation, the method of intensity modulation has higher anti-interference performance, which is beneficial to ensuring the stability and accuracy of the calculation results. The modulator in the first modulation module 13 in this embodiment can be a wavelength-selective modulator.

[0042] In a possible implementation manner, the first modulation module 12 may include N × M cascaded microring modulators, where the resonance wavelengths of the N × M cascaded microring modulators are different from each other. Among them, the N × M cascaded microring modulators can be respectively used to modulate the optical signal of the k-th wavelength to load the element values in the first matrix.

[0043] Furthermore, the first wavelength division multiplexer 13 has 1 input end and M output ends. Among them, the input end of the first wavelength division multiplexer 13 is coupled to the output end of the first modulation module 12. The first wavelength division multiplexer 13 demultiplexes the first optical signal to obtain M paths of second optical signals. The m-th output end of the first wavelength division multiplexer 13 outputs the m-th path of second optical signal.

[0044] Among them, each path of second optical signal includes optical signals of N wavelengths, and the optical signals of N wavelengths respectively carry N element values in the same column of the first matrix. That is, the m-th path of second optical signal carries N element values in the m-th column of the first matrix. Among them, the optical signal of the n-th wavelength in the m-th path of second optical signal carries the element value of the n-th row and the m-th column in the first matrix. That is, the first wavelength division multiplexer 13 performs wavelength division demultiplexing on the first optical signal to obtain M paths of second optical signals. Among them, the m-th path of second optical signal is the optical signal of the m-th wavelength cluster in the first optical signal.

[0045] As Figure 1 shown, the first path of second optical signal carries 4 element values in the first column of the first matrix. Among them, the optical signal with the wavelength of carries a 11 , the optical signal with the wavelength of carries a 21 , the optical signal with the wavelength of carries a 31 , and the optical signal with the wavelength of carries a 41. The second optical signal of the second path carries the 4 element values in the second column of the first matrix. Among them, the optical signal with a wavelength of carries a 12 , the optical signal with a wavelength of carries a 22 , the optical signal with a wavelength of carries a 32 , the optical signal with a wavelength of carries a 42 . The second optical signal of the third path carries the 4 element values in the third column of the first matrix. Among them, the optical signal with a wavelength of carries a 13 , the optical signal with a wavelength of carries a 23 , the optical signal with a wavelength of carries a 33 , the optical signal with a wavelength of carries a 43 . The second optical signal of the fourth path carries the 4 element values in the fourth column of the first matrix. Among them, the optical signal with a wavelength of carries a 14 , the optical signal with a wavelength of carries a 24 , the optical signal with a wavelength of carries a 34 , the optical signal with a wavelength of carries a 44 .

[0046] Furthermore, the second modulation module 14 includes M first modulators 141. Among them, the input end of the m-th first modulator 141 is coupled to the m-th output end of the first wavelength division multiplexing module 13 to receive the second optical signal of the m-th path.

[0047] Among them, the M first modulators 141 modulate the M second optical signals based on the M element values in the same column of the second matrix at the same moment to obtain M third optical signals. Among them, the m-th first modulator 141 modulates the second optical signal of the m-th path based on the element value b mp in the m-th row and p-th column of the second matrix, and outputs the third optical signal of the m-th path.

[0048] Since each second optical signal includes optical signals of N wavelengths, each third optical signal also includes optical signals of N wavelengths. Among them, the optical signal of the n-th wavelength in the m-th third optical signal carries the product of the element value in the n-th row and m-th column of the first matrix and the element value in the m-th row and p-th column of the second matrix. In other words, the m-th third optical signal is the third optical signal of the m-th wavelength cluster. Among them, the third optical signal of the m-th wavelength cluster carries the product of the N element values in the m-th column of the first matrix and the element value in the m-th row and p-th column of the second matrix.

[0049] In the solution of this embodiment, the first modulator 141 can be a wavelength-independent modulator. That is, each first modulator 141 performs the same modulation on all wavelengths. Exemplarily, the first modulator 141 is any one of an electro-optic modulator, an acousto-optic modulator, a magneto-optic modulator, and a phase change material optical modulator.

[0050] Exemplarily, the m-th first modulator 141 modulates the optical intensity of the m-th second optical signal to obtain the m-th third optical signal. Compared with the solution of loading matrix information through phase modulation, the method of intensity modulation has higher anti-interference performance, which is beneficial to ensuring the stability and accuracy of the calculation results.

[0051] As Figure 1 shown, the first second optical signal carries the product of the 4 element values in the first column of the first matrix and the element value in the p-th column of the first row of the second matrix. Among them, the optical signal with a wavelength of carries a 11 ×b 1p , the optical signal with a wavelength of carries a 21 ×b 1p , the optical signal with a wavelength of carries a 31 ×b 1p , the optical signal with a wavelength of carries a 41 ×b 1p . The second second optical signal carries the product of the 4 element values in the second column of the first matrix and the element value in the p-th column of the first row of the second matrix. Among them, the optical signal with a wavelength of carries a 12 ×b 2p , the optical signal with a wavelength of carries a 22 ×b 2p , the optical signal with a wavelength of carries a 32 ×b 2p , the optical signal with a wavelength of carries a 42 ×b 2p . The third second optical signal carries the product of the 4 element values in the third column of the first matrix and the element value in the p-th column of the first row of the second matrix. Among them, the optical signal with a wavelength of carries a 13 ×b 3p , the optical signal with a wavelength of carries a 23 ×b 3p , the optical signal with a wavelength of carries a 33 ×b 3p, the optical signal with a wavelength of carries a 43 ×b 3p . The fourth second optical signal carries the product of the four element values in the 4th column of the first matrix and the element value in the 1st row and pth column of the second matrix. Among them, the optical signal with a wavelength of carries a 14 ×b 4p , the optical signal with a wavelength of carries a 24 ×b 4p , the optical signal with a wavelength of carries a 34 ×b 4p , the optical signal with a wavelength of carries a 44 ×b 4p .

[0052] Furthermore, the solving module 15 has M input terminals. The mth input terminal of the solving module 15 is coupled to the output terminal of the mth first modulator 141 to receive the mth third optical signal.

[0053] The solving module 15 can solve and obtain the N element values in the pth column of the third matrix based on the M third optical signals.

[0054] As Figure 1 shown, in a possible implementation manner, the solving module 15 may include an optical signal transmission module 151 and N photodetectors 152.

[0055] The optical signal transmission module 151 has M input terminals and N output terminals. The mth input terminal of the optical signal transmission module 14 is coupled to the output terminal of the mth first modulator 141 to receive the mth third optical signal. The M third optical signals are transmitted in the optical signal transmission module 151 and output from the N output terminals to obtain N fourth optical signals. Among them, the optical signal output from the nth output terminal among the N output terminals of the optical signal transmission module 151 is denoted as the nth fourth optical signal.

[0056] In the solution of this embodiment, the M input terminals and N output terminals of the optical signal transmission module 151 are in a fully connected state. Specifically, each input terminal is connected to the N output terminals. In other words, each output terminal is connected to the M input terminals.

[0057] Furthermore, for the mth third optical signal received by the mth input terminal of the optical signal transmission module 151, the mth third optical signal includes optical signals with N wavelengths. The optical signals with N wavelengths in the mth third optical signal are respectively transmitted to the N output terminals. Among them, the optical signal with the nth wavelength in the mth third optical signal (that is, the third optical signal with the nth wavelength in the mth wavelength cluster) is transmitted to the nth output terminal.

[0058] Since the optical signal of the n-th wavelength in the m-th third optical signal carries the product of the element value in the n-th row and m-th column of the first matrix and the element value in the m-th row and p-th column of the second matrix, the third optical signal carrying the product of the element value in the n-th row and m-th column of the first matrix and the element value in the m-th row and p-th column of the second matrix is routed to the n-th output terminal of the optical signal transmission module 151.

[0059] Thus, the n-th fourth optical signal carries M third optical signals of different wavelengths, and the M third optical signals of different wavelengths respectively come from M input terminals. Among them, the optical signal of the m-th wavelength in the n-th fourth optical signal carries the product of the element value in the n-th row and m-th column of the first matrix and the element value in the m-th row and p-th column of the second matrix. Thus, the n-th fourth optical signal carries the product of the M element values in the n-th row of the first matrix and the M element values in the p-th column of the second matrix. Since , the n-th fourth optical signal carries the element value in the n-th row and p-th column of the third matrix. Thus, the N fourth optical signals carry the N element values in the p-th column of the third matrix.

[0060] Furthermore, the solving module 15 further includes N photodetectors 152. The photodetector 152 has an optical signal input terminal and an electrical signal output terminal. The photodetector can convert the optical signal input from the optical signal input terminal into an electrical signal and output it to an external circuit through the electrical signal output terminal. The external circuit processes the electrical signal and can obtain the information carried by the optical signal.

[0061] Specifically, the n-th output terminal of the optical signal transmission module 151 is coupled to the optical signal input terminal of the n-th photodetector 152. The n-th photodetector 152 converts the n-th fourth optical signal into an electrical signal and outputs the n-th electrical signal to an external circuit. The external circuit processes the n-th electrical signal and can obtain the element value in the n-th row and p-th column of the third matrix carried by the n-th fourth optical signal.

[0062] Exemplarily, the photodetector in the embodiment of the present application may be a high-speed photodetector, for example, an avalanche photodiode, a quantum well photodetector, a PIN photodiode, etc.

[0063] Thus, the N photodetectors 12 detect the N fourth optical signals to obtain the N element values in the p-th column of the third matrix.

[0064] As Figure 1 shown, the first fourth optical signal includes optical signals with wavelengths of , , , . Among them, the optical signal with the wavelength of carries a11 ×b 1p , the optical signal with a wavelength of carries a 12 ×b 2p , the optical signal with a wavelength of carries a 13 ×b 3p , the optical signal with a wavelength of carries a 14 ×b 4p . The first photodetector detects the first fourth optical signal, and c can be obtained 1p . The second fourth optical signal contains optical signals with wavelengths of , , , . The optical signal with a wavelength of carries a 21 ×b 1p , the optical signal with a wavelength of carries a 22 ×b 2p , the optical signal with a wavelength of carries a 23 ×b 3p , the optical signal with a wavelength of carries a 24 ×b 4p . The second photodetector detects the second fourth optical signal, and c can be obtained 2p . The third fourth optical signal contains optical signals with wavelengths of , , , . The optical signal with a wavelength of carries a 31 ×b 1p , the optical signal with a wavelength of carries a 32 ×b 2p , the optical signal with a wavelength of carries a 33 ×b 3p , the optical signal with a wavelength of carries a 34 ×b 4p . The third photodetector detects the third fourth optical signal, and c can be obtained 3p . The fourth fourth optical signal contains optical signals with wavelengths of , , , . The optical signal with a wavelength of carries a 41 ×b 1p , the optical signal with a wavelength of The optical signal carries a 42 ×b 2p , with a wavelength of The optical signal carries a 43 ×b 3p , with a wavelength of The optical signal carries a 44 ×b 4p , and the 4th photodetector detects the 4th fourth optical signal of the 4th path, and then c can be obtained 4p .

[0065] When P is greater than 1, the mth first modulator is used to modulate the mth second optical signal based on the element value of the mth row and pth column in the second matrix at the pth moment to obtain the mth third optical signal at the pth moment; the solving module is used to obtain the N element values of the pth column in the third matrix based on the mth third optical signal at the pth moment.

[0066] Time division multiplexing is performed on the second modulator and the solving module, and the pth moment corresponds to the elements of the pth column of the second matrix and the third matrix.

[0067] Adopting such a scheme is beneficial to reducing the number of devices, especially applicable to the case where the P value is small, the device volume is small, and the calculation rate is fast.

[0068] As described above, in the solution of Embodiment 1, based on wavelength multiplexing, the N×M of the first matrix are modulated on multi-wavelength signals, and then grouped into M second optical signals through the first wavelength demultiplexer. The M first modulators are used to load the M element values of the same column in the second matrix on the M second optical signals respectively. Thus, N×M dot product operations can be completed at one moment, greatly improving the parallelism of the two matrix multiplications.

[0069] In a transformation example, the first modulation module can load the M×P element values in the second matrix at N moments, and the second modulator module can load the M element values of the nth row in the first matrix at the nth moment among the N moments. Thus, the photon computing device can complete M×P multiplication operations at one moment and obtain the P element values of the nth row in the third matrix. Further, through the calculations at N moments, all the element values in the third matrix can be obtained.

[0070] For more content about the photon computing device in Embodiment 1, reference can be made to the descriptions in other embodiments of this article, which will not be elaborated here.

[0071] Embodiment 2

[0072] This embodiment provides a specific implementation manner of an optical signal transmission module.

[0073] In the solution of this embodiment, the optical signal transmission module may include M×N upload-download type micro ring resonators (MRRs). Refer to Figure 2 , Figure 2 which is a schematic structural diagram of the upload-download type MRR in the embodiment of the present application.

[0074] As Figure 2 shown, the upload-download type MRR includes a first straight waveguide 21, a second straight waveguide 22, and a ring waveguide 23. The ports of the two straight waveguides serve as the ports of the upload-download type MRR. Specifically, each upload-download type MRR has an input end (in) 211, a through end (through) 212, a drop end (drop) 221, and an add end (add) 222. Among them, the two ends of the first straight waveguide 21 are the input end 211 and the through end 212 respectively, and the two ends of the second straight waveguide 22 are the drop end 221 and the add end 222 respectively.

[0075] The upload-download type MRR has wavelength selectivity and can extract the light with the wavelength in the resonant state. The light with the resonant state wavelength in the optical signal input from the input end 211 is transmitted through the ring waveguide 23 to the second straight waveguide 22 and output from the drop end 221. The light with the non-resonant state wavelength in the optical signal input from the input end 211 is transmitted along the first straight waveguide 22 and output from the through end 212. The light with the resonant state wavelength in the optical signal input from the add end 222 is transmitted through the ring waveguide 23 to the first straight waveguide 21 and output from the through end 212. The light with the non-resonant state wavelength in the optical signal input from the add end 222 is transmitted along the second straight waveguide 22 and output from the drop end 221.

[0076] Assume Figure 2 the resonant state wavelength of the MRR shown is λi. The optical signal input from the input end 211 includes an optical signal with a wavelength of λi and an optical signal with a wavelength of λj. Among them, the optical signal with a wavelength of λi is coupled into the ring waveguide 23 and further coupled into the second straight waveguide 23, and then output from the drop end 221. The optical signal with a wavelength of λj is transmitted in the first straight waveguide 21 and output from the through end 212. The optical signal input from the add end 222 includes an optical signal with a wavelength of λi and an optical signal with a wavelength of λk. The optical signal with a wavelength of λi is coupled into the ring waveguide 23 and further coupled into the first straight waveguide 21, and then output from the through end 212. The optical signal with a wavelength of λk is transmitted along the second straight waveguide 22 and output from the drop end 221.

[0077] Refer to Figure 3 , Figure 3 which is Figure 1 a schematic structural diagram of an optical signal transmission module 151 in

[0078] The optical signal transmission module 151 in this embodiment includes M MRR groups 1510. Among them, each MMR group 1510 includes N MRRs 20. Among them, the MRRs 20 in the optical signal transmission module 151 are all upload-download type MRRs. In the solution of the embodiment of the present application, the resonant wavelengths of the N×M MRRs 20 in the optical signal transmission module 151 are all different.

[0079] In this embodiment, the input end of the first MRR 20 in each MRR group 1510 is coupled to the output end of the first modulator 141 to receive the third optical signal. The through end of the j-th MRR 20 in each MRR group 1510 is coupled to the input end of the (j + 1)-th MRR 20. The through end of the N-th MRR 20 can be in a vacant state, that is, not coupled to other devices. j is a positive integer, and 1≤j≤N - 1.

[0080] Among them, the N MRRs 20 in the same MRR group 1510 are respectively used to extract the optical signals of N wavelengths in the same path of the third optical signal, and different MRRs 20 are used to extract the optical signals of different wavelengths in the same wavelength cluster. Specifically, the input end of the first MRR 20 in the m-th MRR group 1510 is coupled to the output end of the m-th first modulator 141 to receive the m-th path of the third optical signal. Further, the N MRRs 20 in the m-th MRR group 1510 respectively extract the optical signals of N wavelengths in the m-th path of the third optical signal.

[0081] In addition, the download end of the MRR 20 in the first MRR group 1510 is coupled to the upload end of the MRR 20 in the second MRR group 1510. Specifically, the download end of the n-th MRR 20 in the q-th MRR group 1510 is coupled to the upload end of the n-th MRR 20 in the (q + 1)-th MRR group 1510. The download ends of the N MRRs 20 in the M-th MRR group 1510 are the N output ends of the optical signal transmission module 151. Or rather, the download ends of the N MRRs 20 in the M-th MRR group 1510 are respectively coupled to the N output ends of the optical signal transmission module 151. In other words, the download end of the n-th MRR 20 in the M-th MRR group 1510 is coupled to the n-th photodetector 152. Among them, both q and n are positive integers, 1≤q≤M - 1, and 1≤n≤N. Among them, the upload end of the MRR20 in the first MRR group is in a vacant state, that is, not coupled to other devices.

[0082] As Figure 1As shown, the input end of the first MRR 20 in the first MRR group 1510 is coupled to the output end of the first first modulator 141 to obtain the first third optical signal. The resonant state wavelength of the first MRR 20 in the first MRR group 1510 is λ11, the resonant state wavelength of the second MRR 20 is λ12, the resonant state wavelength of the third MRR 20 is λ13, and the resonant state wavelength of the fourth MRR 20 is λ14.

[0083] Thus, the optical signal with wavelength λ11 in the first third optical signal is transmitted from the download end to the upload end of the first MRR 20 in the second MRR group 1510, and the optical signals with wavelengths λ12, λ13, and λ14 in the first third optical signal are transmitted from the through end to the input end of the second MRR 20 in the first MRR group 1510. Among them, the optical signal with wavelength λ12 in the first third optical signal is transmitted from the download end to the upload end of the second MRR 20 in the second MRR group 1510, and the optical signals with wavelengths λ13 and λ14 in the first third optical signal are transmitted from the through end to the input end of the third MRR 20 in the first MRR group 1510. Among them, the optical signal with wavelength λ13 in the first third optical signal is transmitted from the download end to the upload end of the third MRR 20 in the second MRR group 1510, and the optical signal with wavelength λ14 in the first third optical signal is transmitted from the through end to the input end of the fourth MRR 20 in the first MRR group 1510. Among them, the optical signal with wavelength λ14 in the first third optical signal is transmitted from the download end to the upload end of the fourth MRR 20 in the second MRR group 1510.

[0084] The input end of the first MRR 20 in the second MRR group 1510 is coupled to the output end of the second first modulator 141 to obtain the second third optical signal. The resonant state wavelength of the first MRR 20 in the second MRR group 1510 is λ21, the resonant state wavelength of the second MRR 20 is λ22, the resonant state wavelength of the third MRR 20 is λ23, and the resonant state wavelength of the fourth MRR 20 is λ24.

[0085] Thus, the optical signal with wavelength λ21 in the second third optical signal and the optical signal with wavelength λ11 in the first third optical signal input from the upload end are transmitted from the download end to the upload end of the first MRR 20 in the third MRR group 1510. The optical signals with wavelengths λ22, λ23, and λ24 in the second third optical signal are transmitted from the through end to the input end of the second MRR 20 in the second MRR group 1510. Among them, the optical signal with wavelength λ22 in the second third optical signal and the optical signal with wavelength λ12 in the first third optical signal input from the upload end are transmitted from the download end to the upload end of the second MRR 20 in the third MRR group 1510. The optical signals with wavelengths λ23 and λ24 in the second third optical signal are transmitted from the through end to the input end of the third MRR 20 in the second MRR group 1510. Among them, the optical signal with wavelength λ23 in the first third optical signal and the optical signal with wavelength λ13 in the first third optical signal input from the upload end are transmitted from the download end to the upload end of the third MRR 20 in the third MRR group 1510. The optical signal with wavelength λ24 in the second third optical signal is transmitted from the through end to the input end of the fourth MRR 20 in the second MRR group 1510. Among them, the optical signal with wavelength λ24 in the second third optical signal and the optical signal with wavelength λ14 in the first third optical signal input from the upload end are transmitted from the download end to the upload end of the fourth MRR 20 in the third MRR group 1510.

[0086] The input end of the first MRR 20 in the third MRR group 1510 is coupled to the output end of the third first modulator 141 to obtain the third third optical signal. The resonant state wavelength of the first MRR 20 in the third MRR group 1510 is λ31, the resonant state wavelength of the second MRR 20 is λ32, the resonant state wavelength of the third MRR 20 is λ33, and the resonant state wavelength of the fourth MRR 20 is λ34.

[0087] Accordingly, the optical signal with wavelength λ31 in the third optical signal of the third path, the optical signal with wavelength λ11 in the third optical signal of the first path input from the upload end, and the optical signal with wavelength λ21 in the third optical signal of the second path are transmitted from the download end to the upload end of the first MRR 20 in the fourth MRR group 1510. The optical signals with wavelengths λ32, λ33, and λ34 in the third optical signal of the third path are transmitted from the through end to the input end of the second MRR 20 in the third MRR group 1510. Among them, the optical signal with wavelength λ32 in the third optical signal of the third path, the optical signals with wavelengths λ12 in the third optical signal of the first path input from the upload end and λ22 in the third optical signal of the second path are transmitted from the download end to the upload end of the second MRR 20 in the fourth MRR group 1510. The optical signals with wavelengths λ33 and λ34 in the third optical signal of the third path are transmitted from the through end to the input end of the third MRR 20 in the third MRR group 1510. Among them, the optical signal with wavelength λ33 in the third optical signal of the third path, the optical signal with wavelength λ13 in the third optical signal of the first path input from the upload end, and the optical signal with wavelength λ23 in the third optical signal of the second path are transmitted from the download end to the upload end of the third MRR 20 in the fourth MRR group 1510. The optical signal with wavelength λ34 in the third optical signal of the third path is transmitted from the through end to the input end of the fourth MRR 20 in the fourth MRR group 1510. Among them, the optical signal with wavelength λ34 in the third optical signal of the third path, the optical signal with wavelength λ14 in the third optical signal of the first path input from the upload end, and the optical signal with wavelength λ24 in the third optical signal of the second path are transmitted from the download end to the upload end of the fourth MRR 20 in the fourth MRR group 1510.

[0088] The input end of the first MRR 20 in the fourth MRR group 1510 is coupled to the output end of the fourth first modulator 141 to obtain the fourth third optical signal. The resonant state wavelength of the first MRR 20 in the fourth MRR group 1510 is λ41, the resonant state wavelength of the second MRR 20 is λ42, the resonant state wavelength of the third MRR 20 is λ43, and the resonant state wavelength of the fourth MRR 20 is λ44.

[0089] Accordingly, the optical signal with wavelength λ41 in the fourth third optical signal, the optical signal with wavelength λ11 in the first third optical signal input from the upload end, the optical signal with wavelength λ21 in the second third optical signal, and the optical signal with wavelength λ31 in the third third optical signal are transmitted from the download end to the input end of the first photodetector 152. The optical signals with wavelengths λ42, λ43, and λ44 in the fourth third optical signal are transmitted from the through end to the input end of the second MRR 20 in the fourth MRR group 1510. Among them, the optical signal with wavelength λ42 in the fourth third optical signal, the optical signals with wavelengths λ12 in the first third optical signal input from the upload end, λ22 in the second third optical signal, and λ23 in the third third optical signal are transmitted from the download end to the input end of the second photodetector 152. The optical signals with wavelengths λ43 and λ44 in the fourth third optical signal are transmitted from the through end to the input end of the third MRR 20 in the fourth MRR group 1510. Among them, the optical signal with wavelength λ43 in the fourth third optical signal, the optical signal with wavelength λ13 in the first third optical signal input from the upload end, the optical signal with wavelength λ23 in the second third optical signal, and the optical signal with wavelength λ33 in the third third optical signal are transmitted from the download end to the input end of the third photodetector 152. The optical signal with wavelength λ44 in the fourth third optical signal is transmitted from the through end to the input end of the fourth MRR 20 in the fourth MRR group 1510. Among them, the optical signal with wavelength λ44 in the fourth third optical signal, the optical signal with wavelength λ14 in the first third optical signal input from the upload end, the optical signal with wavelength λ24 in the second third optical signal, and the optical signal with wavelength λ34 in the third third optical signal are transmitted from the download end to the input end of the fourth photodetector 152.

[0090] As described above, the optical signal transmission module provided in this embodiment can route the optical signals with N×M wavelengths in the M third optical signals to N output ends respectively, so that the optical signals carrying multiple values for calculating the same element value in the third matrix are combined into one fourth optical signal, so that the element value in the third matrix can be obtained by detecting the fourth optical signal through the photodetector.

[0091] For more content about the computing device in the second embodiment, reference can be made to the descriptions in other embodiments of this article, which will not be elaborated here.

[0092] Embodiment 3

[0093] In the solution of this embodiment, the first matrix can be an N×M matrix, the second matrix can be an M×P matrix, the third matrix is the product of the first matrix and the second matrix, and the third matrix is an N×P matrix. Among them, M, N, and P are all positive integers greater than 1.

[0094] In the solution of this embodiment, the photonic computing device may further include a beam splitting module. The following mainly specifically describes the differences between Embodiment 3 and Embodiment 1.

[0095] Referring to Figure 4 , Figure 4 which is a schematic structural diagram of another computing device in an embodiment of the present application. As Figure 4 shown, the computing device 4 may include: a light source 11, a first modulation module 12, a beam splitting module 16, a first wavelength division multiplexer 13, a second modulation module 14, and a solution module 15.

[0096] Among them, the beam splitting module 16 has an input end and P output ends. Among them, the input end of the beam splitting module 16 is coupled to the output end of the first modulation module 12 to receive the first optical signal. The beam splitting module 16 is used to split the first optical signal to obtain P paths of first optical signals. It should be noted that each path of the first optical signal contains optical signals of N×M wavelengths, and the optical signals of N×M wavelengths respectively carry the N×M element values in the first matrix. For the specific content of the first optical signal, reference can be made to the relevant description in Embodiment 1 above.

[0097] Furthermore, in the solution of this embodiment, the number of the first wavelength division multiplexers 13, the second modulation modules 14, and the solution modules 16 is all P.

[0098] Among them, the p-th output end of the beam splitting module 16 is coupled to the input end of the p-th first wavelength division multiplexer 13. That is, the input end of the p-th first wavelength division multiplexer 13 is coupled to the output end of the first modulation module 12 via the p-th output end of the beam splitting module 16. Thus, the p-th first wavelength division multiplexer 13 performs wavelength division multiplexing on the p-th path of the first optical signal to obtain M paths of second optical signals.

[0099] It should be noted that the M paths of second optical signals output by the P first wavelength division multiplexers 13 are all the same. For the specific content of the first wavelength division multiplexer 13 and the M paths of second optical signals, reference can be made to the relevant description in Embodiment 1 above.

[0100] Furthermore, the output end of the p-th first wavelength division multiplexer 13 is coupled to the input end of the p-th second modulation module 14, and the output end of the p-th second modulation module 14 is coupled to the input end of the p-th solution module 15. Among them, the p-th second modulation module is used to modulate the M paths of second optical signals output by the p-th first wavelength division multiplexer 13 based on the element values in the p-th column of the second matrix.

[0101] Specifically, the m-th first modulator 141 in the p-th second modulation module 14 modulates the m-th second optical signal output by the p-th first optical decomposition multiplexer 13 based on the element value at the m-th row and p-th column in the second matrix. Thus, the third optical signal output by the m-th first modulator 141 in the p-th second modulation module 14 carries the product of the N element values in the m-th column of the first matrix and the element value at the m-th row and p-th column in the second matrix.

[0102] Further, the output end of the p-th second modulation module 14 is coupled to the input end of the p-th solving module 15. The p-th solving module 15 is configured to obtain the N element values in the p-th column of the third matrix based on the M third optical signals output by the p-th second modulation module.

[0103] More specifically, each solving module 15 includes an optical signal transmission module 151 and N photodetectors 152. The output end of the m-th first modulator 141 in the p-th second modulation module 14 is coupled to the m-th input end of the p-th optical signal transmission module 151. The fourth optical signal output by the n-th output end of the p-th optical signal transmission module 151 carries the element value at the n-th row and p-th column in the third matrix. The n-th output end of the p-th optical signal transmission module 151 is coupled to the input end of the photodetector 152. Thus, the photodetector 152 can determine the element value at the n-th row and p-th column in the third matrix based on the fourth optical signal output by the n-th output end of the p-th optical signal transmission module 151. Thus, based on the N fourth optical signals respectively output by the P optical signal transmission modules 151, the third matrix can be obtained.

[0104] Regarding the relevant content of the p-th first optical decomposition multiplexer 13, the p-th second modulation module 14 and the p-th solving module 16, reference can be made to the relevant description in Embodiment 1 above.

[0105] As a variant, the computing device 3 may include one first optical decomposition multiplexer 13, M 1×P beam splitters, P second modulation modules 14 and P solving modules 15. The input end of the first optical decomposition multiplexer 13 is coupled to the output end of the first modulation module 12. The m-th output end of the first optical decomposition multiplexer 13 is coupled to the input end of the m-th 1×P beam splitter. The m-th 1×P beam splitter splits the m-th second optical signal. Further, the p-th output end of the m-th 1×P beam splitter is coupled to the input end of the p-th second modulation module 15. More specifically, the p-th output end of the m-th 1×P beam splitter is coupled to the input end of the m-th first modulator 141 in the p-th second modulation module 15.

[0106] As described above, in the solution of this embodiment, based on the beam splitting module, the first optical signal is split into P first optical signals, and each first optical signal carries all the element values in the first matrix. P second modulation modules are set to load the element values of P columns in the second matrix at the same time, and finally the element values of P columns in the third matrix are obtained through P solving modules. Compared with the time-division multiplexing solution, the solution of this embodiment only needs 1 moment to obtain each element value in the third matrix, especially suitable for the case where the value of P is large, which is beneficial to maximizing the calculation speed of the photon matrix multiplication.

[0107] For more content about the photon computing device in Embodiment 3, reference can be made to the descriptions in Embodiments 1 to 2 above, and details will not be repeated here.

[0108] Embodiment 4

[0109] In the solution of this embodiment, the photon computing device may further include a second wavelength division multiplexer.

[0110] The following mainly specifically describes the differences between Embodiment 4 and Embodiment 3.

[0111] Refer to Figure 5 , Figure 5 is a schematic structural diagram of the third computing device in the embodiments of the present application. As Figure 5 shown, the computing device 5 may include: a light source 11, a second wavelength division multiplexer 17, M modulator groups 121, a beam splitting module 16, a first wavelength division multiplexer 13, a second modulation module 14, and a solving module 15.

[0112] Specifically, the second wavelength division multiplexer 17 has 1 input end and M output ends. Among them, the input end of the second wavelength division multiplexer 17 is coupled to the light source 11, and the second wavelength division multiplexer 17 is used to perform wavelength division multiplexing on the input optical signal output by the light source 11 to obtain M input optical signals.

[0113] The second wavelength division multiplexer 17 has M output ends, and the m-th output end of the second wavelength division multiplexer 17 is coupled to the input end of the m-th modulator group 121. The optical signal output by the m-th output end of the second wavelength division multiplexer 17 is denoted as the m-th input optical signal.

[0114] Further, each modulator group includes N cascaded microring modulators. Among them, the input end of the first microring modulator in the m-th modulator group is coupled to the m-th output end of the second wavelength division multiplexer 17. The output end of the o-th microring modulator is coupled to the input end of the (o + 1)-th microring modulator. The output end of the N-th microring modulator in the m-th modulator group is coupled to the m-th input end of the beam splitting module 16. Wherein, o is a positive integer, and 1 ≤ o ≤ N - 1. Among them, the resonant wavelengths of the microring modulators in the M microring modulator groups are different from each other. The resonant wavelength of the n-th microring modulator in the m-th modulator group can be the n-th wavelength in the m-th wavelength cluster. The n-th microring modulator in the m-th modulator group is used to load the element value in the n-th row and m-th column of the first matrix on the optical signal of the n-th wavelength in the m-th wavelength cluster.

[0115] Further, the beam splitting module 16 can split the first optical signal obtained from the M modulator groups and output it.

[0116] For more content about the computing device in Embodiment 4, reference can be made to the descriptions in Embodiments 1 to 3 above, which will not be elaborated here.

[0117] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship.

[0118] In the embodiments of this application, "a plurality of" refers to two or more.

[0119] In the embodiments of this application, the descriptions such as the first and the second are only for schematic and distinguishing the described objects, without an order, nor do they represent a special limitation on the number of devices in the embodiments of this application, and cannot constitute any limitation to the embodiments of this application.

[0120] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims.

Claims

1. A photonic computing device based on wavelength division multiplexing, characterized in that: include: The first modulation module is used to modulate the input optical signal to output a first optical signal, wherein the first optical signal includes optical signals of N×M wavelengths, wherein the optical signal of the kth wavelength carries the first optical signal in the first matrix. Line The first matrix is ​​a matrix of N rows and M columns, N and M are both positive integers greater than 1, k is a positive integer, 1≤k≤N×M, represents the quotient operation, Represents remainder operation; A first wavelength division multiplexer having an input end and M output ends, wherein the input end is coupled to the output end of the first modulation module, and the mth output end outputs an mth second optical signal, wherein the mth second optical signal comprises optical signals of N wavelengths, and the optical signal of the nth wavelength in the mth second optical signal carries the element value of the nth row and the mth column in the first matrix, wherein n and m are both positive integers, 1≤n≤N, 1≤m≤M; A second modulation module includes M first modulators, an input end of the mth first modulator is coupled to the mth output end, the output end of the mth first modulator outputs an mth third optical signal, the mth third optical signal includes optical signals of N wavelengths, the optical signal of the nth wavelength in the mth third optical signal carries the product of the element value of the nth row and mth column in the first matrix and the element value of the mth row and pth column in the second matrix, the second matrix is ​​a matrix of M rows and P columns, p and P are positive integers, and 1≤p≤P; A solving module is used to obtain N element values ​​of a p-th column in a third matrix based on M third optical signals, where the third matrix is ​​the product of the first matrix and the second matrix.

2. The wavelength division multiplexing-based photonic computing device according to claim 1, characterized in that: The solution module includes: an optical signal transmission module, having M input ends and N output ends, wherein the m-th input end of the optical signal transmission module is coupled to the output end of the m-th first modulator, and the n-th output end of the optical signal transmission module outputs an n-th fourth optical signal, wherein the n-th fourth optical signal comprises optical signals of M wavelengths, and the optical signal of the m-th wavelength in the n-th fourth optical signal carries the product of the element value of the n-th row and the m-th column in the first matrix and the element value of the m-th row and the p-th column in the second matrix; N photodetectors, the input end of the nth photodetector is coupled to the nth output end of the optical signal transmission module, the output end of the nth photodetector outputs the nth electrical signal, and the nth electrical signal is used to determine the element value of the nth row and pth column in the third matrix.

3. The wavelength division multiplexing-based photonic computing device according to claim 2, characterized in that: The optical signal transmission module includes: M micro-ring resonator groups, each micro-ring resonator group includes N micro-ring resonators, each micro-ring resonator has an input end, a through end, a download end and an upload end, wherein: The input end of the first microring resonator in the mth microring resonator group is coupled to the output end of the mth first modulator, and the through end of the jth microring resonator in the mth microring resonator group is coupled to the input end of the j+1th microring resonator in the mth microring resonator group, where j is a positive integer, 1≤j≤N-1; The download end of the nth microring resonator in the qth microring resonator group is coupled to the upload end of the nth microring resonator in the q+1th microring resonator group, where q and n are both positive integers, 1≤q≤M-1; The download end of the nth microring resonator in the Mth microring resonator group is coupled to the input end of the nth photodetector.

4. The wavelength division multiplexing-based photonic computing device according to claim 1, characterized in that: P is greater than 1, and the m-th first modulator is used to modulate the m-th second optical signal based on the element value of the m-th row and the p-th column in the second matrix at the p-th moment to obtain the m-th third optical signal at the p-th moment; The solving module is used for obtaining N element values ​​of the p-th column in the third matrix based on the m-th third optical signal at the p-th moment.

5. The wavelength division multiplexing-based photon computing device according to claim 1, characterized in that: The first optical signal includes optical signals of M wavelength clusters, wherein each wavelength cluster includes N wavelengths.

6. The wavelength division multiplexing-based photon computing device according to claim 1, characterized in that: P is greater than 1, and also includes: A beam splitter module having an input end and P output ends, the input end of the beam splitter is coupled to the output end of the first modulation module, and the beam splitter module is used to split the first optical signal; The number of the first wavelet decomposition multiplexers, the second modulation modules and the solution modules are all P, the input end of the p-th first wavelet decomposition multiplexer is coupled to the output end of the first modulation module via the p-th output end of the beam splitting module, the output end of the p-th first wavelet decomposition multiplexer is coupled to the input end of the p-th second modulation module, and the output end of the p-th second modulation module is coupled to the input end of the p-th solution module; The p-th second modulation module is used to modulate the M second optical signals output by the p-th first wavelength division multiplexer based on the element value of the p-th column in the second matrix; The p-th solving module is used to obtain N element values ​​of the p-th column in the third matrix based on the M third optical signals output by the p-th second modulation module.

7. The wavelength division multiplexing-based photon computing device according to claim 6, characterized in that: Also includes: A second wavelength division multiplexer, wherein the second wavelength division multiplexer is used to perform wavelength division multiplexing on the input optical signal to obtain M input optical signals; The beam splitting module has M input terminals; The first modulation module includes M modulator groups, each modulator group includes N cascaded micro-ring modulators, wherein the input end of the first micro-ring modulator in the m-th modulator group is coupled to the m-th output end of the second wave splitter, and the output end of the N-th micro-ring modulator in the m-th modulator group is coupled to the m-th input end of the beam splitting module.

8. The wavelength division multiplexing-based photon computing device according to claim 1, characterized in that: Also includes: A light source is used to provide the input light signal.

9. The wavelength division multiplexing-based photonic computing device according to claim 1, characterized in that: The first modulation module is used to perform optical intensity modulation on the input optical signal, and / or the first modulator is used to perform optical intensity modulation on the second optical signal.

10. The wavelength division multiplexing-based photonic computing device according to claim 1, characterized in that: The photonic computing device is an optical chip.