Data processing method and device based on Ising machine and Ising machine

By modulating the spin configuration to the phase of the Gaussian beam in the Ising machine, combined with the beam matrix transformation and simulated annealing algorithm, the problem of low computational efficiency and high complexity of the Ising machine when processing large-scale Ising models is solved. Efficient parallel processing and speed improvement are achieved.

CN113722667BActive Publication Date: 2024-10-11TSINGHUA UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110797381.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-14
Publication Date
2024-10-11
Estimated Expiration
2041-07-14

AI Technical Summary

Technical Problem

Existing Ising machines have problems such as low computational efficiency, high complexity and limited system capabilities when processing large-scale Ising models, especially the time-consuming linear growth based on optical parametric oscillation architecture, and the time-consuming linear growth based on wavefront modulators. Parameter mapping limitations and O(N2) complexity growth based on Reck structure.

Method used

By modulating the updated spin configuration to the phase of the Gaussian beam, using the beam to perform matrix transformation and Hamiltonian calculation, and combining the simulated annealing algorithm to update the spin configuration, the conversion and parallelization of optical signals to electrical signals are achieved. deal with.

Benefits of technology

It significantly improves the solving speed of the Ising problem, achieves parallel processing capabilities on the beam, reduces system complexity and improves processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113722667B_ABST
    Figure CN113722667B_ABST
Patent Text Reader

Abstract

The present invention provides a data processing method, device and Ising machine based on Ising machine, the method comprising: cyclically updating the spin configuration, modulating the updated spin configuration to the phase of a Gaussian beam, obtaining an input matrix; obtaining an output matrix according to the input matrix and a transformation matrix; determining the output light intensity of the current sampling round according to the output matrix, determining the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determining the sampling result according to the Hamiltonian, and when determining the last round of sampling, using the spin configuration corresponding to the last round of sampling as the data processing result. The data processing method, device and Ising machine based on Ising machine provided by the present invention can complete the data processing process of the Ising model on the light beam, and can realize the conversion from optical signal to electrical signal, and has the ability to perform parallel processing of information at the speed of light, which can greatly improve the rate of solving the Ising problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a data processing method and device based on an Ising machine, and an Ising machine. Background Art

[0002] The Ising model can be used to solve combinatorial optimization problems. Combinatorial optimization problems refer to a class of problems that currently cannot find a global optimal solution in polynomial time, such as the traveling salesman problem and the maximum cut problem.

[0003] The Ising model can be described by a lattice. Each point on the lattice has a spin σ, which can only take values ​​of +1 or -1. The set of spins of all points is called the spin configuration σ. For two adjacent points i and j, an interaction coefficient J is introduced. ij If we consider the interaction between the external magnetic field h and each spin, the Hamiltonian of the system is defined as:

[0004]

[0005] Solving the Ising model is equivalent to solving the corresponding Ising model in J ij When it remains unchanged, the global energy minimum is obtained, that is, the system spin configuration σ in the energy ground state.

[0006] However, since the current algorithm requires a large amount of calculation to solve, it is proposed to use light to physically accelerate the solution process. This type of solution that accelerates the solution of the Ising model through physical means is called an Ising machine.

[0007] There are currently three main solutions for the Ising machine. The first is an architecture based on optical parametric oscillation and FPGA feedback, in which the Ising spin is modulated on the phase of each pulse in the resonant cavity, and the feedback signal is calculated using the FPGA to determine the next round of sampling. The second is an architecture based on a wavefront modulator, in which the Ising spin is modulated on the phase modulation of each pixel on the wavefront modulator. The third is an on-chip optical matrix transformation architecture based on the Reck structure, in which the Ising spin is modulated on the amplitude of the electric field in the waveguide, and the next round of feedback calculations are performed in the electric domain.

[0008] For architectures based on optical parametric oscillation, firstly, the FPGA can only modulate a single pulse in the resonant cavity at the same time, and the time consumption increases linearly with the size of the problem; secondly, the FPGA performs calculations in the electrical domain, which also weakens the advantages of optical computing to a certain extent.

[0009] A limitation of existing wavefront modulator-based architectures is that an arbitrary Ising model cannot be mapped to the parameters of the architecture.

[0010] The problem with the Ising machine based on the on-chip Reck structure is that the complexity of the system increases as the number of spins increases. 2 ) increases, which limits the system's ability to solve problems with more spin numbers. At the same time, the scheme requires simultaneous measurement of the amplitude and phase of the electric field in the waveguide, further increasing the complexity of the scheme. Summary of the invention

