Efficient parallel wide-spectrum photon computing system and computing method

文档序号:1478542 发布日期:2020-02-25 浏览:23次 中文

阅读说明:本技术 一种高效并行的宽频谱光子计算系统及计算方法 (Efficient parallel wide-spectrum photon computing system and computing method ) 是由 张在琛 王海卜 吴亮 党建 朱秉诚 于 2019-11-12 设计创作,主要内容包括:本发明公开了一种高效并行的宽频谱光子计算系统及计算方法。该方法为:光输入单元并行输入多个波段的光信号,不同波段光信号振幅正比于矩阵A行向量元素,并传送至宽频谱光振幅调制单元;宽频谱光振幅调制单元调整输入光信号振幅大小,对不同波段的光信号振幅乘上不同的系数,系数正比于矩阵B列向量元素,输出光信号传递至宽频谱光接收单元;宽频谱光接收单元将多波段光信号振幅叠加并量化输出。通过同步单元设置时钟控制光输入单元光信号振幅的变化周期、宽频谱光振幅调制单元的调制周期和宽频谱光接收单元的采样周期,使宽频谱光接收单元依次输出矩阵A、B相乘后的结果矩阵元素。该方法充分利用了光的宽频谱特性,是高效处理超大规模矩阵的方案之一。(The invention discloses an efficient parallel wide-spectrum photon computing system and a computing method. The method comprises the following steps: the optical input unit inputs optical signals of a plurality of wave bands in parallel, the amplitudes of the optical signals of different wave bands are in direct proportion to the row vector elements of the matrix A and are transmitted to the broadband spectrum optical amplitude modulation unit; the broadband spectrum light amplitude modulation unit adjusts the amplitude of the input light signal, multiplies the light signal amplitudes of different wave bands by different coefficients, the coefficients are in direct proportion to the column vector elements of the matrix B, and the output light signal is transmitted to the broadband spectrum light receiving unit; the broadband spectrum light receiving unit superposes and quantifies and outputs the multi-band light signal amplitude. The change period of the optical signal amplitude of the clock control optical input unit, the modulation period of the broadband spectrum optical amplitude modulation unit and the sampling period of the broadband spectrum optical receiving unit are set through the synchronization unit, so that the broadband spectrum optical receiving unit sequentially outputs the result matrix elements multiplied by the matrix A, B. The method fully utilizes the wide spectrum characteristic of light, and is one of the schemes for efficiently processing the ultra-large-scale matrix.)

1. An efficient parallel wide-spectrum photon computing system is characterized by comprising an optical input unit, a wide-spectrum optical amplitude modulation unit and a wide-spectrum optical receiving unit; the optical input unit is used for inputting optical signals of a plurality of wave bands in parallel, the amplitudes of the optical signals of different wave bands are in direct proportion to the row vector elements of the matrix A and are transmitted to the broadband spectrum optical amplitude modulation unit; the wide-frequency spectrum light amplitude modulation unit is used for adjusting the amplitude of an input light signal, multiplying the amplitudes of light signals of different wave bands by different coefficients, wherein the coefficients are in direct proportion to the column vector elements of the matrix B, and the output light signal is transmitted to the wide-frequency spectrum light receiving unit; the wide-band spectrum light receiving unit is used for superposing and quantitatively outputting the amplitudes of multi-band light signals.

2. The efficient parallel broad spectrum photonic computing system of claim 1, further comprising a synchronization unit configured to set a period of variation of the optical signal amplitude of the clocked optical input unit, a period of modulation of the broad spectrum optical amplitude modulation unit, and a period of sampling of the broad spectrum optical receiving unit, such that the broad spectrum optical receiving unit sequentially outputs matrix elements of the result multiplied by the matrix A, B.

3. A method for performing wide-spectrum photon computation by using the efficient parallel wide-spectrum photon computation system is characterized by comprising the following steps:

the optical input unit inputs optical signals of a plurality of wave bands in parallel, the amplitudes of the optical signals of different wave bands are in direct proportion to the row vector elements of the matrix A and are transmitted to the broadband spectrum optical amplitude modulation unit;

