Information processing device, information processing system, information processing method, storage medium, and program
The information processing device and system efficiently solve combinatorial optimization problems using a simulated branching algorithm with vector updates and pseudo-random initialization, addressing the combinatorial explosion challenge and reducing calculation time.
Patent Information
- Application Number
- JP2021509675
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-03-28
- Filing Date
- 2020-03-27
- Publication Date
- 2024-10-07
- Estimated Expiration
- 2040-03-27
AI Technical Summary
Existing technologies face challenges in solving combinatorial optimization problems efficiently due to the combinatorial explosion issue, making it difficult to find optimal or approximate solutions within a practical time frame.
An information processing device and system that utilize a simulated branching algorithm to update first and second vectors with weighted additions and pseudo-random number initialization, allowing for parallel processing and efficient calculation of combinatorial optimization problems, including those with many-body interactions.
The proposed solution enables the calculation of combinatorial optimization problems within a practical time frame, increasing the probability of finding optimal or approximate solutions by exploring a wider solution space and reducing calculation time.
Smart Images

Figure 0007562509000014 
Figure 0007562509000015 
Figure 0007562509000016
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to an information processing device, an information processing system, an information processing method, a storage medium, and a program. [Background technology]
[0002] A combinatorial optimization problem is a problem of selecting the combination that is most suitable for a purpose from among multiple combinations. Mathematically, a combinatorial optimization problem can be reduced to a problem of maximizing a function with multiple discrete variables, called an "objective function," or a problem of minimizing said function. Combinatorial optimization problems are common in various fields such as finance, logistics, transportation, design, manufacturing, and life sciences, but it is not always possible to find an optimal solution because of the so-called "combinatorial explosion," in which the number of combinations increases exponentially with the problem size. In addition, it is often difficult to even obtain an approximate solution close to the optimal solution.
[0003] In order to solve problems in various fields and promote social innovation and progress in science and technology, there is a need to develop technology that can calculate solutions to combinatorial optimization problems within a practical amount of time. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2017-73106 A [Non-patent literature]
[0005] [Non-Patent Document 1] H. Goto, K. Tatsumura, AR Dixon, Sci. Adv. 5, eaav2372 (2019). [Non-Patent Document 2] H. Goto, Sci. Rep. 6, 21686 (2016). [Non-Patent Document 3] Tsuchiya, Nishiyama, Tsujita: Approximation method for combinatorial optimization problems using branching properties URL: http: / / www.ynl.tu-tokyo.ac.jp / project / RobotBrainCREST / publications / pdf / tsuchiya / 4_01.pdf [Non-Patent Document 4] Tsuchiya, Nishiyama, Tsujita: Analysis of deterministic annealing algorithms URL: http: / / www.ynl.tu-tokyo.ac.jp / project / RobotBrainCREST / publications / pdf / tsuchiya / 4_02.pdf Summary of the Invention [Problem to be solved by the invention]
[0006] The embodiments of the present invention provide an information processing device, an information processing system, an information processing method, a storage medium, and a program that calculate a solution to a combinatorial optimization problem within a practical time. [Means for solving the problem]
[0007] An information processing device as an embodiment of the present invention is an information processing device configured to repeatedly update a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element, and includes a memory unit configured to store the first variable and the second variable, and a processing circuit configured to update the first vector by weighted addition of the second variable corresponding to the first variable, weight the first variable with a first coefficient that monotonically increases or decreases depending on the number of updates and add it to the corresponding second variable, calculate a problem term using a plurality of the first variables, and update the second vector by adding the problem term to the second variable, and after repeatedly updating the first vector and the second vector, initialize the second variable of the second vector by a pseudorandom number, and repeat the updating of the first vector and the second vector again. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of an information processing system. [Diagram 2] FIG. 2 is a block diagram showing an example of the configuration of a management server. [Diagram 3] FIG. 4 is a diagram showing an example of data stored in a storage unit of a management server. [Figure 4] FIG. 1 is a block diagram showing an example of the configuration of a calculation server. [Diagram 5] FIG. 13 is a diagram showing an example of data stored in the storage of a calculation server. [Figure 6] 11 is a flowchart showing an example of a process for calculating a solution to a simulated bifurcation algorithm by time evolution. [Figure 7] 11 is a flowchart showing an example of an algorithm according to the first modification example. [Figure 8] 10 is a flowchart showing an example of an algorithm according to the second modification example. [Figure 9] 9 is a flowchart showing a first example of the process executed in step S114 of FIG. 7 and FIG. 8. [Figure 10] 9 is a flowchart showing a second example of the process executed in step S114 in FIG. 7 and FIG. 8. [Figure 11] 1 is a table showing an example of a coupling coefficient matrix. [Figure 12] Table showing examples of local magnetic field vectors. [Figure 13] A table showing examples of maximum absolute values of random numbers. [Figure 14] A table showing examples of first vectors. [Figure 15] A table showing examples of second vectors. [Figure 16] A table showing example solution vector and Hamiltonian values. [Figure 17] 13 is a flowchart showing an example of an algorithm according to the third modification example. [Figure 18] 13 is a flowchart showing an example of an algorithm according to the third modification example. [Figure 19] 13 is a flowchart showing an example of an algorithm according to the fourth modification example. [Figure 20] A table showing example coefficients. [Figure 21] 13 is a flowchart showing an example of an algorithm according to the fifth modification example. [Figure 22] 13 is a flowchart showing an example of an algorithm according to the fifth modification example. [Diagram 23] 7 is a graph showing an example of the results when calculations are performed using the algorithm of FIG. 6. [Figure 24] 8 is a graph showing an example of the results when calculations are performed using the algorithm of FIG. 7. [Diagram 25] 19 is a graph showing an example of the results when calculations are performed using the algorithms of FIGS. 17 and 18. [Figure 26] 23 is a graph showing an example of the results when calculations are performed using the algorithms of FIGS. 21 and 22. [Figure 27] FIG. 1 is a schematic diagram illustrating an example of a multiprocessor configuration. [Figure 28] A schematic diagram showing an example of a configuration using a GPU. [Figure 29] 1 is a flowchart showing an example of an overall process executed to solve a combinatorial optimization problem. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the drawings, the same components are designated by the same reference numerals, and the description thereof will be omitted as appropriate.
[0010] FIG. 1 is a block diagram showing a configuration example of an information processing system 100. The information processing system 100 in FIG. 1 includes a management server 1, a network 2, calculation servers (information processing devices) 3a to 3c, cables 4a to 4c, a switch 5, and a storage device 7. FIG. 1 also shows a client terminal 6 that can communicate with the information processing system 100. The management server 1, the calculation servers 3a to 3c, the client terminal 6, and the storage device 7 can communicate data with each other via the network 2. For example, the calculation servers 3a to 3c can store data in the storage device 7 and read data from the storage device 7. The network 2 is, for example, the Internet in which a plurality of computer networks are interconnected. The network 2 can use wired, wireless, or a combination of these as a communication medium. An example of a communication protocol used in the network 2 is TCP / IP, but the type of communication protocol is not particularly limited.
[0011] The calculation servers 3a to 3c are connected to a switch 5 via cables 4a to 4c, respectively. The cables 4a to 4c and the switch 5 form an interconnect between the calculation servers. The calculation servers 3a to 3c can also perform data communication with each other via the interconnect. The switch 5 is, for example, an Infiniband switch. The cables 4a to 4c are, for example, Infiniband cables. However, a wired LAN switch / cable may be used instead of the Infiniband switch / cable. There is no particular restriction on the communication standard and communication protocol used in the cables 4a to 4c and the switch 5. Examples of the client terminal 6 include a notebook PC, a desktop PC, a smartphone, a tablet, and an in-vehicle terminal.
[0012] In solving a combinatorial optimization problem, the process can be parallelized and / or distributed. Therefore, the calculation servers 3a to 3c and / or the processors of the calculation servers 3a to 3c may share and execute some steps of the calculation process, or may execute similar calculation processes for different variables in parallel. The management server 1, for example, converts the combinatorial optimization problem input by the user into a format that can be processed by each calculation server, and controls the calculation servers. Then, the management server 1 acquires the calculation results from each calculation server, and converts the aggregated calculation results into a solution to the combinatorial optimization problem. In this way, the user can obtain the solution to the combinatorial optimization problem. The solution to the combinatorial optimization problem includes an optimal solution and an approximate solution close to the optimal solution.
[0013] FIG. 1 shows three calculation servers. However, the number of calculation servers included in the information processing system is not limited. The number of calculation servers used to solve the combinatorial optimization problem is not particularly limited. For example, the information processing system may include one calculation server. The combination optimization problem may be solved using any of the multiple calculation servers included in the information processing system. The information processing system may include hundreds of calculation servers. The calculation server may be a server installed in a data center or a desktop PC installed in an office. The calculation server may be multiple types of computers installed in different locations. The type of information processing device used as the calculation server is not particularly limited. For example, the calculation server may be a general-purpose computer, a dedicated electronic circuit, or a combination of these.
[0014] Fig. 2 is a block diagram showing an example of the configuration of the management server 1. The management server 1 in Fig. 2 is, for example, a computer including a central processing unit (CPU) and a memory. The management server 1 includes a processor 10, a storage unit 14, a communication circuit 15, an input circuit 16, and an output circuit 17. The processor 10, the storage unit 14, the communication circuit 15, the input circuit 16, and the output circuit 17 are connected to each other via a bus 20. The processor 10 includes, as internal components, a management unit 11, a conversion unit 12, and a control unit 13.
[0015] The processor 10 is an electronic circuit that executes calculations and controls the management server 1. The processor 10 is an example of a processing circuit. For example, a CPU, a microprocessor, an ASIC, an FPGA, a PLD, or a combination of these can be used as the processor 10. The management unit 11 provides an interface for operating the management server 1 via the user's client terminal 6. Examples of the interface provided by the management unit 11 include an API, a CLI, and a web page. For example, a user can input information on a combinatorial optimization problem via the management unit 11, and view and / or download a calculated solution to the combinatorial optimization problem. The conversion unit 12 converts the combinatorial optimization problem into a format that can be processed by each calculation server. The control unit 13 transmits a control command to each calculation server. After the control unit 13 acquires the calculation results from each calculation server, the conversion unit 12 aggregates the multiple calculation results and converts them into a solution to the combinatorial optimization problem. The control unit 13 may also specify the processing content to be executed by each calculation server or a processor in each server.
[0016] The storage unit 14 stores various data including the program of the management server 1, data required to execute the program, and data generated by the program. Here, the program includes both an OS and an application. The storage unit 14 may be a volatile memory, a non-volatile memory, or a combination of these. Examples of the volatile memory include DRAM and SRAM. Examples of the non-volatile memory include NAND flash memory, NOR flash memory, ReRAM, or MRAM. In addition, a hard disk, an optical disk, a magnetic tape, or an external storage device may be used as the storage unit 14.
[0017] The communication circuit 15 transmits and receives data to and from each device connected to the network 2. The communication circuit 15 is, for example, a NIC (Network Interface Card) of a wired LAN. However, the communication circuit 15 may be another type of communication circuit, such as a wireless LAN. The input circuit 16 realizes data input to the management server 1. The input circuit 16 is assumed to have, for example, a USB, PCI-Express, or the like as an external port. In the example of FIG. 2, an operation device 18 is connected to the input circuit 16. The operation device 18 is a device for inputting information to the management server 1. The operation device 18 is, for example, a keyboard, a mouse, a touch panel, a voice recognition device, or the like, but is not limited thereto. The output circuit 17 realizes data output from the management server 1. The output circuit 17 is assumed to have, for example, an HDMI, a DisplayPort, or the like as an external port. In the example of FIG. 2, a display device 19 is connected to the output circuit 17. Examples of the display device 19 include, but are not limited to, an LCD (liquid crystal display), an organic EL (organic electroluminescence) display, or a projector.
[0018] The administrator of the management server 1 can perform maintenance of the management server 1 using the operation device 18 and the display device 19. The operation device 18 and the display device 19 may be incorporated in the management server 1. Also, the operation device 18 and the display device 19 do not necessarily have to be connected to the management server 1. For example, the administrator may perform maintenance of the management server 1 using an information terminal capable of communicating with the network 2.
[0019] FIG. 3 shows an example of data stored in the storage unit 14 of the management server 1. The storage unit 14 in FIG. 3 stores problem data 14A, calculation data 14B, a management program 14C, a conversion program 14D, and a control program 14E. For example, the problem data 14A includes data of a combinatorial optimization problem. For example, the calculation data 14B includes calculation results collected from each calculation server. For example, the management program 14C is a program that realizes the function of the management unit 11 described above. For example, the conversion program 14D is a program that realizes the function of the conversion unit 12 described above. For example, the control program 14E is a program that realizes the function of the control unit 13 described above.
[0020] Fig. 4 is a block diagram showing an example of the configuration of a calculation server. The calculation server in Fig. 4 is, for example, an information processing device that performs the calculation of the first vector and the second vector independently or in cooperation with other calculation servers.
[0021] 4 shows an example of the configuration of the calculation server 3a. The other calculation servers may have the same configuration as the calculation server 3a, or may have a different configuration from the calculation server 3a.
[0022] The computing server 3a includes, for example, a communication circuit 31, a shared memory 32, processors 33A to 33D, a storage 34, and a host bus adapter 35. The communication circuit 31, the shared memory 32, the processors 33A to 33D, the storage 34, and the host bus adapter 35 are connected to each other via a bus 36.
[0023] The communication circuit 31 transmits and receives data to and from each device connected to the network 2. The communication circuit 31 is, for example, a NIC (Network Interface Card) of a wired LAN. However, the communication circuit 31 may be other types of communication circuits such as a wireless LAN. The shared memory 32 is a memory accessible from the processors 33A to 33D. Examples of the shared memory 32 include volatile memories such as DRAM and SRAM. However, other types of memories such as non-volatile memories may be used as the shared memory 32. The shared memory 32 may be configured to store, for example, a first vector and a second vector. The processors 33A to 33D can share data via the shared memory 32. Note that all memories of the calculation server 3a do not necessarily have to be configured as shared memories. For example, some memories of the calculation server 3a may be configured as local memories that can be accessed only by any of the processors. Note that the shared memory 32 and the storage 34 described later are examples of storage units of an information processing device.
[0024] The processors 33A to 33D are electronic circuits that execute calculation processing. The processors may be, for example, any of a central processing unit (CPU), a graphics processing unit (GPU), a field-programmable gate array (FPGA), or an application specific integrated circuit (ASIC), or a combination of these. The processors may be CPU cores or CPU threads. When the processors are CPUs, the number of sockets provided in the calculation server 3a is not particularly limited. The processors may be connected to other components of the calculation server 3a via a bus such as PCI express.
[0025] In the example of FIG. 4, the computation server includes four processors. However, the number of processors included in one computation server may be different. For example, the number and / or type of processors implemented by the computation server may be different. Here, the processor is an example of a processing circuit of an information processing device. The information processing device may include multiple processing circuits.
[0026] The information processing device, for example, i The first vector with elements (i=1, 2, . . . , N) and the second variable y corresponding to the first variable i The information processing device is configured to repeatedly update a second vector having elements (i=1, 2, . . . , N). The storage unit of the information processing device may be configured to store the first variable and the second variable.
[0027] For example, the processing circuit of the information processing device is configured to update the first vector by weighting and adding the second variable corresponding to the first variable, weight the first variable with a first coefficient that monotonically increases or decreases depending on the number of updates, and add it to the corresponding second variable, calculate a problem term using a plurality of first variables, update the second vector by adding the problem term to the second variable, and after repeating the updates of the first vector and the second vector, initialize the second variable of the second vector by a pseudorandom number, and repeat the updates of the first vector and the second vector again. The problem term may be calculated based on an Ising model. The problem term may also include a multi-body interaction. Details of the first coefficient, the problem term, the Ising model, and the multi-body interaction will be described later.
[0028] In an information processing device, for example, processing contents (tasks) can be assigned on a processor basis. However, the unit of computational resources to which the processing contents are assigned is not limited. For example, the processing contents may be assigned on a computer basis, or on a process basis or CPU thread basis that runs on a processor.
[0029] In the following, the components of the calculation server will be described with reference to FIG.
[0030] The storage 34 stores various data including the program of the calculation server 3a, data required for executing the program, and data generated by the program. Here, the program includes both an OS and an application. The storage 34 may be configured to store, for example, a first vector and a second vector. The storage 34 may be a volatile memory, a non-volatile memory, or a combination thereof. Examples of the volatile memory include DRAM or SRAM. Examples of the non-volatile memory include NAND flash memory, NOR flash memory, ReRAM, or MRAM. In addition, a hard disk, an optical disk, a magnetic tape, or an external storage device may be used as the storage 34.
[0031] The host bus adapter 35 realizes data communication between the computation servers. The host bus adapter 35 is connected to the switch 5 via the cable 4a. The host bus adapter 35 is, for example, a host channel adapter (HCA). The host bus adapter 35, the cable 4a, and the switch 5 are used to form an interconnect capable of realizing high throughput, thereby improving the speed of parallel computation processing.
[0032] FIG. 5 shows an example of data stored in the storage of the calculation server. The storage 34 in FIG. 5 stores calculation data 34A, a calculation program 34B, and a control program 34C. The calculation data 34A includes data during the calculation of the calculation server 3a or the calculation result. At least a part of the calculation data 34A may be stored in a different storage hierarchy, such as the shared memory 32, the cache of the processor, or the register of the processor. The calculation program 34B is a program that realizes the calculation process in each processor and the storage process of the data in the shared memory 32 and the storage 34 based on a predetermined algorithm. The control program 34C is a program that controls the calculation server 3a based on a command transmitted from the control unit 13 of the management server 1, and transmits the calculation result of the calculation server 3a to the management server 1.
[0033] Next, we will explain technologies related to solving combinatorial optimization problems. An Ising machine is one example of an information processing device used to solve combinatorial optimization problems. An Ising machine is an information processing device that calculates the ground state energy of an Ising model. Until now, the Ising model has mainly been used as a model for ferromagnetic materials and phase transition phenomena. However, in recent years, the Ising model has increasingly been used as a model for solving combinatorial optimization problems. The following formula (1) shows the energy of the Ising model.
number
[0034] Using the Ising model in equation (1), the energy E Ising is the objective function, and the energy E Ising The solution to the Ising model is the vector of spins (s1, s2, . . . , s N ) This vector is called the solution vector. In particular, the energy E Ising The vector (s1, s2, . . . , s N ) is called the optimal solution. However, the calculated solution of the Ising model does not necessarily have to be the strictly optimal solution. In the following, we use the Ising model to calculate the energy E Ising The problem of finding an approximate solution in which is as small as possible (that is, an approximate solution in which the value of the objective function is as close to the optimal value as possible) is called an Ising problem.
[0035] The spin s in Eq. (1) i Since is a binary variable, the expression (1+s i ) / 2 makes it easy to convert to the discrete variables (bits) used in combinatorial optimization problems. Therefore, it is possible to find a solution to a combinatorial optimization problem by converting it into an Ising problem and having an Ising machine perform the calculations. The problem of finding a solution to minimize a quadratic objective function whose variables are discrete variables (bits) that take on the value of either 0 or 1 is called a QUBO (Quadratic Unconstrained Binary Optimization) problem. The Ising problem expressed by equation (1) can be said to be equivalent to a QUBO problem.
[0036] For example, quantum annealers, coherent Ising machines, and quantum bifurcation machines have been proposed as hardware implementations of Ising machines. Quantum annealers use superconducting circuits to achieve quantum annealing. Coherent Ising machines use the oscillation phenomenon of a network formed by optical parametric oscillators. Quantum bifurcation machines use the quantum mechanical bifurcation phenomenon in a network of parametric oscillators with the Kerr effect. While these hardware implementations have the potential to significantly reduce calculation times, they also have issues such as difficulty in scaling up and operating stably.
[0037] Therefore, it is also possible to solve the Ising problem using a widely used digital computer. Digital computers are easier to scale up and operate stably than hardware implementations that use the physical phenomena described above. Simulated annealing (SA) is one example of an algorithm for solving the Ising problem using a digital computer. Technologies are being developed to run simulated annealing faster. However, because general simulated annealing is a sequential update algorithm in which each variable is updated sequentially, it is difficult to speed up the calculation process by parallelization.
[0038] In consideration of the above-mentioned problems, a simulated bifurcation algorithm has been proposed that can quickly solve large-scale combinatorial optimization problems by parallel calculations in a digital computer. Hereinafter, an information processing device, an information processing system, an information processing method, a storage medium, and a program that use the simulated bifurcation algorithm to solve combinatorial optimization problems will be described.
[0039] First, an overview of the simulated bifurcation algorithm is given.
[0040] In the simulated bifurcation algorithm, there are two variables x i ,y i For (i=1, 2, . . . , N), we numerically solve the simultaneous ordinary differential equations in (2) below.i Each of the spins s of the Ising model i On the other hand, the N variables y i Each of these corresponds to momentum. i ,y i In the following, we assume that the variables x i The vector with elements (i=1, 2, . . . , N) is the first vector, and the variable y i A vector whose elements are (i=1, 2, . . . , N) is called a second vector.
number
[0041] Here, H is the Hamiltonian of the following equation (3).
number
[0042] In (2), instead of the Hamiltonian H in equation (3), we use the term G(x1, x2, x N ) can be used. In addition to the Hamiltonian H, we can use the term G(x1, x2, . . . x N ) is called the extended Hamiltonian and is distinguished from the original Hamiltonian H.
number
[0043] Referring to the Hamiltonian in equation (3) and the extended Hamiltonian in equation (4), each term is the element x of the first vector. i or element y of the second vector i As shown in the following formula (5), the element x of the first vector i The term U and the element y of the second vector i One may use an extended Hamiltonian which can be separated into V terms:
number
[0044] In the calculation of the time evolution of the simulated bifurcation algorithm, the variable x i ,y i The value of (i=1, 2, . . . , N) is repeatedly updated. Then, when a certain condition is met, the variable x i By converting i (i=1, 2, . . . , N) can be obtained. In the following, the processing will be explained assuming that a time evolution calculation is performed. However, the calculation of the simulated bifurcation algorithm may be performed in a method other than the time evolution.
[0045] In (2) and (3), the coefficient D corresponds to detuning. The coefficient p(t) corresponds to the first coefficient described above and is also called the pumping amplitude. In the calculation of the time evolution, the value of the coefficient p(t) can be monotonically increased according to the number of updates. The initial value of the coefficient p(t) may be set to 0.
[0046] In the following, an example will be described in which the first coefficient p(t) is a positive value and the value of the first coefficient p(t) increases with the number of updates. However, the sign of the algorithm presented below may be inverted to use a negative first coefficient p(t). In this case, the value of the first coefficient p(t) monotonically decreases with the number of updates. In either case, however, the absolute value of the first coefficient p(t) monotonically increases with the number of updates.
[0047] The coefficient K corresponds to a positive Kerr coefficient. A constant coefficient can be used as the coefficient c. For example, the value of the coefficient c may be determined before the calculation is performed by the simulated bifurcation algorithm. For example, the coefficient c may be set to J (2) It can be set to a value close to the reciprocal of the largest eigenvalue of the matrix. For example, a value of c = 0.5D√(N / 2n) can be used. Here, n is the number of edges in the graph related to the combinatorial optimization problem. Also, a(t) is a coefficient that increases with p(t) when calculating the time evolution. For example, √(p(t) / K) can be used as a(t). Note that the local magnetic field vector h in (3) and (4) i can be omitted.
[0048] For example, when the value of the coefficient p(t) exceeds a certain value, the positive variable x i +1, the negative variable x i to -1, the spin s i A solution vector having elements of can be obtained. This solution vector corresponds to the solution of the Ising problem. Note that, based on the number of times the first vector and the second vector are updated, it may be determined whether or not to perform the above-mentioned conversion and obtain a solution vector.
[0049] When calculating the simulated bifurcation algorithm, the above (2) can be converted into a discrete recurrence formula using the symplectic Euler method and solved. The following (6) shows an example of the simulated bifurcation algorithm after conversion into a recurrence formula.
number
[0050] In (6), the term in the third row comes from the Ising energy. Since the form of this term is determined according to the problem to be solved, we call it the problem term.
[0051] When calculating the time evolution of a simulated bifurcation algorithm, the value of p(t) is increased from an initial value (e.g., 0) to a given value, and the time evolution of the variable x i Based on the sign of i For example, we can find the value of x i >0, sgn(x i )=+1,x i < 0, sgn(x i ) = -1, the value of p(t) increases to a certain value, and the variable x i By transforming with the sign function, the spin s i We can find the value of x as a sign function. i When ≠ 0, sgn(x i )=x i / |x i |, x i When sgn(x = 0, i) = +1 or -1. i For example, the solution (solution vector) of the combinatorial optimization problem may be obtained when the number of updates of the first vector and the second vector, the value of the first coefficient p, or the value of the objective function becomes greater than a threshold value.
[0052] The flowchart in Fig. 6 shows an example of a process for calculating a solution of a simulated bifurcation algorithm by time evolution. The process will be described below with reference to Fig. 6.
[0053] First, the calculation server receives the matrix J corresponding to the problem from the management server 1. ij and vector h i (Step S101). Then, the calculation server initializes the coefficients p(t) and a(t) (Step S102). For example, the values of the coefficients p and a can be set to 0 in Step S102, but the initial values of the coefficients p and a are not limited. Next, the calculation server obtains the first variable x i and the second variable y i (Step S103) Here, the first variable x i are the elements of the first vector. Also, the second variable y i is an element of the second vector. In step S103, the calculation server i and y i may be initialized to 0. However, x i and y i The method of initialization of the variables is not limited to the above. As will be described later, the variables may be initialized at a different timing. Furthermore, at least one of the variables may be initialized multiple times.
[0054] Next, the calculation server calculates the element y of the second vector. i Based on the first vector's corresponding element x i (Step S104). For example, the calculation server updates the element x iThe element y of the second vector corresponding to i For example, in step S104, the first vector is updated by weighting and adding the variable x i Δt×D×y i Then, the calculation server adds the element y i (steps S105 and S106). For example, in step S105, the variable y i Δt×[(pDK×x i x i )×x i In step S106, the variable y i -Δt×c×h i ×a-Δt×c×ΣJ ij x j can be added.
[0055] Next, the calculation server updates the values of the coefficients p and a (step S107). For example, a constant value (Δp) can be added to the coefficient p, and the coefficient a can be set to the positive square root of the updated coefficient p. However, as will be described later, this is only one example of a method for updating the values of the coefficients p and a. Then, the calculation server determines whether the number of updates of the first vector and the second vector is less than a threshold value (step S108). If the number of updates is less than the threshold value (YES in step S108), the calculation server executes the processes of steps S104 to S107 again. If the number of updates is equal to or greater than the threshold value (NO in step S108), the calculation server updates the element x i The solution vector is based on the spin s i In step S109, for example, a variable x i +1, the negative variable x i to -1 to obtain the solution vector.
[0056] In addition, in the determination of step S108, if the number of updates is less than the threshold value (YES in step S108), the value of the Hamiltonian may be calculated based on the first vector, and the first vector and the value of the Hamiltonian may be stored. This allows the user to select an approximate solution that is closest to the optimal solution from multiple first vectors.
[0057] At least one of the processes shown in the flowchart of Fig. 6 may be executed in parallel. For example, the processes of steps S104 to S106 may be executed in parallel so that at least a part of the N elements of each of the first vector and the second vector is updated in parallel. For example, the processes may be parallelized using a plurality of calculation servers. The processes may be parallelized by a plurality of processors. However, the implementation for realizing the parallelization of the processes and the manner of the parallelization of the processes are not limited.
[0058] The variable x shown in steps S105 to S106 above i and y i The execution order of the update process of is only an example. Therefore, the variable x i and y i For example, the update process of the variable x i Update process and variable y i The order of the update processes of the variables may be changed. The order of the sub-processes included in the update process of each variable is not limited. For example, i The order of execution of the addition process for the variables x may be different from that shown in FIG. 6. The order and timing of execution of the processes that are the premise for executing the update process for each variable are not particularly limited. For example, i This may be done in parallel with other processes, including the update of the variable x i and y i The order and timing of execution of the update process, the sub-processes included in the update process of each variable, and the calculation process of the problem term are not limited, and this also applies to the processes in each flowchart shown below.
[0059] [Variations in variable initialization processing] The first vector obtained in the calculation process of an optimization problem does not necessarily correspond to an optimal solution or an approximate solution close to the optimal solution (called a practical solution). For example, the first vector obtained after executing the process of the flowchart in FIG. 6 may be a local solution different from a practical solution. Also, depending on the shape of the potential formed by the extended Hamiltonian, the first vector may be stuck near a local solution during the calculation process (for example, in one of the iterations in the loop process in FIG. 6). Also, in order to obtain a practical solution within a limited calculation time, it is desirable to use an algorithm that can search a wide range of the solution space.
[0060] In the flowchart of Figure 6, the first variable x i and the second variable y i Before the loop for updating the first variable x i and the second variable y i The initialization process for the first variable x i and the second variable y i For example, if the simulated bifurcation algorithm is interpreted as a physical model that calculates the motion state of N particles, the first variable x i is the position of each particle, and the second variable y i corresponds to the momentum of each particle. Therefore, in a physical model, the second variable y i The process of initializing corresponds to the process of changing the motion state of the corresponding particle. For example, the second variable y i By increasing the number of times that the initialization process is performed, the frequency with which the corresponding particle's motion state is changed can be increased. In addition, the second variable y i By initializing x, we can randomly change the motion state of the corresponding particle. At each iteration, the first variable x i is the second variable y i The second variable y i By increasing the number of times that the initialization of iThe behavior of also changes. This prevents the first vector from getting stuck near a local solution during the calculation process, and allows a wider area of the solution space to be searched. By being able to search multiple local solutions, the probability of obtaining an optimal solution or an approximate solution close to the optimal solution can be increased.
[0061] Note that the first variable x is generated using pseudorandom numbers. i and the second variable y i When performing the initialization process of the above, the type of random numbers to be used is not limited. For example, the variables may be initialized using uniform random numbers or normal random numbers.
[0062] That is, the pseudo-random numbers generated by the processing circuitry of the information processing device may be normal random numbers, or uniform random numbers.
[0063] The flowchart in FIG. 7 shows an example of an algorithm according to the first modification. The process will be described below with reference to FIG. 7. Here, the first variable x i are the elements of the first vector and the second variable y i Let be the elements of the second vector.
[0064] First, the calculation server receives the matrix J corresponding to the problem from the management server 1. ij and vector h i Then, the maximum absolute value y0 of the pseudorandom number is determined (step S110). For example, when y0=0.1 is set, a pseudorandom number of (-0.1, +0.1) is generated. However, the set value of y0 may be different from this. For example, the second variable y i The first variable x after initialization i If you want to increase the amount of change in y, you can increase the setting value of y0. i After initialization, the first variable x iIf it is desired to suppress the amount of change in y0, the set value of y0 can be made small. Note that the pseudorandom number seed s0 may be determined at the timing of step S110. The pseudorandom number seed s0 may be a value that is determined automatically or may be a value that is specified by the user.
[0065] Next, the calculation server calculates the first variable x i (Step S111). For example, x i You can initialize x with pseudorandom numbers. i You can initialize x to 0. i There is no restriction on the method of initialization of p(t), a(t), and t. Then, the calculation server initializes the coefficients p(t), a(t), and t (step S112). Also, the variable t may be initialized in step S112. For example, the values of p, a, t, and t can be set to 0 in step S112, but the initial values of p, a, t, and t are not limited.
[0066] Next, the calculation server calculates the second variable y i is initialized by a pseudo-random number (step S113). In order to perform the determination process of step S116 described later, the calculation server may increment the counter variable τ in step S113. As a result, the second variable y i The number of times the counter variable t is initialized can be counted. If a counter variable t is used in the determination in step S115 described later, the counter variable t may be initialized in step S113. For example, the value of t can be set to 0.
[0067] Then, the calculation server performs the calculation process of the time evolution and calculates the first variable x i , the second variable y i , and update the coefficient p and the coefficient a (step S114). For example, the calculation server can execute the process corresponding to steps S104 to S107 in Fig. 6 in step S114. When a variable t is used, for example, Δt may be added to t.
[0068] Next, the calculation server judges whether the number of updates of the first vector and the second vector is less than the first threshold value (step S115). If the number of updates is less than the first threshold value (YES in step S115), the calculation server executes the process of step S114 again. If the number of updates is equal to or greater than the first threshold value (NO in step S115), the calculation server performs the process of step S114 again. i It is determined whether the number of initializations of is less than a second threshold (step S116). In this case, the value of the counter variable τ can be compared with the second threshold in step S116.
[0069] Second variable y i If the number of initializations of the second variable y is less than the second threshold value (YES in step S116), the calculation server executes the process from step S113 onward again. i is initialized by a pseudorandom number (step S113), and then a calculation process of time evolution is performed (step S114). i If the number of initializations of the first variable x i Spin s i Transform it into matrix J ij , vector h i and spin s i (Step S117) For example, in step S117, the value of the energy function can be calculated based on (1).
[0070] The calculation server may store the first vector in a storage area after executing each iteration in the loop process (for example, at the timing of step S115 or step S116). Similarly, the calculation server may store the second vector in a storage area after executing each iteration in the loop process (for example, at the timing of step S115 or step S116). In this case, in step S117, the calculation server can calculate the value of the extended Hamiltonian using multiple combinations of the first vector and the corresponding second vector. This allows the calculation server to select the first vector that is closest to the optimal solution based on the value of the extended Hamiltonian. Then, the calculation server assigns the selected first vector to a vector with spin s i It may be converted into a vector (solution vector).
[0071] Then, the calculation server calculates the spin s i The calculation server outputs the vector of the spin s and the value of the objective function (step S118). For example, the calculation server outputs the vector of the spin s i The calculation server can also display the values of the vector and Hamiltonian of . The calculation server can also store the spin s i You may also save the vector of and the value of the Hamiltonian.
[0072] Steps S117 and S118 may be executed by an information processing device other than the calculation server. For example, the management server 1 may execute the processes of steps S117 and S118. Furthermore, the contents of the processes executed at the timing of steps S117 and S118 may differ from those in FIG. 7. For example, instead of calculating the value of the energy function of (1), the value of the Hamiltonian of (3) or (4) may be calculated. Then, based on the value of the Hamiltonian, a first vector closest to the optimal solution may be selected. If the spin s is included in the parameters of the Hamiltonian, i If not, the process of converting the first vector into a solution vector may be skipped.
[0073] By calculating the value of the objective function or the extended Hamiltonian, the closeness of the first vector to the optimal solution can be evaluated. For example, when the definitions of (1), (3), and (4) are used, the smaller the value of the Hamiltonian, the closer the first vector is to the optimal solution. For this reason, the calculation process of the value of the objective function or the extended Hamiltonian can be called a solution evaluation process. In the flowchart of FIG. 7, the solution evaluation process is performed in step S117, but the solution evaluation process may be performed at a different timing. For example, the solution evaluation process may be performed after each iteration in the loop process is performed (for example, at the timing of step S115 or step S116). In the solution evaluation process, not only the first vector but also the corresponding objective function or extended Hamiltonian value may be stored in a storage area.
[0074] The flowchart in FIG. 8 shows an example of an algorithm according to the modified example 2. The flowchart in FIG. 8 shows the case where the determination in step S116 is positive (the second variable y i 8 is different from the flowchart in FIG. 7 in that the process executed when the number of initializations of the second variable y i If the number of initializations of the second variable y is less than the second threshold value (YES in step S116), i 8. In addition to the initialization process (step S113) of the coefficients p(t) and a(t), the initialization process (step S112) of the coefficients p(t) and a(t) is also performed. Except for this difference, the processes performed in the flowchart of FIG. 8 are the same as those in the flowchart of FIG.
[0075] The flowchart of Fig. 9 shows a first example of the process executed in step S114 of Fig. 7 and Fig. 8. In the flowchart of Fig. 9, i (step S1141), update process of the second variable y i (step S1142), and then updating t, p, and a (step S1143).
[0076] On the other hand, the flowchart of Fig. 10 shows a second example of the process executed in step S114 of Fig. 7 and Fig. 8. In the flowchart of Fig. 10, the second variable y i (step S1142), the first variable x i (step S1141), and then updating t, p, and a (step S1143). i may be updated first, or the second variable y i may be updated first. The execution order of the update process of each variable and the sub-processes within the update process of each variable is not limited.
[0077] The calculation process of the time evolution shown in Figures 9 and 10 is just an example. Therefore, the calculation process of the time evolution may be different from the process shown in Figures 9 and 10.
[0078] Next, examples of data used in processing executed in an information processing device or an information processing system will be shown.
[0079] The table in Figure 11 shows the matrix J in (1)-(4) and (6). ij The table in Figure 12 shows an example of the vector h in (1) to (4) and (6). i FIG. 13 shows an example of the maximum absolute value y0 of the random number. FIG. 14 shows an example of a first vector obtained when y0 of FIG. 13 is used. Meanwhile, FIG. 15 shows an example of a second vector obtained when y0 of FIG. 13 is used. FIG. 16 shows an example of the solution vector and Hamiltonian values obtained in step S117 of FIG. 7 or FIG. 8.
[0080] By executing the algorithms shown in Figures 7 to 10 above, it is possible to search a wider range of the solution space, regardless of the number of local solutions. This makes it possible to obtain a practical solution within a limited calculation time. It also makes it possible to solve larger-scale combinatorial optimization problems in a shorter period of time.
[0081] [When calculating the Hamiltonian multiple times and comparing] The flowcharts in Figures 7 to 10 are merely examples of processes that can be executed by the information processing device and the information processing system. Therefore, the information processing device and the information processing system may obtain a solution to a combinatorial optimization problem by a process different from the above. Below, an example of a process in which the Hamiltonian is calculated multiple times and compared will be described.
[0082] The flowcharts in Figures 17 and 18 show an example of an algorithm according to Modification 3. The process will be described below with reference to Figures 17 and 18. Here, the first variable x i are the elements of the first vector and the second variable y i Let be the elements of the second vector.
[0083] First, the calculation server receives the matrix J corresponding to the problem from the management server 1. ij and vector h i Then, the maximum absolute value y0 of the pseudorandom number is determined (step S121). For example, when y0=0.1 is set, a pseudorandom number of (-0.1, +0.1) is generated. However, the set value of y0 may be different from this. For example, the second variable y i After initialization, the first variable x i If you want to increase the amount of change in y, you can increase the setting value of y0. i After initialization, the first variable x i If it is desired to suppress the amount of change in y0, the set value of y0 can be made small. Note that the pseudorandom number seed s0 may be determined at the timing of step S121. The pseudorandom number seed s0 may be a value that is automatically determined, or may be a value that is specified by the user.
[0084] Next, the calculation server calculates the first variable x i (step S122). For example, x i You can initialize x with pseudorandom numbers. i You can initialize x to 0. iThere is no restriction on the method of initialization of p(t), a(t), and t. Then, the calculation server initializes the coefficients p(t), a(t), and t (step S123). Also, the variable t may be initialized in step S123. For example, the values of p, a, t, and t can be set to 0 in step S123, but the initial values of p, a, t, and t are not limited.
[0085] Next, the calculation server calculates the second variable y i is initialized by a pseudorandom number (step S124). In order to perform the determination process of step S130 described later, the calculation server may increment the counter variable τ in step S124. As a result, the second variable y i The number of times the counter variable t is initialized can be counted. If a counter variable t is used in the determination in step S126 described later, the counter variable t may be initialized in step S124. For example, the value of t can be set to 0.
[0086] Then, the calculation server performs the calculation process of the time evolution and calculates the first variable x i , the second variable y i , and update the coefficient p and the coefficient a (step S125). For example, the calculation server can execute processes corresponding to steps S104 to S107 in Fig. 6 in step S125. Also, the calculation server may execute processes corresponding to Fig. 9 or Fig. 10 in step S125. When a variable t is used, for example, Δt may be added to t.
[0087] Next, the calculation server judges whether the number of updates of the first vector and the second vector is less than the first threshold value (step S126). If the number of updates is less than the first threshold value (YES in step S126), the calculation server executes the process of step S125 again. If the number of updates is equal to or greater than the first threshold value (NO in step S126), the calculation server performs the process of step S125 again. i Spin s i Transform it into matrix J ij , vector h i and spin s i(Step S127) The value of the Hamiltonian is calculated based on (1). For example, the value of the Hamiltonian can be calculated based on (1).
[0088] Then, the calculation server refers to the storage area 60 and judges whether the value of the Hamiltonian calculated in the previous step is the smallest value so far (step S128). If the value of the Hamiltonian calculated in the previous step is the smallest value so far (YES in step S128), the calculation server stores the calculated value of the Hamiltonian and the spin s i The calculation server stores the vector (solution vector) in the memory area 60 (step S129). In step S129, the calculation server may store the first vector in the memory area 60. The memory area 60 may be a memory area of the shared memory 32 or the storage 34. Also, the memory area 60 may be a memory area of a storage device external to the calculation server or a cloud storage. However, the location of the memory area 60 is not limited. If the memory area 60 is sufficiently large, the calculation server may skip the determination in step S128 and execute the process of step S129. After executing the process of step S129, the calculation server proceeds to the process of step S130.
[0089] If the value of the Hamiltonian calculated in step S127 is not the smallest value so far (NO in step S128), the calculation server skips the process of step S129 and proceeds to the process of step S130.
[0090] In step S130, the calculation server calculates the second variable y i In step S130, the value of the counter variable τ may be compared with the second threshold value. i If the number of initializations of the second variable y is less than the second threshold value (YES in step S130), the calculation server executes the process from step S124 onward again. i is initialized by pseudorandom numbers (step S124), and then a calculation process of time evolution is executed (step S125).
[0091] Second variable y i If the number of initializations of is equal to or greater than the threshold (NO in step S130), the calculation server refers to the storage area 60 and i The calculation server outputs the vector of spin s and the value of Hamiltonian (step S131). In step S131, it is possible to output the solution vector that is closest to the optimal solution among the solution vectors obtained in the past iterations. Also, when the first vector is stored in the storage area 60 in step S139, the calculation server may convert the first vector into a solution vector in step S161. For example, the calculation server may display the spin s on the screen of the client terminal 6. i The calculation server may display the vector and Hamiltonian values of spin s i The vector and Hamiltonian values may be transferred.
[0092] By executing the processes of FIG. 17 and FIG. 18, the first vector closest to the optimal solution is automatically selected based on the value of the Hamiltonian, and the spin s based on the first vector is calculated. i This allows us to search a wider range of the solution space and obtain a practical solution within a limited computation time.
[0093] In the flowcharts of Figures 17 and 18, the energy function of (1) was used as the Hamiltonian. However, other forms of Hamiltonian, such as the Hamiltonian of (3) or the extended Hamiltonian of (4), may be used. Therefore, the parameters of the Hamiltonian are the first variable x i and the second variable y i If so, the process of converting the first vector into a solution vector may be skipped.
[0094] As described above, the processing circuit of the information processing device may be configured to, after repeatedly updating the first vector and the second vector, calculate a value of a Hamiltonian based on the first vector, store the values of the first vector and the Hamiltonian in a memory unit, and then repeat updating the first vector and the second vector again.
[0095] In addition, the processing circuit of the information processing device may be configured to, after repeatedly updating the first vector and the second vector, calculate a solution vector from the first vector by converting a first variable that is a positive value to a first value and converting a first variable that is a negative value to a second value smaller than the first value, calculate a value of a Hamiltonian (objective function) based on the solution vector, store the values of the solution vector and the Hamiltonian (objective function) in a memory unit, and then repeat the updating of the first vector and the second vector again.
[0096] [Adjustment of maximum absolute value of pseudorandom number] In the above, the second variable y i In the above example, the second variable y is initialized by a pseudorandom number. The information processing device and the information processing system may change the nature of the pseudorandom number used depending on the iteration of the loop process. For example, in an early iteration, the maximum absolute value of the pseudorandom number to be generated can be set to a relatively large value. This allows the second variable y i After initialization, the first variable x i and the second variable y i The change in y becomes larger, making it possible to search a wider range of the solution space. This increases the probability of finding an optimal solution from multiple local solutions. On the other hand, in the later iterations, the maximum absolute value of the pseudorandom numbers generated can be set to a relatively small value. This allows the second variable y i After initialization, the first variable x i and the second variable y i Therefore, when the first vector reaches the vicinity of the optimal solution through multiple update processes, the first vector can be brought closer to the optimal solution, thereby improving the accuracy of the calculation.
[0097] An example of processing in which the maximum absolute value of the pseudorandom numbers used is changed depending on the iteration of the loop processing will be described below.
[0098] The flowchart in Fig. 19 shows an example of an algorithm according to the fourth modification. The process will be described below with reference to Fig. 19. Here, the first variable x i are the elements of the first vector and the second variable y i Let be the elements of the second vector.
[0099] First, the calculation server receives the matrix J corresponding to the problem from the management server 1. ij and vector h i and determines a coefficient y0 used to generate pseudorandom numbers (step S141). For example, when the maximum absolute value of the pseudorandom numbers is set to 0.1, pseudorandom numbers of (-0.1, +0.1) are generated. For example, y0 can be set to 0.1. However, the set value of y0 may be different from this. Note that a seed s0 of the pseudorandom numbers may be determined at the timing of step S141. The seed s0 of the pseudorandom numbers may be a value that is automatically determined, or may be a value that is specified by the user.
[0100] Next, the calculation server calculates the first variable x i (step S142). For example, x i You can initialize x with pseudorandom numbers. i You can initialize x to 0. i There is no restriction on the method of initialization of p(t), a(t), and t. Then, the calculation server initializes the coefficients p(t), a(t), and t (step S143). Also, the variable t may be initialized in step S143. For example, the values of p, a, t, and t can be set to 0 in step S143, but the initial values of p, a, t, and t are not limited.
[0101] Next, the calculation server increments the counter variable τ and increments the second variable y iis initialized by a pseudorandom number with the maximum absolute value y0+dy×τ (step S144). A negative value can be used as dy. For example, as shown in FIG. 20, dy may be set to −0.01. The counter variable τ is a function of the second variable y i It is used to count the number of initializations of . Since the maximum absolute value of the pseudorandom number is given by y0 + dy × τ (dy < 0), by incrementing τ in each iteration of the loop processing, it is possible to monotonically decrease the maximum absolute value of the pseudorandom number. This makes it possible to perform calculations with high accuracy.
[0102] Then, the calculation server performs the calculation process of the time evolution and calculates the first variable x i , the second variable y i , and update the coefficient p and the coefficient a (step S145). For example, the calculation server can execute processes corresponding to steps S104 to S107 in Fig. 6 in step S145. Also, the calculation server may execute processes corresponding to Fig. 9 or Fig. 10 in step S145. When a variable t is used, for example, Δt may be added to t.
[0103] Next, the calculation server judges whether the number of updates of the first vector and the second vector is less than the first threshold value (step S146). If the number of updates is less than the first threshold value (YES in step S146), the calculation server executes the process of step S145 again. If the number of updates is equal to or greater than the first threshold value (NO in step S146), the calculation server calculates the second variable y i It is determined whether the number of initializations is less than a second threshold value (step S147).
[0104] Second variable y i If the number of initializations of the second variable y is less than the second threshold value (YES in step S147), the calculation server executes the process from step S144 onward again. i is initialized by a pseudorandom number with the maximum absolute value y0+dy×τ (step S144), and then a calculation process of the time evolution is executed (step S145).
[0105] Second variable y i If the number of initializations of the first variable x i Spin s i Transform it into matrix J ij , vector h i and spin s i For example, in step S148, the value of the Hamiltonian can be calculated based on (1). Then, the calculation server calculates the value of the Hamiltonian based on the spin s i The calculation server outputs the vector of the spin s and the value of the Hamiltonian (step S149). For example, the calculation server outputs the vector of the spin s i The calculation server may display the vector and Hamiltonian values of spin s i The computation server may also transfer the vector of spin s and the Hamiltonian to an external storage device or cloud storage. i You may also save the vector of and the value of the Hamiltonian.
[0106] Note that the maximum absolute value of the pseudorandom number used in Fig. 19, y0 + dy × τ (dy < 0), is just one example. Therefore, the maximum absolute value of the pseudorandom number may be defined by a formula different from this.
[0107] As shown in the flowcharts of FIGS. 21 and 22 described later, the information processing device and the information processing system may (1) adjust the maximum absolute value of the pseudorandom number, and further (2) calculate the Hamiltonian multiple times and compare the values of the Hamiltonian.
[0108] The flowcharts in Figures 21 and 22 show an example of an algorithm according to the fifth modification. The process will be described below with reference to Figures 21 and 22. Here, the first variable x i are the elements of the first vector and the second variable y i Let be the elements of the second vector.
[0109] First, the calculation server receives the matrix J corresponding to the problem from the management server 1. ij and vector h i and determines a coefficient y0 used to generate pseudorandom numbers (step S151). For example, when the maximum absolute value of the pseudorandom numbers is set to 0.1, pseudorandom numbers of (-0.1, +0.1) are generated. For example, y0 can be set to 0.1. However, the set value of y0 may be different from this. Note that a seed s0 of the pseudorandom numbers may be determined at the timing of step S151. The seed s0 of the pseudorandom numbers may be a value that is automatically determined, or may be a value that is specified by the user.
[0110] Next, the calculation server calculates the first variable x i (step S152). For example, x i You can initialize x with pseudorandom numbers. i You can initialize x to 0. i There is no restriction on the method of initialization of p(t), a(t), and t. Then, the calculation server initializes the coefficients p(t), a(t), and t (step S153). Also, the variable t may be initialized in step S153. For example, the values of p, a, t, and t can be set to 0 in step S153, but the initial values of p, a, t, and t are not limited.
[0111] Next, the calculation server increments the counter variable τ and increments the second variable y i is initialized by a pseudorandom number with the maximum absolute value y0+dy×τ (step S154). A negative value can be used as dy. For example, as shown in FIG. 20, dy may be set to −0.01. The counter variable τ is a function of the second variable y i It is used to count the number of initializations of . Since the maximum absolute value of the pseudorandom number is given by y0 + dy × τ (dy < 0), by incrementing τ in each iteration of the loop processing, it is possible to monotonically decrease the maximum absolute value of the pseudorandom number. This improves the calculation accuracy.
[0112] Then, the calculation server performs the calculation process of the time evolution and calculates the first variable x i, the second variable y i , and update the coefficient p and the coefficient a (step S155). For example, the calculation server can execute processes corresponding to steps S104 to S107 in Fig. 6 in step S155. Also, the calculation server may execute processes corresponding to Fig. 9 or Fig. 10 in step S155. When a variable t is used, for example, Δt may be added to t.
[0113] Next, the calculation server judges whether the number of updates of the first vector and the second vector is less than the first threshold value (step S156). If the number of updates is less than the first threshold value (YES in step S156), the calculation server executes the process of step S155 again. If the number of updates is equal to or greater than the first threshold value (NO in step S156), the calculation server performs the process of step S155 again. i Spin s i Transform it into matrix J ij , vector h i and spin s i (Step S157) The value of the Hamiltonian is calculated based on (1). For example, the value of the Hamiltonian can be calculated based on (1).
[0114] Then, the calculation server refers to the storage area 60 and judges whether the value of the Hamiltonian calculated in the previous step is the smallest value so far (step S158). If the value of the Hamiltonian calculated in the previous step is the smallest value so far (YES in step S158), the calculation server stores the calculated value of the Hamiltonian and the spin s iThe calculation server stores the vector (solution vector) in the memory area 60 (step S159). In step S159, the calculation server may store the first vector in the memory area 60. The memory area 60 may be a memory area of the shared memory 32 or the storage 34. Also, the memory area 60 may be a memory area of a storage device external to the calculation server or a cloud storage. However, the location of the memory area 60 is not limited. If the memory area 60 is sufficiently large, the calculation server may skip the determination in step S158 and execute the process of step S159. After executing the process of step S159, the calculation server proceeds to the process of step S160.
[0115] If the value of the Hamiltonian calculated in step S157 is not the smallest value so far (NO in step S158), the calculation server skips the process of step S159 and proceeds to the process of step S160.
[0116] In step S160, the calculation server calculates the second variable y i In step S160, the value of the counter variable τ may be compared with the second threshold value. i If the number of initializations of the second variable y is less than the second threshold value (YES in step S160), the calculation server executes the process from step S154 onward again. i is initialized by a pseudorandom number with the maximum absolute value y0+dy×τ (step S154), and then a calculation process of time evolution is executed (step S155).
[0117] Second variable y i If the number of initializations of is equal to or greater than the threshold (NO in step S160), the calculation server refers to the storage area 60 and iThe calculation server outputs the vector of spin s and the value of Hamiltonian (step S161). In step S161, it is possible to output the solution vector that is closest to the optimal solution among the solution vectors obtained in the past iterations. Also, when the first vector is stored in the storage area 60 in step S159, the calculation server may convert the first vector into a solution vector in step S161. For example, the calculation server may display the spin s on the screen of the client terminal 6. i The calculation server may display the vector and Hamiltonian values of spin s i The vector and Hamiltonian values may be transferred.
[0118] By executing the processes of FIG. 21 and FIG. 22, a first vector closest to the optimal solution is automatically selected based on the value of the Hamiltonian, and a spin s based on the first vector is calculated. i It is possible to obtain a vector (solution vector) of . This makes it possible to search a wider range of the solution space and obtain a practical solution within a limited calculation time. It is also possible to improve the accuracy of the calculation by adjusting the maximum absolute value of the pseudorandom number.
[0119] In the flowcharts of Figures 21 and 22, the energy function of (1) is used as the Hamiltonian. However, other forms of Hamiltonian, such as the Hamiltonian of (3) or the extended Hamiltonian of (4), may be used. Therefore, the parameters of the Hamiltonian are the first variable x i and the second variable y i If so, the process of converting the first vector into a solution vector may be skipped.
[0120] As described above, the processing circuit of the information processing device may be configured to change the maximum absolute value of the pseudorandom number depending on the number of times the second variable of the second vector is initialized. Also, the processing circuit of the information processing device may be configured to monotonically decrease the maximum absolute value of the pseudorandom number depending on the number of times the second variable of the second vector is initialized.
[0121] Here, an example has been described in which the maximum absolute value of the pseudorandom numbers is changed depending on the iteration in the loop process. However, the properties of the generated pseudorandom numbers may be changed using a different method. For example, the type of algorithm used to generate the pseudorandom numbers may be changed depending on the iteration. Also, the seed value used to generate the pseudorandom numbers may be changed depending on the iteration.
[0122] The graph in FIG. 23 shows an example of the results when calculations are performed using the algorithm in FIG. 6. The horizontal axis in FIG. 23 is the normalized first variable x i On the other hand, the vertical axis of Figure 23 (height of the bar graph) shows the value of the first variable x i The frequency of taking values in each range is shown in Fig. 23. In Fig. 23, the solid curve corresponds to the value of the Hamiltonian. In the graph of Fig. 23, the maximum peak of this curve corresponds to the optimal solution. In Fig. 23, the dashed line indicates the first variable x i In the example in Figure 23, the value of “normalized x i The vicinity of ”=1 corresponds to the optimal solution.
[0123] In the example in Figure 23, after the calculation the first variable x i The value of is frequently in a range that does not include the optimal solution (the range that does not include the dashed line). For this reason, the probability of obtaining an optimal solution through calculation is not high enough. In such cases, it is necessary to repeat the calculation process multiple times to obtain a practical solution. In solving combinatorial optimization problems, it is desirable to obtain a practical solution in as short a calculation time as possible.
[0124] The graph in Figure 24 shows an example of the results when calculations are performed using the algorithm in Figure 7. In Figure 24 as well, the solid curve corresponds to the value of the Hamiltonian, and the maximum peak of the curve corresponds to the optimal solution. In Figure 24 as well, the dashed line indicates the first variable x i The values of are shown.
[0125] In the example in Figure 24, after the calculation the first variable xi The frequency with which the value of falls within the range that includes the optimal solution (the range that includes the dashed line) is higher than the frequency with which it falls within other ranges. For this reason, the probability of obtaining an optimal solution through calculation processing is higher than in the example of Figure 23. For this reason, it is possible to obtain a practical solution to the combinatorial optimization problem in less calculation time than in the example of Figure 23.
[0126] The graph in Figure 25 shows an example of the results when calculations are performed using the algorithms in Figures 17 and 18. In Figure 25 as well, the solid curve corresponds to the value of the Hamiltonian, and the maximum peak of the curve corresponds to the optimal solution. In Figure 25 as well, the dashed line indicates the first variable x i The values of are shown.
[0127] In the example of Figure 25, the first variable x i The frequency with which the value of falls within the range that includes the optimal solution (the range that includes the dashed line) is higher than the frequency with which it falls within other ranges. Therefore, compared to the example in Figure 23, the optimal solution can be obtained with a higher probability. As a result, a practical solution to the combinatorial optimization problem can be obtained in less calculation time than in the example in Figure 23.
[0128] The graph in Figure 26 shows an example of the results when calculations are performed using the algorithms in Figures 21 and 22. In Figure 26, the solid curve corresponds to the value of the Hamiltonian, and the maximum peak of the curve corresponds to the optimal solution. In Figure 26, the dashed line also indicates the first variable x i The values of are shown.
[0129] In the example of Figure 26, after the calculation the first variable x i The frequency with which the value of falls within the range including the optimal solution (the range including the dashed line) is significantly higher than the frequency with which it falls within other ranges. For this reason, the optimal solution can be obtained with a higher probability than in the examples of Figures 23 to 25. For this reason, in the example of Figure 26, among the examples of Figures 23 to 26, it is possible to obtain a practical solution to the combinatorial optimization problem in the shortest calculation time.
[0130] In the information processing device and the information processing system according to the present embodiment, the second variable y i By performing the initialization multiple times, it is possible to search for a solution in a wider area of the solution space, regardless of the number of local solutions. This increases the probability of obtaining an optimal solution or an approximate solution close to it. Furthermore, by calculating the value of the Hamiltonian within the loop processing, if an optimal solution or an approximate solution close to it is reached during the calculation processing, it becomes possible to detect this without overlooking it. This makes it possible to provide the user with an information processing device or information processing system that calculates a solution to a combinatorial optimization problem within a practical time.
[0131] Examples of an information processing system, an information processing method, a storage medium, and a program are given below.
[0132] The information processing system may be configured to repeatedly update a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element. The information processing system may include a storage device and an information processing device. The storage device is configured to store the first variable and the second variable. The information processing device updates the first vector by weighting and adding the second variable corresponding to the first variable. The information processing device also weights the first variable with a first coefficient that monotonically increases or decreases according to the number of updates and adds it to the corresponding second variable, calculates a problem term using a plurality of first variables, and updates the second vector by adding the problem term to the second variable. Furthermore, after repeatedly updating the first vector and the second vector, the information processing device initializes the second variable of the second vector by a pseudorandom number, and repeats updating the first vector and the second vector again.
[0133] The information processing method may repeatedly update a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element. Here, the information processing method may include a step of updating the first vector by weighting and adding a second variable corresponding to the first variable, and a step of weighting the first variable by a first coefficient that monotonically increases or decreases according to the number of updates and adding it to the corresponding second variable, calculating a problem term using a plurality of first variables, and updating the second vector by adding the problem term to the second variable. Furthermore, the information processing method may include, after repeatedly updating the first vector and the second vector, initializing the second variable of the second vector by a pseudorandom number, and again repeating the update of the first vector and the second vector.
[0134] The program may cause the computer to repeatedly update a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element. Here, the program may include a step of updating the first vector by weighting and adding a second variable corresponding to the first variable, and a step of updating the second vector by weighting the first variable with a first coefficient that monotonically increases or decreases according to the number of updates and adding it to the corresponding previous two variables, calculating a problem term using a plurality of first variables, and adding the problem term to the second variable. The program may also cause the computer to execute a process of initializing the second variable of the second vector by a pseudorandom number after repeatedly updating the first vector and the second vector, and repeating the update of the first vector and the second vector again. Also, a non-transitory computer-readable storage medium may store the above-mentioned program.
[0135] [Calculation including many-body interactions] By using the simulated bifurcation algorithm, it is also possible to solve combinatorial optimization problems with cubic or higher order objective functions. The problem of finding a combination of variables that minimizes a cubic or higher order objective function with binary variables is called a HOBO (Higher Order Binary Optimization) problem. When dealing with the HOBO problem, the following equation (7) can be used as the energy formula for the Ising model extended to higher orders.
number
[0136] Both QUBO and HOBO can be considered to be a type of polynomial unconstrained binary optimization (PUBO). In other words, a combinatorial optimization problem with a quadratic objective function in PUBO is QUBO. Also, a combinatorial optimization problem with a cubic or higher objective function in PUBO is HOBO.
[0137] When solving the HOBO problem using the simulated bifurcation algorithm, the Hamiltonian H in the above equation (3) can be replaced with the Hamiltonian H in the following equation (8).
number
[0138] Furthermore, from equation (8), a problem term is derived using multiple first variables shown in equation (9) below.
number
[0139] When performing calculations including terms for many-body interactions, the recurrence formula (6) above is replaced by the recurrence formula (10) below.
number
[0140] The problem terms shown above are merely examples of problem terms that can be used by the information processing device according to this embodiment. Therefore, the format of the problem terms used in the calculation may be different from these.
[0141] [Algorithm Variations] Here, modified examples of the simulated branching algorithm will be described. For example, various modifications may be made to the above-described simulated branching algorithm in order to reduce errors or shorten calculation time.
[0142] For example, to reduce the computational error, additional processing may be performed when updating the first variable x i When the absolute value of becomes greater than 1, the first variable x i The value of sgn(x i ) by updating x i When the value becomes >1, the variable x iThe value of is set to 1. Also, when x i becomes -1 due to the update, the variable x i is set to -1. As a result, the spin s i can be approximated with higher precision using the variable x i . By including such processing, the algorithm becomes equivalent to a physical model of N particles with walls at positions where x i = ±1. More generally, the arithmetic circuit may be configured to set a first variable whose value is less than a second value to the second value, and a first variable whose value is greater than a first value to the first value.
[0143] Furthermore, when x i becomes greater than 1 due to the update, the variable y i corresponding to the variable x i may be multiplied by a coefficient rf. For example, using a coefficient rf where -1 < r ≤ 0, the above-mentioned wall becomes a wall with a reflection coefficient rf. In particular, when using a coefficient rf of rf = 0, the algorithm becomes equivalent to a physical model with walls where perfectly inelastic collisions occur at positions where x i = ±1. More generally, the arithmetic circuit may be configured to update a second variable corresponding to a first variable whose value is less than a first value, or a second variable corresponding to a first variable whose value is greater than a second value, to a value obtained by multiplying the original second variable by a second coefficient. For example, the arithmetic circuit may be configured to update a second variable corresponding to a first variable whose value is less than -1, or a second variable corresponding to a first variable whose value is greater than 1, to a value obtained by multiplying the original second variable by a second coefficient. Here, the second coefficient corresponds to the coefficient rf described above.
[0144] Note that when x i becomes greater than 1 due to the update, the variable y i corresponding to the variable x i may be set to a pseudo-random number. For example, a random number in the range [-0.1, 0.1] can be used. That is, the arithmetic circuit may be configured to set the value of a second variable corresponding to a first variable whose value is less than a second value, or the value of a second variable corresponding to a first variable whose value is greater than a first value, to a pseudo-random number.
[0145] In this way, |x i If the update process is performed to prevent |>1, the nonlinear terms K×x in (6) and (10) i 2 Even if you remove x i The value of will not diverge. Therefore, it is possible to use the algorithm shown in (11) below.
number
[0146] In the algorithm (11), the problem term uses a continuous variable x instead of a discrete variable. This may result in an error with the discrete variables used in the original combinatorial optimization problem. To reduce this error, as shown in (12) below, in the calculation of the problem term, the value sgn(x) obtained by converting the continuous variable x with the sign function can be used instead of the continuous variable x.
number
[0147] In (12), the coefficient α of the problem term containing a first-order tensor may be set to a constant (for example, α = 1). In the algorithm of (12), the product of spins appearing in the problem term always takes the value of either -1 or 1, so when dealing with a HOMO problem with a high-order objective function, it is possible to prevent errors due to product operations. As in the above algorithm of (12), the data calculated by the calculation server is further divided into the variables s i Let (s1,s2,...,s N ) By transforming each element of the first vector with a sign function, a vector of spins can be obtained.
[0148] [Example of parallelization of variable update processing] An example of parallelization of the update process of variables during the calculation of a simulated branching algorithm will be described below.
[0149] First, an example of implementing a simulated branching algorithm in a PC cluster will be described. A PC cluster is a system that connects multiple computers to achieve a calculation performance that cannot be obtained by a single computer. For example, the information processing system 100 shown in FIG. 1 includes multiple calculation servers and processors, and can be used as a PC cluster. For example, in a PC cluster, by using MPI (Message Passing Interface), it is possible to execute parallel calculations even in a configuration in which memory is distributed and arranged on multiple calculation servers such as the information processing system 100. For example, the control program 14E of the management server 1 and the calculation program 34B and control program 34C of each calculation server can be implemented using MPI.
[0150] If the number of processors used in the PC cluster is Q, then each processor is assigned the first vector (x1, x2, . . . , x N ) variable x i Similarly, each processor can be made to calculate the L variables of the second vector (y1, y2, . . . , y N ) variable y i In other words, processor #j (j=1, 2, . . . , Q) can calculate variables {x m |m=(j-1)L+1,(j-1)L+2,···,jL} and {y m Calculate |m=(j-1)L+1,(j-1)L+2,...,jL}. Also, {y m The tensor J shown in (13) below is required to calculate |m=(j-1)L+1,(j-1)L+2,...,jL}. (n) is assumed to be stored in a storage area (eg, a register, a cache, a memory, etc.) accessible to processor #j.
number
[0151] Here, we have described a case where each processor calculates a fixed number of variables of the first vector and the second vector. However, the number of elements (variables) of the first vector and the second vector to be calculated may differ depending on the processor. For example, if there is a performance difference depending on the processor implemented in the calculation server, the number of variables to be calculated can be determined according to the performance of the processor.
[0152] Variable y i To update the values of the first vector (x1, x2, . . . , x N ) are needed. The conversion to a binary variable can be done, for example, by using the sign function sgn(). So, we use the Allgather function to convert the first vector (x1, x2, . . . , x N ) can be shared by Q processors. N ), the values must be shared among processors, but the second vector (y1, y2, . . . , y N ) and tensor J (n) It is not necessary to share values between processors for . Data sharing between processors can be achieved, for example, by using inter-processor communication or by storing data in a shared memory.
[0153] Processor #j processes the problem term {z m Calculate the value of |m=(j-1)L+1,(j-1)L+2,...,jL}. Then, the processor #j calculates the calculated problem term {{z m Based on the value of |m=(j-1)L+1,(j-1)L+2, ,jL}, the variables {y m Update |m=(j-1)L+1,(j-1)L+2,···,jL}.
[0154] As shown in the above equations, the vector of problem terms (z1, z2, . . . , zN ), we use the tensor J(n) and the vector (x1, x2, . . . , x N ) is required. The multiply-and-accumulate operation is the most computationally intensive step in the above algorithm, and can be a bottleneck in improving calculation speed. Therefore, in the implementation on a PC cluster, the multiply-and-accumulate operation is distributed to Q=N / L processors and executed in parallel, thereby shortening the calculation time.
[0155] FIG. 27 shows an example of a multi-processor configuration. The multiple computing nodes in FIG. 27 correspond to, for example, multiple computing servers in the information processing system 100. The high-speed link in FIG. 27 corresponds to, for example, the interconnect between the computing servers formed by the cables 4a-4c and the switch 5 in the information processing system 100. The shared memory in FIG. 27 corresponds to, for example, the shared memory 32. The processor in FIG. 27 corresponds to, for example, the processors 33A-33D in each computing server. Although multiple computing nodes are shown in FIG. 27, this does not prevent the use of a single computing node configuration.
[0156] FIG. 27 shows the data placed in each component and the data transferred between components. In each processor, the variable x i , y i The value of variable x is calculated between the processor and the shared memory. i The shared memory of each computing node contains, for example, the first vector (x1, x2, . . . , x N ), the second vector (y1,y2,...,y N ) L variables, and the tensor J (n) In the high-speed link connecting the computing nodes, for example, the first vector (x1, x2, . . . , x N When using the Allgather function, the variable y i To update the first vector (x1, x2, , x N ) are required.
[0157] 27 is merely an example. There is no particular restriction on the method of data placement, transfer, and parallelization in a PC cluster.
[0158] Moreover, the calculation of the simulated branching algorithm may be performed using a GPU (Graphics Processing Unit).
[0159] FIG. 28 shows an example of a configuration using a GPU. FIG. 28 shows a plurality of GPUs connected to each other via a high-speed link. Each GPU is equipped with a plurality of cores that can access a shared memory. In addition, in the configuration example of FIG. 28, a plurality of GPUs are connected via a high-speed link to form a GPU cluster. For example, when a GPU is installed in each of the computation servers in FIG. 1, the high-speed link corresponds to an interconnect between the computation servers formed by the cables 4a to 4c and the switch 5. In addition, in the configuration example of FIG. 28, a plurality of GPUs are used, but even when one GPU is used, it is possible to perform parallel calculations. That is, each GPU in FIG. 28 can perform calculations equivalent to each computation node in FIG. 16. That is, the processor (processing circuit) of the information processing device (computation server) may be a core of a Graphics Processing Unit (GPU).
[0160] On the GPU, the variable x i and y i , and the tensor J (n) is defined as a device variable. The GPU uses the variable y i The tensor J required for updating (n) and the first vector (x1, x2, , x N ) can be calculated in parallel using the matrix vector multiplication function. The product of a tensor and a vector can be calculated by repeatedly multiplying a matrix and a vector. Also, if the first vector (x1, x2, , x N ) and the second vector (y1,y2,...,y N), except for the multiplication and addition, each thread is assigned the i-th element (x i ,y i ) update process, thereby achieving parallel processing.
[0161] The information processing device may include a plurality of processing circuits, each of which may be configured to update at least a portion of the first vector and at least a portion of the second vector in parallel.
[0162] The information processing system may also include a plurality of information processing devices, each of which may be configured to update at least a portion of the first vector and at least a portion of the second vector in parallel.
[0163] [Overall processing for solving combinatorial optimization problems] The following describes the overall process performed to solve a combinatorial optimization problem using a simulated bifurcation algorithm.
[0164] The flowchart in Fig. 29 shows an example of the overall process executed to solve a combinatorial optimization problem. The process will be described below with reference to Fig. 29.
[0165] First, a combinatorial optimization problem is formulated (step S201). Then, the formulated combinatorial optimization problem is converted into an Ising problem (in the form of an Ising model) (step S202). Next, a solution to the Ising problem is calculated by an Ising machine (information processing device) (step S203). Then, the calculated solution is verified (step S204). For example, in step S204, it is confirmed whether or not constraint conditions are satisfied. Also, in step S204, it may be confirmed whether or not the obtained solution is an optimal solution or an approximate solution close to the optimal solution by referring to the value of the objective function.
[0166] Then, it is determined whether or not to perform recalculation depending on at least one of the verification result and the number of calculations in step S204 (step S205). If it is determined that recalculation is to be performed (YES in step S205), the processes of steps S203 and S204 are executed again. On the other hand, if it is determined that recalculation is not to be performed (NO in step S205), a solution is selected (step S206). For example, in step S206, the selection can be made based on at least one of satisfaction of constraint conditions and the value of the objective function. Note that, if multiple solutions have not been calculated, the process of step S206 may be skipped. Finally, the selected solution is converted into a solution to the combinatorial optimization problem, and the solution to the combinatorial optimization problem is output (step S207).
[0167] By using the information processing device, information processing system, information processing method, storage medium, and program described above, it becomes possible to calculate a solution to a combinatorial optimization problem within a practical time frame, which makes it easier to find a solution to a combinatorial optimization problem and promotes social innovation and progress in science and technology.
[0168] The present invention is not limited to the above-described embodiment as it is, and the components can be modified and embodied in the implementation stage without departing from the gist of the invention. In addition, various inventions can be formed by appropriately combining the multiple components disclosed in the above-described embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, components from different embodiments may be appropriately combined. [Explanation of symbols]
[0169] 1 Management Server 2 Network 3a, 3b, 3c calculation server 4a, 4b, 4c cables 5. Switch 6 Client terminal 10 Processors 11 Management Department 12 Conversion section 13 Control section 14 Storage section 14A Problem Data 14B Calculation data 14C Management Program 14D conversion program 14E, 34C control program 15, 31 Communication circuits 16 Input circuit 17 Output circuit 18 Operating device 19 Display device 20 Bus 32 Shared Memory 33A, 33B, 33C, 33D Processors 34 Storage 34A Calculation Data 34B Calculation Program 35 Host Bus Adapter
Claims
1. 1. An information processing device configured to repeatedly update a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element, a storage unit configured to store the first variable and the second variable; updating the first vector by weighting and adding the second variable corresponding to the first variable; weighting the first variables with a first coefficient that monotonically increases or decreases depending on the number of updates and adding the weighted first variables to the corresponding second variables; calculating a problem term using a plurality of the first variables; and updating the second vector by adding the problem term to the second variables; a processing circuit configured to initialize the second variable of the second vector by a pseudorandom number after the repeated updating of the first vector and the second vector, and to repeat the updating of the first vector and the second vector; Equipped with The problem term is a term derived from an Ising energy determined according to the target problem. Information processing device.
2. The processing circuit is configured to vary a maximum absolute value of the pseudorandom number generating function depending on the number of times the second variable of the second vector is initialized. The information processing device according to claim 1 .
3. The processing circuit is configured to monotonically decrease a maximum absolute value of the pseudorandom number generating function depending on the number of times the second variable of the second vector is initialized. The information processing device according to claim 1 .
4. the processing circuit is configured to, after repeating the updating of the first vector and the second vector, calculate a value of an objective function based on the first vector, store the values of the first vector and the objective function in the storage unit, and then repeat the updating of the first vector and the second vector again.
4. The information processing device according to claim 1.
5. the processing circuit is configured to, after repeatedly updating the first vector and the second vector, calculate a solution vector from the first vector by converting the first variable, which is a positive value, to a first value and converting the first variable, which is a negative value, to a second value smaller than the first value, calculate a value of an objective function based on the solution vector, store the solution vector and the value of the objective function in the storage unit, and then repeat updating the first vector and the second vector.
4. The information processing device according to claim 1.
6. The pseudorandom numbers generated by the processing circuit are normal random numbers.
6. The information processing device according to claim 1.
7. The pseudorandom numbers generated by the processing circuit are uniform random numbers.
6. The information processing device according to claim 1.
8. The problem terms calculated by the processing circuitry are based on an Ising model. The information processing device according to claim 1 .
9. the problem terms calculated by the processing circuitry include many-body interaction terms; The information processing device according to claim 8.
10. A plurality of the processing circuits are provided, each said processing circuit configured to update at least a portion of said first vector and at least a portion of said second vector in parallel; 10. The information processing device according to claim 1.
11. 1. An information processing system configured to repeatedly update a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element, a storage device configured to store the first variable and the second variable; updating the first vector by weighting and adding the second variable corresponding to the first variable; weighting the first variables with a first coefficient that monotonically increases or decreases depending on the number of updates and adding the weighted first variables to the corresponding second variables; calculating a problem term using a plurality of the first variables; and updating the second vector by adding the problem term to the second variables; an information processing device configured to initialize the second variable of the second vector by a pseudorandom number after repeating the update of the first vector and the second vector, and to repeat the update of the first vector and the second vector again; Equipped with The problem term is a term derived from an Ising energy determined according to the target problem. Information processing system.
12. A plurality of the information processing devices are provided, each of the information processing devices is configured to update at least a portion of the first vector and at least a portion of the second vector in parallel; The information processing system according to claim 11.
13. 1. An information processing method for repeatedly updating a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element, the method comprising: The computer updating the first vector by weighting the second variables corresponding to the first variables; a step of weighting the first variables with a first coefficient that monotonically increases or decreases depending on the number of updates and adding the weighted first variables to the corresponding second variables, calculating a problem term using a plurality of the first variables, and updating the second vector by adding the problem term to the second variables; Includes performing, After the computer has repeated updating of the first vector and the second vector, it initializes the second variable of the second vector with a pseudorandom number and repeats updating of the first vector and the second vector again; The problem term is a term derived from an Ising energy determined according to the target problem. Information processing methods.
14. A program for causing a computer to repeatedly update a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element, the program comprising: updating the first vector by weighting the second variables corresponding to the first variables; weighting the first variables with a first coefficient that monotonically increases or decreases depending on the number of updates and adding the weighted first variables to the corresponding second variables, calculating a problem term using a plurality of the first variables, and updating the second vector by adding the problem term to the second variables; causing the computer to initialize the second variable of the second vector by a pseudorandom number after the first vector and the second vector are updated repeatedly, and to again repeat the update of the first vector and the second vector; The problem term is a term derived from an Ising energy determined according to the target problem. The program is stored A non-transitory computer-readable storage medium.
15. A program for causing a computer to repeatedly update a first vector having a first variable as an element and a second vector having a second variable corresponding to the first variable as an element, the program comprising: updating the first vector by weighting the second variables corresponding to the first variables; weighting the first variables with a first coefficient that monotonically increases or decreases depending on the number of updates and adding the weighted first variables to the corresponding second variables, calculating a problem term using a plurality of the first variables, and updating the second vector by adding the problem term to the second variables; causing the computer to initialize the second variable of the second vector by a pseudorandom number after the first vector and the second vector are updated repeatedly, and to again repeat the update of the first vector and the second vector; The problem term is a term derived from an Ising energy determined according to the target problem. program.
Citation Information
Patent Citations
Quantum calculation device and method
JP2017073106A
Computer, calculation program, recording medium, and calculation method
JP2019145010A
Systems and methods for improving the performance of a quantum processor via reduced readouts
US20160071021A1