[0011] In view of the problems existing in the prior art, the present invention provides a data processing method and device based on an Ising machine and an Ising machine.

[0012] The present invention provides a data processing method based on an Ising machine, comprising:

[0013] The spin configuration is cyclically updated, and the updated spin configuration is modulated onto the phase of the Gaussian beam to obtain an input matrix; wherein the spin configuration is randomly generated based on the constructed Ising model;

[0014] Obtaining an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​initially determined based on the constructed Ising model;

[0015] The output light intensity of the current sampling round is determined according to the output matrix, the Hamiltonian is determined according to the output light intensity and the model eigenvalue matrix, the sampling result is determined according to the Hamiltonian, and when determining the last round of sampling, the spin configuration corresponding to the last round of sampling is used as the data processing result.

[0016] According to the present invention, a data processing method based on an Ising machine is provided, wherein the updated spin configuration is modulated onto the phase of a Gaussian beam to obtain an input matrix, comprising:

[0017] Modulating the updated spin configuration and the electrical feedback signal onto the phase of a Gaussian beam, wherein the phase difference between the beam representing the +1 spin and the beam representing the -1 spin is π, and the electric field amplitude of each beam is the same;

[0018] The complex amplitudes of each beam are arranged to obtain the input matrix.

[0019] According to the present invention, a data processing method based on an Ising machine is provided, wherein the output matrix is ​​obtained according to the input matrix and the transformation matrix, comprising:

[0020] The input matrix is ​​multiplied by the transformation matrix to obtain an output matrix.

[0021] According to the present invention, a data processing method based on an Ising machine is provided, wherein the output light intensity of the current sampling round is determined according to the output matrix, and the Hamiltonian is determined according to the output light intensity and a model eigenvalue matrix, including:

[0022] Determine the output light intensity of the current sampling round using a first calculation formula according to the output matrix;

[0023] Determine the Hamiltonian using a second calculation formula according to the output light intensity and the model eigenvalue matrix;

[0024] The first calculation formula includes:

[0025] I=|AE in | 2

[0026] Where I is the output light intensity, A is the transformation matrix, and E in is the input matrix, AE in is the output matrix; |·| 2 It means taking the square of the absolute value of each element in the matrix;

[0027] The second calculation formula includes:

[0028] H(σ)=-∑ j (I λ ) jj I j

[0029] In the formula, σ represents the spin vector of the Ising model, H(σ) is the Hamiltonian, and I λ is the model eigenvalue matrix, (I λ ) jj For I λ The j-th diagonal element of j is the j-th element of I.

[0030] According to the present invention, a data processing method based on Ising machine is provided, the method further comprising:

[0031] Determining the sampling result according to the Hamiltonian and taking the spin configuration corresponding to the last round of sampling as the data processing result when determining the last round of sampling includes:

[0032] Determine the change between the Hamiltonian of the current sampling round and the Hamiltonian of the previous sampling round;

[0033] If the change is less than 0, the current sampling is accepted, the spins in the spin configuration are randomly flipped to update the spin configuration, and the next sampling round is entered;

[0034] If the change is greater than 0, the current sampling is accepted with a probability of exp(-ΔH / T), the spins in the spin configuration are randomly flipped to update the spin configuration and enter the next sampling round; where T is the current sampling temperature;

[0035] When determining the last round of sampling, the spin configuration corresponding to the last round of sampling is used as the data processing result.

[0036] According to the present invention, a data processing method based on an Ising machine is provided. When the difference between the sampling temperature and 0 K is less than a preset threshold, the current sampling round is determined to be the last sampling round.

[0037] The present invention also provides a data processing device based on the Ising machine, comprising:

[0038] An input module, used for cyclically updating the spin configuration, modulating the updated spin configuration onto the phase of the Gaussian beam, and obtaining an input matrix; wherein the spin configuration is randomly generated based on the constructed Ising model;

[0039] An output module, used for obtaining an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​initially determined based on the constructed Ising model;

[0040] A processing module is used to determine the output light intensity of the current sampling round according to the output matrix, determine the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determine the sampling result according to the Hamiltonian, and when determining the last round of sampling, use the spin configuration corresponding to the last round of sampling as the data processing result.