the broadband spectrum light amplitude modulation unit adjusts the amplitude of the input light signal, multiplies the light signal amplitudes of different wave bands by different coefficients, the coefficients are in direct proportion to the column vector elements of the matrix B, and the output light signal is transmitted to the broadband spectrum light receiving unit;

the broadband spectrum light receiving unit superposes and quantifies and outputs the multi-band light signal amplitude.

4. The method of claim 3, further comprising setting, by the synchronization unit, the variation period of the optical signal amplitude of the clocked optical input unit, the modulation period of the broad-spectrum optical amplitude modulation unit, and the sampling period of the broad-spectrum optical receiving unit, such that the broad-spectrum optical receiving unit sequentially outputs the matrix elements obtained by multiplying the matrix A, B.

Technical Field

The invention belongs to the technical field of photon calculation, relates to spatial light modulation and all-optical information processing, and particularly relates to an efficient parallel wide-spectrum photon calculation system and a calculation method.

Background

Traditional matrix operation needs a computer to store and read intermediate quantity of calculation data for multiple times, along with the enlargement of matrix scale, the calculation time is multiplied, and people begin to seek an operation method capable of efficiently realizing large-scale matrix operation. The photon computing structure has the characteristics of high speed, parallelism, passivity and the like, has outstanding advantages in processing linear computing, and becomes a hot spot of current international research. People adopt novel optical materials such as optical waveguide micro-nano structures, micro-lens arrays, digital light modulators and the like to build photon computing chips, and the photon computing chips are applied to different scenes.

Disclosure of Invention

The purpose of the invention is as follows: the invention aims to provide an efficient parallel wide-spectrum photon computing system and a computing method, which are used for realizing high-speed parallel large-scale matrix operation, including matrix multiplication, inversion and the like, so as to meet the requirement of matrix high-speed operation in scenes such as mobile communication, artificial intelligence, big data computing and the like, and simultaneously fully utilize the wide-spectrum characteristic of light, thereby being one of schemes for efficiently processing super-large-scale matrixes.

The technical scheme is as follows:

the purpose of the invention is realized by the following technical scheme:

an efficient parallel wide-spectrum photon computing system comprises an optical input unit, a wide-spectrum optical amplitude modulation unit and a wide-spectrum optical receiving unit; the optical input unit is used for inputting optical signals of a plurality of wave bands in parallel, the amplitudes of the optical signals of different wave bands are in direct proportion to the row vector elements of the matrix A and are transmitted to the broadband spectrum optical amplitude modulation unit; the wide-frequency spectrum light amplitude modulation unit is used for adjusting the amplitude of an input light signal, multiplying the amplitudes of light signals of different wave bands by different coefficients, wherein the coefficients are in direct proportion to the column vector elements of the matrix B, and the output light signal is transmitted to the wide-frequency spectrum light receiving unit; the wide-band spectrum light receiving unit is used for superposing and quantitatively outputting the amplitudes of multi-band light signals.

The efficient parallel wide-spectrum photon computing system further comprises a synchronization unit, wherein the synchronization unit is used for setting a change period of the optical signal amplitude of the clock control optical input unit, a modulation period of the wide-spectrum optical amplitude modulation unit and a sampling period of the wide-spectrum optical receiving unit, so that the wide-spectrum optical receiving unit sequentially outputs result matrix elements multiplied by the matrix A, B.

The method for carrying out the wide-spectrum photon calculation by using the efficient parallel wide-spectrum photon calculation system comprises the following steps:

the optical input unit inputs optical signals of a plurality of wave bands in parallel, the amplitudes of the optical signals of different wave bands are in direct proportion to the row vector elements of the matrix A and are transmitted to the broadband spectrum optical amplitude modulation unit;

the broadband spectrum light amplitude modulation unit adjusts the amplitude of the input light signal, multiplies the light signal amplitudes of different wave bands by different coefficients, the coefficients are in direct proportion to the column vector elements of the matrix B, and the output light signal is transmitted to the broadband spectrum light receiving unit;

the broadband spectrum light receiving unit superposes and quantifies and outputs the multi-band light signal amplitude.

