Optical Isin machine chip based on multi-dimensional multiplexing
Through multi-dimensional multiplexed optical Ising machine chips, multiple laser sources and field programmable gate arrays are used to perform matrix multiplication calculations, which solves the problem of current Ising machine operation speed limitations and achieves more efficient combinatorial optimization problem solving and Lower Hamiltonian.
Patent Information
- Application Number
- CN202411069587.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-09-27
AI Technical Summary
The existing Ising machine solution is difficult to expand due to the operation speed limit of a single field-programmable gate array, resulting in a limited scale of combinatorial optimization problems and difficulty in achieving rapid solutions to complex combinatorial optimization problems.
Using a multi-dimensional multiplexed optical Ising machine chip, multiple laser sources, electro-optical modulators, photodetectors and multiple field programmable gate arrays are used to realize multi-channel optical paths and matrix multiplication calculations, improving the computing scale of the Ising machine. and expandability.
It has significantly improved the ability of optical Ising machine chips to solve combinatorial optimization problems, can achieve higher spin numbers and lower Hamiltonians, and achieve the optimal solution to the Ising problem.
Smart Images

Figure CN118707784A
Abstract
Description
Technical Field
[0001] The present application relates to the field of Ising machines, and in particular to an optical Ising machine chip based on multi-dimensional multiplexing. Background Art
[0002] Combinatorial optimization problems are ubiquitous in many fields, including finance, logistics, biology, and chemistry. However, finding the best solution is extremely challenging because the computational effort grows exponentially as the problem size grows. To address this problem, the researchers explored using artificial spin systems to solve these problems by mapping them onto the ground state search of the Ising model. The Ising model is a mathematical model that describes the binary spin signal σ N When the spin state is in the spin-up state, the spin signal amplitude σ N =1, when the spin state is in the spin-down state, the spin signal amplitude σ N =-1.
[0003] Ising machine refers to a physical system built according to the theoretical framework of the Ising model, which is used to simulate the solution of complex problems. Existing Ising machine solutions are mostly constructed in the form of discrete optical fiber components, which have the disadvantages of large size, high power consumption, and difficulty in expansion. In the prior art, there are a few reports that have constructed a single-channel chip solution to simulate the solution of complex problems by integrating modulation and detection units on a single chip. Figure 1 The coherent Ising machine based on the self-feedback optoelectronic oscillator includes a laser light source 1, an electro-optic modulator 2, a photodetector 4 and a field programmable gate array 5. The spin state is mapped by modulating the photovoltage x, and the field programmable gate array 5 performs matrix multiplication to generate a feedback signal f, and the feedback signal f is input to the electro-optic modulator 2 for iterative update. However, since the speed of optical elements such as modulation and detection units is usually faster than the field programmable gate array 5, the total time required to solve the Ising problem and the number of calculable spins largely depend on the operation speed of the field programmable gate array 5, and the scale of problems that can be handled by a single field programmable gate array 5 is limited, resulting in the limited scale of the combinatorial optimization problem to be solved and difficulty in expansion, and it is difficult to achieve rapid solution of complex combinatorial optimization problems. Summary of the invention
[0004] The purpose of this application is to provide an optical Ising machine chip based on multi-dimensional multiplexing, which can improve the computing scale of the Ising machine, is easy to expand, and can achieve rapid solutions to complex combinatorial optimization problems.
[0005] To achieve the above objectives, this application provides the following solutions:
[0006] The present application provides an optical Ising machine chip based on multi-dimensional multiplexing, comprising: a laser source, an electro-optical modulator, a multi-dimensional multiplexing module, a photodetector and a field programmable gate array; the number of the laser source, the electro-optical modulator, the photodetector and the field programmable gate array is n, and n>1;
[0007] The output end of one of the laser sources is connected to one of the electro-optic modulators; the output ends of each of the electro-optic modulators are connected to the input end of the multi-dimensional multiplexing module; the output end of the multi-dimensional multiplexing module is connected to the input end of each of the photodetectors; one photodetector is connected to one of the field programmable gate arrays; each of the field programmable gate arrays is connected to a corresponding electro-optic modulator;
[0008] The laser source is used to generate an input optical signal;
[0009] For the kth iteration, the electro-optic modulator is used to modulate the input optical signal intensity according to the feedback signal of the k-1th iteration under a DC bias voltage to generate a modulated optical signal of the kth iteration; n electro-optic modulators generate n modulated optical signals of the kth iteration; wherein 1<k≤K, K represents the maximum number of iterations;
[0010] For the kth iteration, the multi-dimensional multiplexing module is used to multiplex n kth iteration modulated optical signals to obtain a kth iteration multiplexed optical signal; demultiplex the kth iteration multiplexed optical signal to obtain n kth iteration demultiplexed optical signals; one kth iteration demultiplexed optical signal enters one of the photodetectors;
[0011] For the kth iteration, the photodetector is used to convert the demultiplexed optical signal of the kth iteration into a photovoltage signal to obtain a first photovoltage signal of the kth iteration, wherein the first photovoltage signal is composed of N first sub-photovoltage signals;
[0012] For the kth iteration, the field programmable gate array is used to preprocess each first sub-photovoltage signal in the first photovoltage signal of the kth iteration to obtain N second photovoltage signals of the kth iteration; wherein one of the second photovoltage signals is mapped to a spin signal in the Ising model, the N spin signals of the kth iteration constitute an input matrix of the kth iteration, and the spin states of the N spin signals of the kth iteration constitute a spin configuration of the kth iteration;
[0013] According to the coupling matrix and the input matrix of the kth iteration, a feedback signal of the kth iteration is obtained by matrix multiplication; wherein the coupling matrix is used to characterize the coupling loudness between different spin signals; and the feedback signal includes N feedback quantities.
[0014] Optionally, the multi-dimensional multiplexing module includes: a multiplexer and a demultiplexer;
[0015] The multiplexer is used to multiplex n k-th iteration modulated optical signals to obtain one k-th iteration multiplexed optical signal; the demultiplexer is used to demultiplex the k-th iteration multiplexed optical signal to obtain n k-th iteration demultiplexed optical signals.
[0016] Optionally, the field programmable gate array comprises:
[0017] an analog-to-digital conversion unit, configured to receive the first photovoltage signal of the kth iteration output by the photodetector, and convert N first sub-photovoltage signals in the first photovoltage signal of the kth iteration into photovoltage digital signals;
[0018] A preprocessing unit, used for preprocessing the N photovoltage digital signals of the k-th iteration to obtain N second photovoltage signals of the k-th iteration;
[0019] An input voltage matrix determining unit, used to determine an input voltage matrix of a k-th iteration according to N second photovoltage signals of the k-th iteration;
[0020] A matrix multiplication unit, used for performing a matrix multiplication operation on the coupling matrix and the input matrix of the kth iteration to obtain an operation result;
[0021] The digital-to-analog conversion submodule is used to convert the operation result into an analog signal, and determine the analog signal as the feedback signal of the kth iteration.
[0022] Optionally, the preprocessing unit specifically includes:
[0023] An extreme value determination unit, used to determine the maximum value and the minimum value of the N photovoltage digital signals of the kth iteration;
[0024] an average value determining unit, used for calculating an average value of the maximum value and the minimum value;
[0025] A judging unit, used for judging the magnitude of each photovoltage digital signal of the kth iteration and the average value;
[0026] The adjusting unit is used to adjust each photovoltage digital signal according to the judgment result of the judging unit so that each photovoltage digital signal is mapped to a different spin signal amplitude.
[0027] Optionally, the adjustment unit includes a first adjustment subunit and a second adjustment subunit;
[0028] The first adjustment subunit is used to adjust the photovoltage digital signal to a positive value when the photovoltage digital signal is greater than or equal to the average value, so as to obtain the second photovoltage signal; the spin signal amplitude mapped by the second photovoltage signal is +1, and the spin state of the corresponding spin signal is spin-up;
[0029] The second adjustment subunit is used to adjust the photovoltage digital signal to a negative value to obtain the second photovoltage signal when the photovoltage digital signal is less than the average value; the spin signal amplitude mapped by the second photovoltage signal is -1, and the spin state of the corresponding spin signal is spin up.
[0030] Optionally, the matrix multiplication unit specifically includes:
[0031] A coupling matrix generating unit, used for generating a coupling matrix according to coupling loudness of different spin signals;
[0032] Matrix multiplication unit, used to calculate Perform matrix multiplication operation on the input voltage matrix of the kth iteration and the coupling matrix to obtain the operation result; wherein, f i [k] represents the feedback amount of the i-th spin signal at the k-th iteration; x i [k] represents the i-th spin signal at the k-th iteration; x j [k] represents the jth spin signal at the kth iteration; 1≤i<N, and j≠i, α represents the feedback strength, β represents the coupling strength, and J represents the coupling matrix.
[0033] Optionally, the coupling matrix generating unit specifically includes: a coupling matrix generating subunit, configured to construct a coupling matrix in such a manner that the coupling loudness of adjacent spin signals is -1 and the coupling loudness of non-adjacent spin signals is 0.
[0034] Optionally, the multiplexing mode of the multiplexer is wavelength multiplexing, polarization multiplexing or mode multiplexing.
[0035] Optionally, the spin signal obtained in the k+1th iteration and the feedback signal obtained in the kth iteration satisfy a nonlinear expression; the nonlinear expression is:
[0036]
[0037] Among them, x i [k+1] represents the i-th spin signal mapped by the i-th photovoltage signal at the k+1th iteration; f i [k] represents the feedback amount of the i-th spin signal at the k-th iteration; 1≤i<N; when k=1, f i [k] = 0; ζ i[k] is the noise generated by the system and satisfies Gaussian distribution.
[0038] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0039] The present application provides an optical Ising machine chip based on multi-dimensional multiplexing, which uses multiple laser sources to form multiple optical paths, integrates multiple electro-optical modulators and multiple photodetectors into a single chip based on multi-dimensional multiplexing, and then controls the corresponding channels through multiple field programmable gate arrays, decomposes the matrix calculation in the solution of the Ising problem, and uses a method of calculating separately using multiple field programmable gate arrays, based on one chip to achieve an n-fold increase in the scale of solving combinatorial optimization problems, greatly improving the ability of the optical Ising machine chip in actually solving combinatorial optimization problems. Compared with the existing Ising machine that does not use multi-dimensional multiplexing, the Hamiltonian has a significant decrease, and the energy ground state can be reached to obtain the optimal solution to the Ising problem. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A schematic diagram of an existing Ising machine chip that does not use multi-dimensional multiplexing;
[0042] Figure 2 A schematic diagram of an optical Ising machine chip based on multi-dimensional multiplexing provided in one embodiment of the present application;
[0043] Figure 3 A schematic diagram of an optical Ising machine chip based on multi-dimensional multiplexing provided in one embodiment of the present application;
[0044] Figure 4 A comparison chart of Hamiltonian test results of an optical Ising machine chip based on multi-dimensional multiplexing for this application;
[0045] Figure 5 This application provides a spin amplitude distribution diagram of the test results of an optical Ising machine chip based on multi-dimensional multiplexing.
[0046] Reference numerals:
[0047] 1-laser source, 2-electro-optic modulator, 3-multi-dimensional multiplexing module, 31-multiplexer, 32-demultiplexer, 4-photodetector, 5-field programmable gate array. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0050] See also Figure 2 An optical Ising machine chip based on multi-dimensional multiplexing provided in an embodiment of the present application is characterized in that the optical Ising machine chip based on multi-dimensional multiplexing includes: a laser source 1, an electro-optical modulator 2, a multi-dimensional multiplexing module 3, a photodetector 4 and a field programmable gate array 5. The number of the laser source 1, the electro-optical modulator 2, the photodetector 4 and the field programmable gate array 5 is n, and n>1. The multi-dimensional multiplexing module includes: a multiplexer and a demultiplexer. Figure 3 As shown, n laser sources 1 are represented as LD1, LD2, LD3...LD n ; n electro-optic modulators 2 are represented as MOD1, MOD2, MOD3...MOD n ; n PD 4 are represented as PD1, PD2, PD3...PD n , the n demultiplexed optical signals generated by demultiplexing are converted into n first photovoltage signals respectively by n photodetectors 4, which are x1, x2, x3...x n ; n field programmable gate arrays 5 are respectively represented as FPGA1, FPGA2, FPGA3...FPGA n , through n field programmable gate arrays, matrix multiplication is performed to obtain n feedback signals, which are f1, f2, f3...f n .
[0051] The output end of one of the laser sources 1 is connected to an electro-optical modulator 2; the output end of each of the electro-optical modulators 2 is connected to the input end of the multi-dimensional multiplexing module 3; the output end of the multi-dimensional multiplexing module 3 is connected to the input end of each of the photodetectors 4; a photodetector 4 is connected to a field programmable gate array 5; each of the FPGAs 5 is connected to the corresponding field programmable gate array 2.
[0052] The laser source 1 is used to generate an input optical signal.
[0053] For the kth iteration, the electro-optical modulator 2 is used to modulate the input optical signal intensity according to the feedback signal of the k-1th iteration under the DC bias voltage to generate the modulated optical signal of the kth iteration; n electro-optical modulators generate n modulated optical signals of the kth iteration; wherein 1<k≤K, K represents the maximum number of iterations. Wherein, when k=1, the electro-optical modulation module 2 is used to adjust the intensity of the input optical signal under the set DC bias voltage to obtain the modulated optical signal of the 1st iteration.
[0054] For the kth iteration, the multi-dimensional multiplexing module 3 is used to multiplex n channels of modulated optical signals of the kth iteration to obtain one channel of multiplexed optical signal of the kth iteration.
[0055] The multiplexed optical signal of the kth iteration is demultiplexed to obtain n demultiplexed optical signals of the kth iteration; one demultiplexed optical signal of the kth iteration enters one of the photodetectors 4 .
[0056] For the kth iteration, the photodetector 4 is used to convert the demultiplexed optical signal of the kth iteration into an optical voltage signal to obtain a first optical voltage signal of the kth iteration, wherein the first optical voltage signal includes N first sub-optical voltage signals. The magnitude of the first optical voltage signal is proportional to the intensity of the demultiplexed optical signal.
[0057] For the kth iteration, the field programmable gate array 5 is used to: preprocess each first sub-photovoltage signal in the first photovoltage signal of the kth iteration to obtain N second photovoltage signals of the kth iteration; wherein, one of the second photovoltage signals is mapped to a spin signal in the Ising model, the N spin signals of the kth iteration constitute the input matrix of the kth iteration, and the spin states of the N spin signals of the kth iteration constitute the spin configuration of the kth iteration.
[0058] According to the coupling matrix and the input matrix of the kth iteration, a feedback signal of the kth iteration is obtained by matrix multiplication; wherein the coupling matrix is used to characterize the coupling loudness between different spin signals; and the feedback signal includes N feedback quantities.
[0059] In an exemplary embodiment, the multi-dimensional multiplexing module 3 includes: a multiplexer 31 and a demultiplexer 32 .
[0060] The multiplexer 31 is used to multiplex the modulated optical signals of the n-th iteration to obtain a multiplexed optical signal of the k-th iteration.
[0061] The demultiplexer 32 is used to demultiplex the multiplexed optical signal of the kth iteration to obtain n demultiplexed optical signals of the kth iteration.
[0062] In an exemplary embodiment, the field programmable gate array 5 includes:
[0063] The analog-to-digital conversion unit is used to receive the k-th iteration of the first photovoltage signal output by the PD, and convert N first sub-photovoltage signals in the k-th iteration of the first photovoltage signal into photovoltage digital signals.
[0064] The preprocessing unit is used to preprocess the N photovoltage digital signals of the kth iteration to obtain N second photovoltage signals of the kth iteration.
[0065] The input voltage matrix determining unit is used to determine the input voltage matrix of the kth iteration according to N second photovoltage signals of the kth iteration.
[0066] The matrix multiplication unit is used to perform matrix multiplication operation on the coupling matrix and the input matrix of the kth iteration to obtain an operation result.
[0067] The digital-to-analog conversion submodule is used to convert the operation result into an analog signal, and determine the analog signal as the feedback signal of the kth iteration.
[0068] In an exemplary embodiment, the preprocessing unit specifically includes:
[0069] An extreme value determination unit, used to determine the maximum value and the minimum value of the N photovoltage digital signals of the kth iteration;
[0070] an average value determining unit, configured to calculate an average value of the maximum value and the minimum value;
[0071] A judging unit, used for judging the magnitude of each photovoltage digital signal of the kth iteration and the average value;
[0072] An adjustment unit, configured to adjust each photovoltage digital signal according to the judgment result of the judgment unit so that each photovoltage digital signal is mapped to a different spin signal amplitude; the adjustment unit comprises a first adjustment subunit and a second adjustment subunit;
[0073] The first adjustment subunit is used to adjust the photovoltage digital signal to a positive value when the photovoltage digital signal is greater than or equal to the average value, so as to obtain the second photovoltage signal; the spin signal amplitude mapped by the second photovoltage signal is +1, and the spin state of the corresponding spin signal is spin-up;
[0074] The second adjustment subunit is used to adjust the photovoltage digital signal to a negative value to obtain the second photovoltage signal when the photovoltage digital signal is less than the average value; the spin signal amplitude mapped by the second photovoltage signal is -1, and the spin state of the corresponding spin signal is spin up.
[0075] In an exemplary embodiment, the matrix multiplication unit specifically includes:
[0076] The coupling matrix generating unit is used to generate a coupling matrix according to the coupling loudness of different spin signals.
[0077] Matrix multiplication unit, used to calculate Perform matrix multiplication operation on the input voltage matrix of the kth iteration and the coupling matrix to obtain the operation result; wherein, f i [k] represents the feedback amount of the i-th spin signal at the k-th iteration; x i [k] represents the i-th spin signal at the k-th iteration; x j [k] represents the jth spin signal at the kth iteration; 1≤i<N, and j≠i, α represents the feedback strength, β represents the coupling strength, and J represents the coupling matrix. In a solution problem, the coupling matrix is a fixed value.
[0078] In an exemplary embodiment, the coupling matrix generating unit specifically includes: a coupling matrix generating subunit, configured to construct a coupling matrix in such a manner that the coupling loudness of adjacent spin signals is -1 and the coupling loudness of non-adjacent spin signals is 0.
[0079] In an exemplary embodiment, the multiplexing mode of the multiplexer 31 is wavelength multiplexing, polarization multiplexing or mode multiplexing.
[0080] In an exemplary embodiment, the spin signal obtained at the k+1th iteration and the feedback signal obtained at the kth iteration satisfy a nonlinear expression; the nonlinear expression is:
[0081]
[0082] Among them, x i [k+1] represents the i-th spin signal mapped by the i-th photovoltage signal at the k+1th iteration; f i [k] represents the feedback amount of the i-th spin signal at the k-th iteration; 1≤i<N; when k=1, f i [k] = 0; ζ i [k] is the noise generated by the system and satisfies Gaussian distribution.
[0083] It should be noted that the Ising model can be used to solve combinatorial optimization problems. Combinatorial optimization problems refer to a type of problem that currently cannot find a global optimal solution in polynomial time, such as the maximum cut problem. To this end, an Ising model is constructed based on the entity data of actual problems (such as the maximum cut problem). Based on the constructed Ising model, an initial spin configuration is randomly generated, and the initial spin configuration is modulated to the intensity of the Gaussian beam of the Ising machine, so that the spin signal of each point in the lattice of the Ising model is encoded according to the intensity of the beam. Taking the maximum cut problem as an example, in the field of image processing, solving the maximum cut problem can be used for image segmentation, target recognition, etc. The method is usually to abstract an image into an undirected graph by computer and then solve the maximum cut problem of this undirected graph. Taking image segmentation as an example, the maximum cut problem aims to divide an image into two parts, the foreground and the background. The maximum cut problem of image segmentation can be described by using the Ising model as follows: first, an undirected graph of the image is constructed, and the vertex set V of the undirected graph is divided into two subsets, S and T; wherein, a vertex in the vertex set V is defined as a spin signal, whose amplitude can be +1 or -1, the vertex set with an amplitude of +1 corresponds to the S subset, and the vertex set with an amplitude of -1 corresponds to the T subset; then the weight of each edge is written into the coupling matrix of the Ising model; since the sum of the weights of all edges between subsets S and subset T in the maximum cut problem can be written as -1 / 2 times the sum of the sum of all elements in the coupling matrix except the diagonal elements and the sum of the Hamiltonian of the Ising model corresponding to the coupling matrix, and the coupling matrix can be calculated by n FPGAs, the optimal solution of the Ising model can be obtained to obtain the weight sum of the maximum edge, thereby solving the maximum cut problem and improving the efficiency of image segmentation.
[0084] In an exemplary embodiment, Figure 4 As shown in the figure, for the case of n = 4, a spin configuration with a spin signal number of N is randomly generated, and the Ising model generates 4 The coupling matrix generates 16 The sub-coupling matrices are denoted by J sub1 , J sub2 , …, J sub16 , where J sub1 , J sub2 , J sub3 and J sub4 represent the first, second, third and fourth sub-coupling matrices generated by all spin signals in the first spin configuration respectively; J sub5 , J sub6 , J sub7 and J sub8 represent the fifth, sixth, seventh and eighth sub-coupling matrices generated by all spin signals in the second spin configuration respectively; J sub9 , J sub10 , Jsub11 and J sub12 represent the ninth, tenth, eleventh and twelfth sub-coupling matrices generated by all spin signals in the third spin configuration respectively; J sub13 , J sub14 , J sub15 and J sub16 They represent the thirteenth, fourteenth, fifteenth and sixteenth sub-coupling matrices generated by all spin signals in the fourth spin configuration respectively.
[0085] Furthermore, four field programmable gate arrays 5 are used to perform matrix multiplication operations respectively, and the specific operation formula is:
[0086]
[0087]
[0088] Wherein, f1[k] is the feedback signal of the first spin configuration at the kth iteration; f2[k] is the feedback signal of the second spin configuration at the kth iteration; f3[k] is the feedback signal of the third spin configuration at the kth iteration; f4[k] is the feedback signal of the fourth spin configuration at the kth iteration, x1[k] is the first input matrix; x2[k] is the second input matrix; x3[k] is the third input matrix; x4[k] is the fourth input matrix; is the number of spin signals of a spin configuration. In addition, the feedback signal output by the field programmable gate array 5 is initially set to 0 and applied to the electro-optic modulator 2 to obtain the input matrix of the first iteration. Due to the noise in the system, the spin signal in the input matrix of the first iteration is a set of random numbers that satisfy the Gaussian distribution. The field programmable gate array 5 performs matrix multiplication operation on the input matrix of the first iteration and the coupling matrix to obtain the feedback signal of the first iteration, and the feedback signal is input to the electro-optic modulator 2 for iteration.
[0089] During the iterative process, as the number of iterations increases, the spin signals of each spin in each spin configuration begin to differentiate: the spin signal fluctuates from the initial value until the number of iterations is large enough, and the signal gradually becomes fixed as two positive and negative values with the same absolute value. This process is accompanied by a gradual decrease in the Hamiltonian until it reaches the ground state of lowest energy. At this time, the amplitude of each spin corresponds to the optimal solution of the Ising model.
[0090] Furthermore, for the case of n>4, the above decomposition method can be generalized.
[0091] This application is different from the existing Figure 1 The experimental test comparison results of the Ising machine Hamiltonian without multi-dimensional multiplexing are shown in Figure 4As shown. The experiment sets the number of spins N = 400, takes a 10-way (n = 10) optical Ising machine chip as an example, and the total number of iterations is 200. It can be seen that compared with the Ising machine without multi-dimensional multiplexing, the Hamiltonian of the Ising machine of the present application has decreased significantly, and can be reduced to the lowest energy -800, indicating that the Ising problem with a larger number of spins can be solved. Figure 5 The spin amplitude distribution diagram of the test results of this application is shown. It can be seen that with the increase in the number of iterations, the amplitudes of the 400 spins in the experimental setting gradually bifurcate into positive and negative parts, and finally stabilize at two positive and negative values with the same absolute values. This also shows that the Hamiltonian of the Ising machine of this application can be reduced to the lowest energy.
[0092] In the present application, n modulation and detection paths correspond to n light sources respectively, and the n paths are integrated on one chip by multiplexing. Matrix calculation is decomposed by multi-dimensional multiplexing and multiple FPGAs are used for separate calculations to improve the calculation speed of the Ising machine feedback term and increase the number of calculated spins, thereby achieving an n-fold improvement in the problem solving ability based on a single chip.
[0093] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0094] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. An optical Ising machine chip based on multi-dimensional multiplexing, characterized in that: The optical Ising machine chip based on multi-dimensional multiplexing includes: a laser source, an electro-optic modulator, a multi-dimensional multiplexing module, a photodetector and a field programmable gate array; the number of the laser source, the electro-optic modulator, the photodetector and the field programmable gate array is n, and n>1; The output end of one of the laser sources is connected to one of the electro-optic modulators; the output ends of each of the electro-optic modulators are connected to the input end of the multi-dimensional multiplexing module; the output end of the multi-dimensional multiplexing module is connected to the input end of each of the photodetectors; one photodetector is connected to one of the field programmable gate arrays; each of the field programmable gate arrays is connected to a corresponding electro-optic modulator; The laser source is used to generate an input optical signal; For the kth iteration, the electro-optic modulator is used to modulate the input optical signal intensity according to the feedback signal of the k-1th iteration under a DC bias voltage to generate a modulated optical signal of the kth iteration; n electro-optic modulators generate n modulated optical signals of the kth iteration; wherein 1<k≤K, K represents the maximum number of iterations; For the kth iteration, the multi-dimensional multiplexing module is used to multiplex n kth iteration modulated optical signals to obtain a kth iteration multiplexed optical signal; demultiplex the kth iteration multiplexed optical signal to obtain n kth iteration demultiplexed optical signals; one kth iteration demultiplexed optical signal enters one of the photodetectors; For the kth iteration, the photodetector is used to convert the demultiplexed optical signal of the kth iteration into a photovoltage signal to obtain a first photovoltage signal of the kth iteration, wherein the first photovoltage signal is composed of N first sub-photovoltage signals; For the kth iteration, the field programmable gate array is used to preprocess each first sub-photovoltage signal in the first photovoltage signal of the kth iteration to obtain N second photovoltage signals of the kth iteration; wherein one of the second photovoltage signals is mapped to a spin signal in the Ising model, the N spin signals of the kth iteration constitute an input matrix of the kth iteration, and the spin states of the N spin signals of the kth iteration constitute a spin configuration of the kth iteration; According to the coupling matrix and the input matrix of the kth iteration, a feedback signal of the kth iteration is obtained by matrix multiplication; wherein the coupling matrix is used to characterize the coupling loudness between different spin signals; and the feedback signal includes N feedback quantities.
2. The optical Ising machine chip based on multi-dimensional multiplexing according to claim 1, characterized in that: The multi-dimensional multiplexing module includes: a multiplexer and a demultiplexer; The multiplexer is used to multiplex n k-th iteration modulated optical signals to obtain a k-th iteration multiplexed optical signal; The demultiplexer is used to demultiplex the multiplexed optical signal of the kth iteration to obtain n demultiplexed optical signals of the kth iteration.
3. The optical Ising machine chip based on multi-dimensional multiplexing according to claim 2, characterized in that: The field programmable gate array comprises: an analog-to-digital conversion unit, configured to receive the first photovoltage signal of the kth iteration output by the photodetector, and convert N first sub-photovoltage signals in the first photovoltage signal of the kth iteration into photovoltage digital signals; A preprocessing unit, used for preprocessing the N photovoltage digital signals of the k-th iteration to obtain N second photovoltage signals of the k-th iteration; An input voltage matrix determining unit, used to determine an input voltage matrix of a k-th iteration according to N second photovoltage signals of the k-th iteration; A matrix multiplication unit, used for performing a matrix multiplication operation on the coupling matrix and the input matrix of the kth iteration to obtain an operation result; The digital-to-analog conversion submodule is used to convert the operation result into an analog signal, and determine the analog signal as the feedback signal of the kth iteration.
4. The optical Ising machine chip based on multi-dimensional multiplexing according to claim 3, characterized in that: The pre-processing unit specifically includes: An extreme value determination unit, used to determine the maximum value and the minimum value of the N photovoltage digital signals of the kth iteration; an average value determining unit, configured to calculate an average value of the maximum value and the minimum value; A judging unit, used for judging the magnitude of each photovoltage digital signal of the kth iteration and the average value; The adjusting unit is used to adjust each photovoltage digital signal according to the judgment result of the judging unit so that each photovoltage digital signal is mapped to a different spin signal amplitude.
5. The optical Ising machine chip based on multi-dimensional multiplexing according to claim 4, characterized in that: The adjustment unit specifically includes: a first adjustment subunit and a second adjustment subunit The first adjustment subunit is used to adjust the photovoltage digital signal to a positive value when the photovoltage digital signal is greater than or equal to the average value, so as to obtain the second photovoltage signal; the spin signal amplitude mapped by the second photovoltage signal is +1, and the spin state of the corresponding spin signal is spin-up; The second adjustment subunit is used to adjust the photovoltage digital signal to a negative value to obtain the second photovoltage signal when the photovoltage digital signal is less than the average value; the spin signal amplitude mapped by the second photovoltage signal is -1, and the spin state of the corresponding spin signal is spin up.
6. The optical Ising machine chip based on multi-dimensional multiplexing according to claim 3, characterized in that: The matrix multiplication unit specifically comprises: A coupling matrix generating unit, used for generating a coupling matrix according to coupling loudness of different spin signals; Matrix multiplication unit, used to calculate Perform matrix multiplication operation on the input voltage matrix of the kth iteration and the coupling matrix to obtain the operation result; wherein, f i [k] represents the feedback amount of the i-th spin signal at the k-th iteration; x i [k] represents the i-th spin signal at the k-th iteration; x j [k] represents the jth spin signal at the kth iteration; 1≤i<N, and j≠i, α represents the feedback strength, β represents the coupling strength, and J represents the coupling matrix.
7. The optical Ising machine chip based on multi-dimensional multiplexing according to claim 6, characterized in that: The coupling matrix generating unit specifically includes: a coupling matrix generating subunit, which is used to construct a coupling matrix in a manner that the coupling loudness of adjacent spin signals is -1 and the coupling loudness of non-adjacent spin signals is 0.
8. The optical Ising machine chip based on multi-dimensional multiplexing according to claim 2, characterized in that: The multiplexing mode of the multiplexer is wavelength multiplexing, polarization multiplexing or mode multiplexing.
9. The optical Ising machine chip based on multi-dimensional multiplexing according to claim 1, characterized in that: The spin signal obtained at the k+1th iteration and the feedback signal obtained at the kth iteration satisfy a nonlinear expression; the nonlinear expression is: Among them, x i [k+1] represents the i-th spin signal mapped by the i-th photovoltage signal at the k+1th iteration; f i [k] represents the feedback amount of the i-th spin signal at the k-th iteration; 1≤i<N; when k=1, f i [k] = 0; ζ i [k] is the noise generated by the system and satisfies Gaussian distribution.