[0041] The present invention also provides an Ising machine, comprising:

[0042] Wavefront modulators for:

[0043] Cyclic updating of the spin configuration is performed, and the updated spin configuration is modulated onto the phase of the Gaussian beam to obtain an input matrix, wherein the spin configuration is randomly generated based on the constructed Ising model;

[0044] Separating the Gaussian beam and outputting the separated Gaussian beam;

[0045] The separated light beams are coupled, and the coupled Gaussian beams are input into a light detector through an aperture and a lens;

[0046] A light detector, used to obtain an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​initially determined based on the constructed Ising model;

[0047] And determine the output light intensity of the current sampling round according to the output matrix, determine the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determine the sampling result according to the Hamiltonian, and when determining the last round of sampling, use the spin configuration corresponding to the last round of sampling as the data processing result.

[0048] According to the present invention, an Ising machine is provided, wherein the first wavefront modulator is specifically used for:

[0049] The updated spin configuration and electrical feedback signal are modulated onto the phase of a Gaussian beam, wherein the phase difference between the beam representing the +1 spin and the beam representing the -1 spin is π, and the electric field amplitude of each beam is the same; the complex amplitude of each beam is arranged to obtain an input matrix.

[0050] According to the present invention, an Ising machine is provided, the Ising machine further comprising:

[0051] A first beam splitter, used for splitting the laser beam to obtain a reference beam and an object beam, transmitting the object beam to the first wavefront modulator, and transmitting the reference beam to a second beam splitter;

[0052] A second beam splitter is used to combine the reference light and the Gaussian beam coupled through the aperture and the lens, and transmit the combined beams to a light detector;

[0053] A first light shutter, used for collecting a light field pattern of the reference light;

[0054] The second light shutter is used to collect the light field pattern of the object light.

[0055] The present invention provides a data processing method, device and Ising machine based on Ising machine, which can complete the data processing process of the Ising model on a light beam, and can realize the conversion from optical signal to electrical signal. It has the ability to perform parallel processing of information at the speed of light, and can greatly improve the rate of solving the Ising problem. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 It is a flow chart of a data processing method based on Ising machine provided by the present invention;

[0058] Figure 2 It is a structural schematic diagram of a data processing device based on an Ising machine provided by the present invention;

[0059] Figure 3 It is a structural schematic diagram of the Ising machine provided by the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0061] Combine the following Figure 1-3 The invention describes a data processing method and device based on an Ising machine and an Ising machine.

[0062] Figure 1 A schematic diagram of the process flow of the data processing method based on the Ising machine provided by the present invention is shown, see Figure 1 , the method comprising:

[0063] 11. Cyclic update of the spin configuration is performed, and the updated spin configuration is modulated onto the phase of the Gaussian beam to obtain an input matrix; wherein the spin configuration is randomly generated based on the constructed Ising model;

[0064] 12. Obtain an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​initially determined based on the constructed Ising model;

[0065] 13. Determine the output light intensity of the current sampling round according to the output matrix, determine the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determine the sampling result according to the Hamiltonian, and when determining the last round of sampling, use the spin configuration corresponding to the last round of sampling as the data processing result.

[0066] Regarding steps 11 to 13, it should be noted that in the present invention, the Ising model can be used to solve combinatorial optimization problems. Combinatorial optimization problems refer to a class of problems that currently cannot find a global optimal solution in polynomial time, such as the traveling salesman problem and the maximum cut problem.

[0067] To this end, an Ising model is constructed based on the physical data of practical problems (such as the traveling salesman problem and the maximum cut problem). Based on the constructed Ising model, the initial spin configuration is randomly generated, and the initial spin configuration is modulated to the phase of the Gaussian beam of the Ising machine, so that the spin of each point in the lattice of the Ising model is encoded according to the phase of the beam.

[0068] The initial spin configuration is modulated onto the phase of the Gaussian beam of the Ising machine, and the complex amplitude of the high-speed beam is arranged to obtain the input matrix of the Ising machine on the input plane.

[0069] Then, the Gaussian beams are separated and coupled by the Ising machine. This process is equivalent to performing a matrix transformation on the input matrix to obtain the output matrix of the Ising machine on the output plane. The output matrix is ​​obtained by calculating the input matrix and the transformation matrix, which is also obtained based on the constructed Ising model configuration.