The efficient parallel wide-spectrum photon calculation method further comprises the step of setting a change period of the optical signal amplitude of the clock control optical input unit, a modulation period of the wide-spectrum optical amplitude modulation unit and a sampling period of the wide-spectrum optical receiving unit through the synchronization unit, and enabling the wide-spectrum optical receiving unit to sequentially output result matrix elements multiplied by the matrix A, B.

Has the advantages that: compared with the prior art, the invention has the following advantages:

1. the system can input a super-large-scale matrix by fully utilizing the wide spectrum characteristic of light, and large-scale matrix operation is carried out.

2. In the operation process, data signals do not need to be accessed, and the operation speed is only related to the response time of the light amplitude modulation unit and the light receiving unit, so that the operation speed is greatly improved.

3. The method adopts all-optical signals, has low energy consumption, and can be embedded into systems such as all-optical information networks, mobile optical communication and the like.

4. The complexity of the whole system is low, the light amplitude modulation unit can be realized by the existing technologies of a Mach-Zehnder modulator, a spatial light modulator and the like, and the cost is low.

Drawings

FIG. 1 is a block diagram of a wide-spectrum photon computation method;

FIG. 2 is a clock signal for scheme one of the synchronization units;

FIG. 3 is a clock signal of scheme two of the synchronization unit;

FIG. 4 is a block diagram of a parallel-input parallel-output wide-spectrum photon computing method.

Detailed Description

The present invention is further illustrated by the following figures and specific examples, which are to be understood as illustrative only and not as limiting the scope of the invention, which is to be given the full breadth of the appended claims and any and all equivalent modifications thereof which may occur to those skilled in the art upon reading the present specification.

The invention discloses an efficient parallel wide-spectrum photon computing system and method. The optical input unit inputs optical signals of a plurality of wave bands in parallel, the amplitudes of the optical signals of different wave bands are in proportion to the row vector elements of the matrix A, and the optical signals are transmitted to the broadband spectrum optical amplitude modulation unit. The broadband spectrum light amplitude modulation unit adjusts the amplitude of the input light signal, multiplies the light signal amplitudes of different wave bands by different coefficients, the coefficients are in direct proportion to the column vector elements of the matrix B, and the output light signal is transmitted to the broadband spectrum light receiving unit. The broadband spectrum light receiving unit superposes and quantifies and outputs the multi-band light signal amplitude. The synchronizing unit is provided with a change period of the optical signal amplitude of the clock control optical input unit, a modulation period of the broadband spectrum optical amplitude modulation unit and a sampling period of the broadband spectrum optical receiving unit, so that the broadband spectrum optical receiving unit sequentially outputs the result matrix elements multiplied by the matrix A, B.

As shown in fig. 1, the method includes an optical input unit, a broad spectrum optical amplitude modulation unit, a broad spectrum optical receiving unit, and a synchronization unit. The optical input unit is connected with the broadband spectrum optical amplitude modulation unit and the synchronization unit, and inputs a plurality of paths of optical signals with different amplitudes and different wave bands to the broadband spectrum optical amplitude modulation unit according to a clock signal from the synchronization unit. The broadband spectrum light amplitude modulation unit is connected with the light input unit, the broadband spectrum light receiving unit and the synchronization unit, multiplies the amplitudes of the light signals of different wave bands from the light input unit by different coefficients according to the clock signal from the synchronization unit, and outputs the result to the broadband spectrum light receiving unit. The broadband spectrum light receiving unit is connected with the broadband spectrum light amplitude modulation unit and the synchronization unit, and collects the multi-band light signal amplitude from the broadband spectrum light amplitude modulation unit according to the clock signal from the synchronization unit, superposes the multi-band light signal amplitude and quantifies the multi-band light signal amplitude to output, so that the matrix operation result is obtained.

The following is a schematic illustration of a broad spectrum photon computing structure:

the structure is arranged to implement multiplication of a matrix A and a matrix B, the resulting matrix being a matrix C, i.e.

Figure BDA0002269479330000031