[0070] In the present invention, the interaction coefficient matrix J of the Ising model is characteristically decomposed to obtain the transformation matrix A and the model eigenvalue matrix I required for the separation and coupling of Gaussian beams. λ , where J = A -1 I λ A.

[0071] In the present invention, the light beam output by the Ising machine is input into the photodetector, which determines the output light intensity of the current sampling round according to the output matrix, and then determines the Hamiltonian according to the output light intensity and the model eigenvalue matrix, and determines the sampling result according to the Hamiltonian. The sampling result indicates whether the initial spin configuration selected by the current sampling is appropriate. If the current sampling is received, the next sampling will be performed, and the initial spin configuration will be spin-updated to obtain the updated spin configuration. The updated spin configuration will then be executed again according to the above-mentioned processing procedure, and then the sampling result will be obtained, and then the sampling result will be judged.

[0072] Therefore, the sampling rounds can be determined according to the sampling results, and when the final round of sampling is determined, the spin configuration corresponding to the final round of sampling is used as the data processing result.

[0073] In the present invention, at the beginning, a spin configuration is randomly generated, and an input matrix is ​​generated through the Ising machine. In each sampling, the input matrix is ​​transformed by the spatial optical matrix and calculated in the electric domain to obtain the Hamiltonian of the sampling, and the sampling is accepted according to the principle probability of the simulated annealing algorithm. When the sampling is terminated, it is possible to obtain a reasonable spin configuration, which is used as the data processing result of the Ising model to solve practical problems.

[0074] The data processing method based on the Ising machine provided by the present invention can complete the data processing process of the Ising model on a light beam, and can realize the conversion from optical signal to electrical signal. It has the ability to perform parallel processing of information at the speed of light, and can greatly improve the rate of solving the Ising problem.

[0075] In the further description of the above method, the process of modulating the updated spin configuration onto the phase of the Gaussian beam to obtain the input matrix is ​​mainly explained, as follows:

[0076] The updated spin configuration and electrical feedback signal are modulated onto the phase of a Gaussian beam, wherein the phase difference between the beam representing the +1 spin and the beam representing the -1 spin is π, and the electric field amplitude of each beam is the same; the complex amplitude of each beam is arranged to obtain an input matrix.

[0077] In this regard, it should be noted that, in the present invention, the object beam is input to the wavefront modulator, and the wavefront modulator modulates the updated spin configuration and the electrical feedback signal onto the object beam to generate multiple Gaussian beams, each of which encodes the spin configuration through the phase on the beam. Among them, the phase difference between the beam representing the +1 spin and the beam representing the -1 spin is π, and the electric field amplitude of each beam is the same. Then the complex amplitude of each beam is arranged to obtain the input matrix.

[0078] In the further description of the above method, the processing process of obtaining the output matrix according to the input matrix and the transformation matrix is ​​mainly explained, as follows:

[0079] Multiply the input matrix by the transformation matrix to get the output matrix.

[0080] In this regard, it should be noted that, in the present invention, the separation and coupling of Gaussian beams by the Ising machine is equivalent to performing a matrix transformation on the input matrix. The input matrix is ​​E in , then the wavefront modulator splits and recombines the light beam, which is equivalent to performing a matrix transformation A. The output matrix on the output plane is recorded as E out , then E out =AE in .

[0081] In the further description of the above method, the processing of determining the output light intensity of the current sampling round according to the output matrix and determining the Hamiltonian according to the output light intensity and the model eigenvalue matrix is ​​mainly explained, as follows:

[0082] Determine the output light intensity of the current sampling round using the first calculation formula according to the output matrix;

[0083] The Hamiltonian is determined by using a second calculation formula according to the output light intensity and the model eigenvalue matrix;

[0084] The first calculation formula includes:

[0085] I=|AE in | 2

[0086] Where I is the output light intensity, A is the transformation matrix, and E in is the input matrix, AE in is the output matrix; |·| 2 It means taking the square of the absolute value of each element in the matrix;

[0087] The second calculation formula includes:

[0088] H(σ)=-∑ j (I λ ) jj I j

[0089] In the formula, σ represents the spin vector of the Ising model, H(σ) is the Hamiltonian, and I λ is the model eigenvalue matrix, (I λ ) jj For I λ The j-th diagonal element of j is the j-th element of I.

[0090] In addition, if the second calculation formula mentioned above needs to be corrected, a positive constant coefficient can be added to the right side of the formula. The increase of the coefficient will not change the ground state spin configuration of the Ising problem being solved.

[0091] In the present invention, the change between the Hamiltonian of the current sampling round and the Hamiltonian of the previous sampling round is determined;

[0092] If the change is less than 0, the current sampling is accepted, the spins in the spin configuration are randomly flipped to update the spin configuration, and the next sampling round is entered;

[0093] If the change is greater than 0, the current sampling is accepted with a probability of exp(-ΔH / T), the spins in the spin configuration are randomly flipped to update the spin configuration, and the next sampling round is entered; where T is the current sampling temperature, which is not the real temperature but a virtual parameter. After each sampling is completed, T will be reduced according to the preset plan.

[0094] In the process of repeated sampling, the sampling temperature T needs to be slowly reduced according to the preset rules until T finally approaches 0, and the sampling is terminated and the spin configuration at this time is output as the data processing result. That is, when the difference between the sampling temperature and 0K (Kelvin) is less than the preset threshold, the current sampling round is determined to be the last sampling round.

[0095] The data processing device of the Ising machine provided by the present invention is described below. The data processing device of the Ising machine described below and the data processing method of the Ising machine described above can be referred to each other.

[0096] Figure 2 The structural diagram of the data processing device based on the Ising machine provided by the present invention is shown in FIG. Figure 2 The device comprises an input module 21, an output module 22 and a processing module 23, wherein:

[0097] An input module 21 is used to cyclically update the spin configuration, modulate the updated spin configuration onto the phase of the Gaussian beam, and obtain an input matrix; wherein the spin configuration is randomly generated based on the constructed Ising model;

[0098] An output module 22, configured to obtain an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​initially determined based on the constructed Ising model;

[0099] The processing module 23 is used to determine the output light intensity of the current sampling round according to the output matrix, determine the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determine the sampling result according to the Hamiltonian, and when determining the last round of sampling, use the spin configuration corresponding to the last round of sampling as the data processing result.

[0100] In a further description of the above device, the input module, in the process of modulating the updated spin configuration onto the phase of the Gaussian beam to obtain the input matrix, is specifically used for:

[0101] Modulating the updated spin configuration and the electrical feedback signal onto the phase of a Gaussian beam, wherein the phase difference between the beam representing the +1 spin and the beam representing the -1 spin is π, and the electric field amplitude of each beam is the same;

[0102] The complex amplitudes of each beam are arranged to obtain the input matrix.

[0103] In a further description of the above device, the output module, in the process of obtaining the output matrix according to the input matrix and the transformation matrix, is specifically used to:

[0104] The input matrix is ​​multiplied by the transformation matrix to obtain an output matrix.

[0105] In a further description of the above device, the processing module is specifically used to:

[0106] Determine the output light intensity of the current sampling round using a first calculation formula according to the output matrix;

[0107] Determine the Hamiltonian using a second calculation formula according to the output light intensity and the model eigenvalue matrix;

[0108] The first calculation formula includes:

[0109] I=|AE in | 2

[0110] Where I is the output light intensity, A is the transformation matrix, and E inis the input matrix, AE in is the output matrix; |·| 2 It means taking the square of the absolute value of each element in the matrix;

[0111] The second calculation formula includes:

[0112] H(σ)=-∑ j (I λ ) jj I j

[0113] In the formula, σ represents the spin vector of the Ising model, H(σ) is the Hamiltonian, and I λ is the model eigenvalue matrix, (I λ ) jj For I λ The j-th diagonal element of j is the j-th element of I.

[0114] In a further description of the above device, the processing module is specifically used in the process of determining the sampling result according to the Hamiltonian and using the spin configuration corresponding to the last round of sampling as the data processing result when determining the last round of sampling:

[0115] Determine the change between the Hamiltonian of the current sampling round and the Hamiltonian of the previous sampling round;

[0116] If the change is less than 0, the current sampling is accepted, the spins in the spin configuration are randomly flipped to update the spin configuration, and the next sampling round is entered;

[0117] If the change is greater than 0, the current sampling is accepted with a probability of exp(-ΔH / T), the spins in the spin configuration are randomly flipped to update the spin configuration and enter the next sampling round; where T is the current sampling temperature;

[0118] When determining the last round of sampling, the spin configuration corresponding to the last round of sampling is used as the data processing result.

[0119] In a further description of the above device, when the difference between the sampling temperature and 0K is less than a preset threshold, the current sampling round is determined to be the last sampling round.