The first scheme is as follows: the m wave band amplitudes in the wide-band spectrum optical signal input by the optical input unit are respectively corresponding to a from 0 to T11,a12,…,a1m. In the wide-band light amplitude modulation unit, the light amplitudes of the m wave bands are sequentially multiplied by b11,b21,…,bm1And then output to the broadband spectrum light receiving unit. The receiving unit only detects the light intensity of the broadband spectrum optical signal, namely the m wave band optical signal amplitudes are superposed and output to obtain a11b11+a12b21+…a1mbm1I.e. element C of the matrix C11. In the time period from 0 to T, to

Figure BDA0002269479330000032

For the period, the broad spectrum light amplitude modulation unit changes the amplitude multiplication coefficient corresponding to the k column vectors of the matrix B, respectively, and the broad spectrum light receiver uses

Figure BDA0002269479330000033

The output optical signal intensity is periodically detected. Therefore, after the T period, the output result is the row vector of the first row of the matrix C.

Similarly, in the period from (p-1) T to pT, the light input unit inputs m bands with the amplitude proportional to ap1,ap2,…,apmThe multiplication coefficient of the wide-band optical amplitude modulator is changed as above. After the time of nT has elapsed, the receiver can obtain all the elements of the matrix C.

Therefore, in the clock signal in this scheme, as shown in fig. 2, the clock cycle of the optical input means is k times that of the broad-spectrum optical amplitude modulation means and the optical receiving means, and the clock signal is also provided with a certain delay in consideration of the delay between the optical amplitude modulation means and the optical receiving means.

Scheme II: to be provided with

Figure BDA0002269479330000034

For the period, the optical input unit changes the amplitude of the input optical signal in m bands corresponding to n row vectors of the matrix a. The variation period of the broad-band spectrum light amplitude modulation unit is T, and the light amplitudes of n multi-bands are multiplied by a certain column vector of the matrix B in one period. A wide-spectrum optical receiver and a method for manufacturing the same

Figure BDA0002269479330000041

The output optical signal intensity is periodically detected. Therefore, after the T period, the output result is the column vector of the matrix C. After the time of kT has elapsed, the receiver can obtain all the elements of the matrix C.

In the clock signal in this scheme, as shown in fig. 3, the clock cycle of the broad-spectrum optical amplitude modulation unit is n times that of the optical input unit and the optical receiving unit, and the clock signal is also provided with a certain delay in consideration of the delay between the optical input unit and the optical receiving unit.

As shown in fig. 4, the method is a parallel-input and parallel-output wide-spectrum photon calculation method, and the method is composed of an optical input unit, k wide-spectrum optical amplitude modulation units and n narrow-spectrum optical receiving units. Optical input unit and k broadband spectrum optical amplitude modulation unitsThe elements are connected, and n · m wavelength band optical signals (corresponding to all elements of the matrix a) are input to k broadband spectrum optical amplitude modulation units. Each broad-spectrum light amplitude modulation unit is connected with the light input unit and the n narrow-spectrum light receiving units, for the light signals from the light input unit, different wave bands are multiplied by different coefficients with m as a period, for example, the broad-spectrum light amplitude modulation unit 1, and in the 1 st to the m th wave bands, the light amplitude is respectively multiplied by b11,b21,…,bm1M +1 to 2m wavelength bands, the light amplitude being multiplied by b11,b21,…,bm1And in the same way, the modulated signals are output to n narrow-spectrum light receiving units. In order to prevent the results of the plurality of wide-spectrum light amplitude modulation units from mixing, the wide-spectrum light amplitude modulation units sequentially send the modulation results to the n narrow-spectrum light receiving units, and a certain time interval can be set in the middle. Each narrow-spectrum light receiving unit is connected with k broadband-spectrum light amplitude modulation units, receives the light signals from one broadband-spectrum light amplitude modulation unit, collects the light signal amplitudes of the corresponding wave bands, and superposes and quantifies the light signals for output. Each narrow-spectrum light-receiving unit corresponds to m wavelength bands of an optical signal input to the optical input unit, e.g., narrow-spectrum light-receiving unit 1 corresponds to optical input unit a11,a12,…,a1mThe first m bands, and so on. Therefore, the outputs of the n narrow-spectrum light receiving units correspond to the column vectors of the result matrix C, and after k time intervals, all elements of the matrix C can be obtained.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种通过音频声波给程控产品数据无线升级的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!