[0120] Since the principle of the device described in the embodiment of the present invention is the same as that of the method described in the above embodiment, a more detailed explanation will not be repeated here.

[0121] It should be noted that, in the embodiment of the present invention, the relevant functional modules can be implemented by a hardware processor.

[0122] The data processing device based on the Ising machine provided by the present invention can complete the data processing process of the Ising model on a light beam, and can realize the conversion from optical signal to electrical signal. It has the ability to perform parallel processing of information at the speed of light, and can greatly improve the rate of solving the Ising problem.

[0123] The present invention provides an Ising machine, which includes the following structure:

[0124] Wavefront modulators for:

[0125] Cyclic updating of the spin configuration is performed, and the updated spin configuration is modulated onto the phase of the Gaussian beam to obtain an input matrix, wherein the spin configuration is randomly generated based on the constructed Ising model;

[0126] Separating the Gaussian beam and outputting the separated Gaussian beam;

[0127] The separated light beams are coupled, and the coupled Gaussian beams are input into a light detector through an aperture and a lens;

[0128] A light detector, used for obtaining an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​randomly generated based on the constructed Ising model;

[0129] And determine the output light intensity of the current sampling round according to the output matrix, determine the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determine the sampling result according to the Hamiltonian, and when determining the last round of sampling, use the spin configuration corresponding to the last round of sampling as the data processing result.

[0130] In the present invention, the actions that can be performed by the above-mentioned wavefront modulator are named action 1, action 2, action 3, and action 4 in sequence.

[0131] Action 1: Split the Gaussian beam and output the separated Gaussian beam;

[0132] Action 2: Separate the separated Gaussian beam again, and output the separated Gaussian beam;

[0133] Action 3: coupling the separated light beams;

[0134] Action 4: Modulate the spin configuration to the phase of the Gaussian beam.

[0135] In the present invention, three wavefront modulators are set and named as the first wavefront modulator, the second wavefront modulator and the third wavefront modulator in sequence. At this time, the preset execution mode includes:

[0136] The first wavefront modulator performs action 1, the second wavefront modulator performs action 2, the third wavefront modulator performs action 3, and the first wavefront modulator performs action 4 or the second wavefront modulator performs action 4.

[0137] Alternatively, the first wavefront modulator performs action 1, the second wavefront modulator performs action 2, the third wavefront modulator performs action 3, the first wavefront modulator performs action 4, and the second wavefront modulator performs action 4 together.

[0138] …

[0139] Here, not all situations of the preset execution method are explained.

[0140] The following is an explanation using a specific example. Figure 3 As shown, the details are as follows:

[0141] A first wavefront modulator 1 is used for cyclically updating the spin configuration, modulating the updated spin configuration onto the phase of the Gaussian beam to obtain an input matrix, and separating the Gaussian beam, and inputting the separated Gaussian beam into a second wavefront modulator, wherein the spin configuration is initially determined based on the constructed Ising model;

[0142] The second wavefront modulator 2 is used to split the separated Gaussian beam again, and input the split Gaussian beam to the third wavefront modulator;

[0143] A third wavefront modulator 3 is used to couple the separated light beams and input the coupled Gaussian light beams into the photodetector through an aperture and a lens;

[0144] A light detector 4, used for obtaining an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​randomly generated based on the constructed Ising model;

[0145] And determine the output light intensity of the current sampling round according to the output matrix, determine the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determine the sampling result according to the Hamiltonian, and when determining the last round of sampling, use the spin configuration corresponding to the last round of sampling as the data processing result.

[0146] The first wavefront modulator is specifically used for:

[0147] The updated spin configuration and electrical feedback signal are modulated onto the phase of a Gaussian beam, wherein the phase difference between the beam representing the +1 spin and the beam representing the -1 spin is π, and the electric field amplitude of each beam is the same; the complex amplitude of each beam is arranged to obtain an input matrix.

[0148] The Ising machine further comprises:

[0149] A first beam splitter 5, used for splitting the laser beam to obtain a reference beam and an object beam, transmitting the object beam to the first wavefront modulator, and transmitting the reference beam to a second beam splitter;

[0150] A second beam splitter 6, used for combining the reference light and the Gaussian beam coupled through the aperture and the lens, and transmitting the combined beams to a light detector;

[0151] A first light shutter 7, used for collecting a light field pattern of the reference light;

[0152] The second light shutter 8 is used to collect the light field pattern of the object light.

[0153] In the present invention, a monochromatic coherent light source 9 emits a laser, which first changes the linear polarization direction of the input light through a half-wave plate, so that the polarization direction of the input light after passing through the half-wave plate is consistent with the polarization direction of the polarizer, and the polarization direction is consistent with the input polarization required by the wavefront modulator. Then, after passing through the polarizer 10, it is divided into the object light of the right path and the reference light of the left path through the first beam splitter. The object light refers to the diffuse reflection light generated by the laser light source irradiating the object, which contains the information of the object. The reference light refers to the light irradiated to the photosensitive film by the same laser light source through a half-reflecting mirror. In each round of sampling, the object light generates a group of Gaussian beams based on the electrical feedback signal and spin configuration fed back by the photodetector through the first wavefront modulator, and the phase modulation on the beam has the spin configuration of the Ising model. Then, the object light undergoes matrix transformation through the second spatial light modulation and the third wavefront modulator to generate an output matrix, and the coupled Gaussian beam is integrated with the reference light through the aperture 12, the lens 13 and the second beam splitter and sent to the photodetector. The light detector determines the output light intensity of the current sampling round according to the output matrix, determines the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determines the sampling result according to the Hamiltonian, determines the sampling round according to the sampling result, and when determining the last round of sampling, uses the spin configuration corresponding to the last round of sampling as the data processing result.

[0154] In the present invention, Figure 3 The delay line 11 in the image is used to adjust the optical path of the reference light. The first optical shutter and the second optical shutter are used to measure the CCD pattern when the object light and the reference light exist alone, and can measure the complex amplitude of the output mode, that is, the output matrix, for calibrating the matrix transformation.

[0155] The Ising machine provided by the present invention can complete the data processing process of the Ising model on a light beam, and can realize the conversion from optical signal to electrical signal. It has the ability to perform parallel processing of information at the speed of light, and can greatly improve the rate of solving the Ising problem.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data processing method based on Ising machine, characterized in that: include: The spin configuration is cyclically updated, and the updated spin configuration is modulated onto the phase of the Gaussian beam to obtain an input matrix; wherein the spin configuration is randomly generated based on the constructed Ising model; Obtaining an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​initially determined based on the constructed Ising model; Determine the output light intensity of the current sampling round according to the output matrix, determine the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determine the sampling result according to the Hamiltonian, and when determining the last round of sampling, use the spin configuration corresponding to the last round of sampling as the data processing result; Determining the output light intensity of the current sampling round according to the output matrix, and determining the Hamiltonian according to the output light intensity and the model eigenvalue matrix, comprises: Determine the output light intensity of the current sampling round using a first calculation formula according to the output matrix; Determine the Hamiltonian using a second calculation formula according to the output light intensity and the model eigenvalue matrix; The first calculation formula includes: ; In the formula, is the output light intensity, is the transformation matrix, is the input matrix, is the output matrix, It means taking the square of the absolute value of each element in the matrix; The second calculation formula includes: ; In the formula, represents the spin vector of the Ising model, is the Hamiltonian, is the model eigenvalue matrix, for No. diagonal elements, for No. elements.

2. The data processing method based on Ising machine according to claim 1, characterized in that: The step of modulating the updated spin configuration onto the phase of the Gaussian beam to obtain an input matrix comprises: Modulating the updated spin configuration and the electrical feedback signal onto the phase of a Gaussian beam, wherein the phase difference between the beam representing the +1 spin and the beam representing the -1 spin is π, and the electric field amplitude of each beam is the same; The complex amplitudes of each beam are arranged to obtain the input matrix.

3. The data processing method based on Ising machine according to claim 2, characterized in that: The step of obtaining an output matrix according to the input matrix and the transformation matrix comprises: The input matrix is ​​multiplied by the transformation matrix to obtain an output matrix.

4. The data processing method based on Ising machine according to claim 1, characterized in that: Determining the sampling result according to the Hamiltonian and taking the spin configuration corresponding to the last round of sampling as the data processing result when determining the last round of sampling includes: Determine the change between the Hamiltonian of the current sampling round and the Hamiltonian of the previous sampling round; If the change is less than 0, the current sampling is accepted, the spins in the spin configuration are randomly flipped to update the spin configuration, and the next sampling round is entered; If the change is greater than 0, The probability of accepting the current sampling, randomly flipping the spin in the spin configuration to update the spin configuration, and entering the next sampling round; where is the current sampling temperature; When determining the last round of sampling, the spin configuration corresponding to the last round of sampling is used as the data processing result.

5. The data processing method based on Ising machine according to claim 4, characterized in that: When the difference between the sampling temperature and the 0K value is less than a preset threshold, the current sampling round is determined to be the last sampling round.

6. A data processing device based on an Ising machine, characterized in that: include: An input module, used for cyclically updating the spin configuration, modulating the updated spin configuration onto the phase of the Gaussian beam, and obtaining an input matrix; wherein the spin configuration is randomly generated based on the constructed Ising model; An output module, used for obtaining an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​initially determined based on the constructed Ising model; A processing module, used to determine the output light intensity of the current sampling round according to the output matrix, determine the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determine the sampling result according to the Hamiltonian, and when determining the last round of sampling, use the spin configuration corresponding to the last round of sampling as the data processing result; The processing module is specifically used for: determining the output light intensity of the current sampling round according to the output matrix, and determining the Hamiltonian according to the output light intensity and the model eigenvalue matrix in the process of: Determine the output light intensity of the current sampling round using a first calculation formula according to the output matrix; Determine the Hamiltonian using a second calculation formula according to the output light intensity and the model eigenvalue matrix; The first calculation formula includes: ; In the formula, is the output light intensity, is the transformation matrix, is the input matrix, is the output matrix; It means taking the square of the absolute value of each element in the matrix; The second calculation formula includes: ; In the formula, represents the spin vector of the Ising model, is the Hamiltonian, is the model eigenvalue matrix, for No. diagonal elements, for No. elements.

7. An Ising machine, characterized in that: include: Wavefront modulators for: Cyclic updating of the spin configuration is performed, and the updated spin configuration is modulated onto the phase of the Gaussian beam to obtain an input matrix, wherein the spin configuration is randomly generated based on the constructed Ising model; Separating the Gaussian beam and outputting the separated Gaussian beam; The separated light beams are coupled, and the coupled Gaussian beams are input into a light detector through an aperture and a lens; A light detector, used to obtain an output matrix according to the input matrix and the transformation matrix; wherein the transformation matrix is ​​initially determined based on the constructed Ising model; and determining the output light intensity of the current sampling round according to the output matrix, determining the Hamiltonian according to the output light intensity and the model eigenvalue matrix, determining the sampling result according to the Hamiltonian, and when determining the last round of sampling, using the spin configuration corresponding to the last round of sampling as the data processing result; Determining the output light intensity of the current sampling round according to the output matrix, and determining the Hamiltonian according to the output light intensity and the model eigenvalue matrix, including: Determine the output light intensity of the current sampling round using a first calculation formula according to the output matrix; Determine the Hamiltonian using a second calculation formula according to the output light intensity and the model eigenvalue matrix; The first calculation formula includes: ; In the formula, is the output light intensity, is the transformation matrix, is the input matrix, is the output matrix, It means taking the square of the absolute value of each element in the matrix; The second calculation formula includes: ; In the formula, represents the spin vector of the Ising model, is the Hamiltonian, is the model eigenvalue matrix, for No. diagonal elements, for No. elements.

8. The Ising machine according to claim 7, characterized in that: The first wavefront modulator is specifically used for: The updated spin configuration and electrical feedback signal are modulated onto the phase of a Gaussian beam, wherein the phase difference between the beam representing the +1 spin and the beam representing the -1 spin is π, and the electric field amplitude of each beam is the same; the complex amplitude of each beam is arranged to obtain an input matrix.

9. The Ising machine according to claim 8, characterized in that: The Ising machine further comprises: A first beam splitter, used for splitting the laser beam to obtain a reference beam and an object beam, transmitting the object beam to the first wavefront modulator, and transmitting the reference beam to a second beam splitter; A second beam splitter is used to combine the reference light and the Gaussian beam coupled through the aperture and the lens, and transmit the combined beams to a light detector; A first light shutter, used for collecting a light field pattern of the reference light; The second light shutter is used to collect the light field pattern of the object light.

Citation Information

Patent Citations

  • Orthogonal space phase modulation method for photonic Ising machine

    CN113093379A

  • Degree conversion device, degree conversion method, and degree conversion program

    JP2021060714A