Information processing program, information processing method, and information processing device

By dividing the shortest vector problem into ranges and generating a pseudo multi-spin flip Hamiltonian, the method addresses scaling and speed limitations of single-spin flip annealing computers, enabling efficient and faster solution finding.

JP7563228B2Active Publication Date: 2024-10-08FUJITSU LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2021027815
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-24
Publication Date
2024-10-08
Estimated Expiration
2041-02-24

AI Technical Summary

Technical Problem

Annealing computers performing single-spin flips face challenges in scaling and speed, leading to prolonged calculation times and potential inability to find the minimum solution due to limited transition candidates and local solution traps.

Method used

The method involves dividing the shortest vector problem into multiple ranges and generating a pseudo multi-spin flip Hamiltonian by adding specific terms to the single-spin flip Hamiltonian, using an annealing computer to efficiently solve the problem.

Benefits of technology

This approach allows for faster and efficient solution of the shortest vector problem using a single-spin flip annealing computer, reducing the risk of local solutions and enhancing calculation speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563228000002
    Figure 0007563228000002
  • Figure 0007563228000003
    Figure 0007563228000003
  • Figure 0007563228000004
    Figure 0007563228000004
Patent Text Reader

Abstract

To efficiently solve a shortest vector problem using an annealing computer that performs a single-spin flip.SOLUTION: An information processing device for solving a shortest vector problem using an annealing computer performing a single-spin flip, divides the shortest vector problem to which a basis vector being a multidimensional integer vector is given into a predetermined number of respective ranges. The information processing device generates, for each of the respective ranges, a specific term that causes a transition of a linear sum of specific variables among respective variables included in the basis vector. The information processing device generates a Hamiltonian of a pseudo-multi-spin flip in which the specific term is added to a Hamiltonian of the single-spin flip.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing program, an information processing method, and an information processing device. [Background technology]

[0002] Single spin flip and multi-spin flip are known as methods for calculating the minimum of a Hamiltonian expressed by a binary multivariate quadratic polynomial. In single spin flip, i This is a method of performing annealing calculations to search for optimal solutions by flipping "0 to 1" or "1 to 0". Multi-spin flip is a method of performing annealing calculations to search for optimal solutions by flipping "0 to 1" or "1 to 0" i1 ,···,x ik ) are inverted simultaneously to perform annealing calculations.

[0003] In recent years, there have been evaluations of the scale of problems that can be solved by annealing computers that perform annealing calculations for the Shortest Vector Problem (SVP), one of the problems that is the basis for the security of lattice cryptography. For example, one technique for solving SVP with an annealing computer is to divide the SVP into n ranges, generate n Hamiltonians, and use the annealing computer to find the minimum value of each. Then, the smallest solution of the n solutions is determined to be the solution to the SVP. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2009-223848 A [Patent Document 2] Special Publication No. 2018-529142 [Patent Document 3] US Patent Application Publication No. 2009 / 0299947 [Patent Document 4] US Patent Application Publication No. 2018 / 0218279 Summary of the Invention [Problem to be solved by the invention]

[0005] However, annealing computers that perform multiple spin flips have not been tuned to be large-scale or fast, and so annealing computers that perform single spin flips are generally used. However, in annealing computers that perform single spin flips, the only candidate for the transition is the addition of an integer multiple of a single basis vector, and since there are few candidates, it is difficult to escape from a local solution, and it may take an enormous amount of time to calculate the minimum solution, or it may not be possible to calculate the minimum solution.

[0006] In one aspect, an object of the present invention is to provide an information processing program, an information processing method, and an information processing device that can efficiently solve a shortest vector problem using an annealing computer that performs a single spin flip. [Means for solving the problem]

[0007] In a first proposal, the information processing program is characterized in that it causes an information processing device that solves a shortest vector problem using an annealing computer that performs single spin flips to execute the following process: divide the shortest vector problem, given a basis vector that is a multidimensional integer vector, into a predetermined number of ranges, generate, for each of the ranges, a specific term that transitions a linear sum of specific variables among the variables included in the basis vector, and generate a pseudo multi-spin flip Hamiltonian by adding the specific term to the single spin flip Hamiltonian. Effect of the Invention

[0008] According to one embodiment, the shortest vector problem can be efficiently solved using an annealing computer that performs a single spin flip. [Brief description of the drawings]

[0009] [Figure 1]FIG. 1 is a diagram illustrating an information processing apparatus according to a first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating the Hamiltonian of a single spin flip. [Diagram 3] FIG. 3 is a diagram illustrating the problems with the Hamiltonian of a single spin flip. [Figure 4] FIG. 4 is a diagram illustrating the multi-spin flip. [Diagram 5] FIG. 5 is a functional block diagram of the information processing device according to the first embodiment. [Figure 6] FIG. 6 is a diagram for explaining generation of the coefficient matrix. [Figure 7] FIG. 7 is a diagram illustrating the generation of pseudo multi-spin flip terms. [Figure 8] FIG. 8 is a diagram illustrating the constraints on the pseudo multi-spin flip term. [Figure 9] FIG. 9 is a diagram for explaining M that realizes the pseudo multi-spin flip. [Figure 10] FIG. 10 is a diagram for explaining M that realizes the pseudo multi-spin flip. [Figure 11] FIG. 11 is a diagram for explaining an example of selection of M that realizes pseudo multi-spin flip. [Figure 12] FIG. 12 is a diagram for explaining the generation of a Hamiltonian. [Figure 13] FIG. 13 is a sequence diagram showing the flow of a process for solving the shortest vector problem. [Figure 14] FIG. 14 is a diagram for explaining a specific problem setting. [Figure 15] FIG. 15 is a diagram for explaining an example of solving a specific problem. [Figure 16] FIG. 16 is a diagram for explaining an example of solving a specific problem. [Figure 17] FIG. 17 is a diagram for explaining another example of the pseudo multi-spin flip term. [Figure 18] FIG. 18 is a diagram illustrating an example of a hardware configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, the information processing program, the information processing method, and the information processing device disclosed in the present application will be described in detail with reference to the accompanying drawings. Note that the present invention is not limited to these embodiments. In addition, each embodiment can be appropriately combined within a range that does not cause a contradiction. EXAMPLES

[0011] [Description of information processing device] Fig. 1 is a diagram for explaining an information processing device 10 according to Example 1. As shown in Fig. 1, the information processing device 10 is an example of a computer device that solves the shortest vector problem, which is one of the problems that are the basis of the security of lattice cryptography, and is connected to an annealing computer 50 that performs a single spin flip.

[0012] The information processing device 10 divides the SVP into n ranges (range 1 to range n) to generate n Hamiltonians, inputs each Hamiltonian to the annealing calculator 50, obtains n solutions from the annealing calculator 50, and sets the smallest solution as the solution of the SVP. Here, the information processing device 10 calculates an n-dimensional integer vector “b1, . . . , b n " is given, the SVP function is defined as (1), but the reason for splitting is (x1,...,x n ) ≠ (0, , 0).

[0013]

number

[0014] Here, we will explain the single spin flip and multi-spin flip used in the annealing calculation. Figure 2 is a diagram explaining the Hamiltonian of single spin flip. In Figure 2, we will explain using a basic Hamiltonian generation method in which integer variables are converted into binary variables. As shown in Figure 2, a Hamiltonian in range 2 shown in Figure 1 is generated using vectors b1 and b2. In other words, for "x1" and "x2" converted into binary as shown in formula (a), a Hamiltonian as shown in formula (b) can be generated.

[0015] Next, the annealing calculation of a single spin flip using this Hamiltonian will be explained. FIG. 3 is a diagram for explaining the problems with the annealing calculation of a single spin flip. As shown in FIG. 3, it is assumed that the Hamiltonian H is generated using vectors b1 and b2, as in FIG. 2. Note that the variables (x 1,1 ,x 1,2 ,x 1,3 ,x 1,4 ,x 2,1 ,x 2,2 ) represents the point v=b2, assuming that each is 0.

[0016] In this state, the destination of each variable after flipping one bit is shown in the table (a) of Figure 3, and the transition destination is shown in (b) of Figure 3. 1,1 When " is flipped by one bit, the candidates for the transition are "v+b1", "x 1,2 When " is flipped by one bit, the transition candidates are "v+2b1", "x 1,3 When "x" is flipped by one bit, the candidate for the transition destination is "v-b1". Similarly, when "x 1,4 When " is flipped by one bit, the candidates for the transition are "v-2b1", "x 2,1 When " is flipped by one bit, the candidates for the transition are "v+b2", "x 2,3" is flipped by one bit, the candidate transition destination is "v+2b2". However, as shown in Figure 3(b), all of these transition destinations are longer than "v=b2" (the distance from the origin is longer). In other words, with a single spin flip, it is not possible to transition in a direction that reduces the Hamiltonian, and the solution may remain in a local solution, making it impossible to calculate the minimum solution.

[0017] Next, we will explain multi-spin flip. Figure 4 is a diagram explaining multi-spin flip. Here, we will explain using two spin flips using the same Hamiltonian H as an example. The destinations of two spin flips of each variable are shown in table (c) of Figure 4, and the transition destinations are shown in (d) of Figure 4. In addition to the points that can be transitioned with a single spin flip, the number of transition destinations has increased, and in particular, the linear sum of "b1" and "b2", which cannot be transitioned with a single spin flip, can also transition. This makes it possible to transition in the direction where the Hamiltonian becomes smaller, especially to the shortest vector "v-b1+b2", which is superior to a single spin flip. However, annealing computers that perform multi-spin flips have not been tuned to be large-scale or fast, and their uses are limited.

[0018] Therefore, in the first embodiment, a method for solving the shortest vector problem using a single spin flip annealing computer is realized. Specifically, the information processing device 10 divides the shortest vector problem, given a basis vector that is a multidimensional integer vector, into a predetermined number of ranges. Then, for each range, the information processing device 10 generates a specific term that transitions a linear sum of specific variables among the variables included in the basis vector, and generates a pseudo multi-spin flip Hamiltonian in which the previous specific term is added to the single spin flip Hamiltonian. That is, the information processing device 10 generates a specific term that transitions a linear sum of a plurality of basis vectors.

[0019] Thereafter, the information processing device 10 outputs the Hamiltonians of each pseudo multi-spin flip to the annealing computer 50 that performs a single spin flip, acquires a minimum solution corresponding to each range from the annealing computer 50, and selects the minimum value of each acquired minimum solution as the solution result of the shortest vector problem. Note that when adding each specific term to each Hamiltonian corresponding to each range, the information processing device 10 adds a specific term that complies with the constraint that the coefficient of the last basis vector of each range is 1 or more, thereby reducing the possibility of falling into a local solution and being unable to calculate a minimum solution.

[0020] [Functional configuration of information processing device 10] 5 is a functional block diagram showing a functional configuration of the information processing device 10 according to the first embodiment. As shown in FIG. 5, the information processing device 10 includes a communication unit 11, a storage unit 12, and a control unit 13.

[0021] The communication unit 11 is a processing unit that controls communication with other devices, and is realized by, for example, a communication interface, etc. For example, the communication unit 11 transmits and receives various data to and from the annealing computer 50.

[0022] The storage unit 12 is a processing unit that stores programs and various data, and is realized by, for example, a memory, a hard disk, etc. For example, the storage unit 12 stores various calculation results calculated in the process of solving the SVP.

[0023] The control unit 13 is a processing unit that controls the entire information processing device 10, and is realized by, for example, a processor. The control unit 13 has a coefficient matrix generation unit 14, an assignment unit 15, and a Hamiltonian generation unit 16. The coefficient matrix generation unit 14, the assignment unit 15, and the Hamiltonian generation unit 16 are realized by electronic circuits included in the processor, processes executed by the processor, and the like.

[0024] (Generating the coefficient matrix) The coefficient matrix generating unit 14 is a processing unit that divides the shortest vector problem, given a basis vector that is a multidimensional integer vector, into a predetermined number of ranges, and generates a coefficient matrix for generating a Hamiltonian for each range. Fig. 6 is a diagram for explaining the generation of the coefficient matrix. As shown in Fig. 6, as an example, the coefficient matrix generating unit 14 executes steps 1, 2, 3, and 4 to generate each coefficient matrix for each range.

[0025] Specifically, the basis vector B of the n-dimensional lattice is defined as "B = (b1, , b n ) (n×n matrix), an integer i (i≦i≦n) representing a position, and a matrix A (i×N matrix) representing a search range. In this case, the coefficient matrix generation unit 14 "sets a zero matrix of (i×(N-1)i) to vector V" in step 1. Next, the coefficient matrix generation unit 14 generates "V[j][(N-1)×(j-1)+k]=A[j][k]" by repeating each for statement for i and j shown in step 2. Furthermore, the coefficient matrix generation unit 14 "sets a zero vector of length i to y" in step 3. After that, the coefficient matrix generation unit 14 generates "y[j]=A[j][N]" by repeating the for statement for i in step 4.

[0026] (pseudo multi-spin flip) The assigning unit 15 is a processing unit that adds a pseudo multi-spin flip term to the coefficient matrix. Specifically, the assigning unit 15 generates a specific term (pseudo multi-spin flip term) that transitions a linear sum of a number of basis vectors for each range, and adds the specific term to the single spin flip Hamiltonian. At this time, the assigning unit 15 generates and assigns a specific term that complies with the constraints described later.

[0027] FIG. 7 is a diagram for explaining the generation of pseudo multi-spin flip terms. As shown in FIG. 7, as an example, the assigning unit 15 executes steps 1 and 2 to generate a multi-spin flip term. In addition to the above example, the matrix representing the multi-spin flip is explained as a matrix M (i×M matrix). In the above example, the assigning unit 15 "expands the vector V to an i×{(N-1)i+M} matrix" in step 1. Next, the assigning unit 15 repeats the for statement for j and k in step 2 to generate "V[j][(i-1)N+k]=M[j][k]".

[0028] Here, the constraints on the pseudo multi-spin flip term will be described. FIG. 8 is a diagram for explaining the constraints on the pseudo multi-spin flip term in the range j. Specifically, the constraints are as follows: (1) basis vectors b1, . . . , b j-1 The coefficients of can be freely chosen from the whole set of integers, while (2) the basis vector b j The coefficients of are integers greater than or equal to 1. In other words, there is no restriction in the positive direction, but there is a restriction in the negative direction that it must be greater than or equal to 1. If this restriction is not satisfied, the minimum value of the Hamiltonian will be different from the one you want to calculate.

[0029] For example, as shown in Figure 8, let us assume that the Hamiltonian H shown in formula (c) is generated by adding four elements "±b1±b2" (in no particular order) to the Hamiltonian in range 2 in Figure 1. As shown in Figure 4 (d), the minimum value to be calculated is "-b1+2b2", which represents the shortest vector. On the other hand, this Hamiltonian H is "x 1,1 =1, y4=1" and the rest are all 0, the minimum value 0 is taken, so this is what is calculated by the annealing calculation. In other words, the shortest vector cannot be calculated correctly. This is because the pseudo multi-spin flips are added randomly, violating the constraint that "the coefficient of b2 is 1 or more."

[0030] Therefore, for the Hamiltonian in range j, b jIn order to add the pseudo multi-spin flip term without extending the coefficient of in the negative direction, the constraint is "Add the pseudo multi-spin flip term (v1b1+ +v j b j ), "v j " is an integer greater than or equal to 0".

[0031] (Selection of matrix M representing pseudo multi-spin flip) Next, a method for selecting the matrix M representing the pseudo multi-spin flip described above will be described. Figs. 9 and 10 are diagrams for explaining M which realizes the pseudo multi-spin flip. Here, an example of M which realizes pseudo two-spin flip will be explained. As shown in Fig. 9, the linear sum of two basis vectors "xb j +yb k To add a flip corresponding to (x and y are integers), add the transpose of the column vector (0, , 0, x, 0, , 0, y, 0, , 0) to M. In other words, adding one increases the number of Hamiltonian variables by one. Note that x is the j-th component and y is the k-th component.

[0032] In this case, the coefficients x and y can be set so that the absolute values ​​of x and y are small, resulting in a small transition at the time of flipping, and so that the absolute values ​​of x and y are large, resulting in a large transition at the time of flipping. Which one to use can be set arbitrarily depending on the circumstances of the annealing calculation. For example, at point A, the transition destination is closer to the origin when flipping at (x,y)=(-2,-2) than when flipping at (x,y)=(1,1). Conversely, at point B, the transition destination is closer to the origin when flipping at (x,y)=(1,1) than when flipping at (x,y)=(-2,-2).

[0033] Furthermore, you can add multiple identical column vectors. That is, you can add as many "xb j +yb k " transition becomes possible.

[0034] The above content can be generalized as shown in Figure 10. As shown in Figure 10, in order to realize the pseudo multi-spin flip, the linear sum of an arbitrary number of basis vectors, "a1b1+···+a j b j " (a1,...,a j is an integer), and the corresponding column vector (a1, ,a j ,0,···,0) should be added to M. The coefficients in this case should be set arbitrarily depending on the situation of the annealing calculation, as explained in Fig. 9.

[0035] Here, a specific example of the matrix M representing the pseudo multi-spin flip described above will be described. FIG. 11 is a diagram for explaining a selection example of M that realizes the pseudo multi-spin flip. For example, the assigning unit 15 assigns an arbitrary "1≦j <k≦i」で「xb j +yb k When the terms " are added one by one, the matrix M shown in FIG. 11(a) can be generated. However, when x, y = 1, -1 and k = i, x = 1, -1 and y = 1, and FIG. 11(a) is an example when n = 3, i = 3. Note that in FIG. 11(a), x, y = -2, -1, 1, 2 (however, when k = i, y = 1, 2) may also be used.

[0036] Also, it is possible to add two or more variables instead of one at a time. For example, when n=3, i=3, the matrix M can be generated as shown in Figure 11(b). As a result, for example, a transition of "b1+b2" can be made twice in a row.

[0037] (Generation of Hamiltonian) 5, the Hamiltonian generating unit 16 is a processing unit that generates, for each range, a pseudo multi-spin flip Hamiltonian by adding a specific term (a pseudo multi-spin flip term) generated by the adding unit 15 to the single-spin flip Hamiltonian. Specifically, the Hamiltonian generating unit 16 generates a Hamiltonian from a coefficient matrix.

[0038] FIG. 12 is a diagram for explaining the generation of a Hamiltonian. As shown in FIG. 12, the Hamiltonian generation unit 16 executes steps 1 to 5 to generate a Hamiltonian in which a term for performing a pseudo multi-spin flip is added to the Hamiltonian of SVP. For example, in step 1, the Hamiltonian generation unit 16 generates a Hamiltonian in which a term for performing a pseudo multi-spin flip is added to the Hamiltonian of SVP. i =(b1, ,b i )" and in step 2, "V" and "B" generated by the attachment unit 15 are i " and "C=B i Generate "V".

[0039] Next, in step 3, the Hamiltonian generation unit 16 generates "W" by multiplying "C" in step 2 by the "transposed matrix of C", defines vector b in step 4, and defines variable c in step 5. As a result, the Hamiltonian generation unit 16 can define the Hamiltonian H shown in equation (d) of FIG. 12 as the Hamiltonian H for range i. Note that x in equation (d) is a binary variable vector of length "i(N-1)+m", where m is the number of columns of matrix M.

[0040] Thereafter, the Hamiltonian generation unit 16 transmits the Hamiltonian H for each range to the annealing computer 50 to instruct the annealing computer 50 to solve the SVP. Then, the Hamiltonian generation unit 16 obtains the minimum solution for each range from the annealing computer 50, and stores the minimum solution, which is the smallest value among them, as the final solution in the storage unit 12, displays it on a display or the like, or transmits it to the administrator terminal.

[0041] [Processing flow] 13 is a sequence diagram showing the flow of a process for solving the shortest vector problem. As shown in FIG. 13, the information processing device 10 divides an n-dimensional SVP into predetermined ranges (S101), and executes S102 to S104 for each divided range.

[0042] That is, the information processing device 10 generates a coefficient matrix A representing a search range (S102), generates a matrix M (term to be added) representing a pseudo multi-spin flip using the coefficient matrix A (S103), and generates a Hamiltonian H to which the term M of the pseudo multi-spin flip is added (S104).

[0043] Thereafter, the information processing device 10 transmits a solution request including n Hamiltonians corresponding to each range to the annealing computer 50 (S105 and S106). Then, the annealing computer 50 executes a solution process for each Hamiltonian (S107) and responds with the solution results, which are the n minimum solutions, to the information processing device 10 (S108 and S109).

[0044] Then, the information processing device 10 selects the smallest solution among the acquired n minimum solutions as the smallest solution to the shortest vector problem (S110).

[0045] Here, a specific example of the above process will be described with reference to Fig. 14 to Fig. 16. Fig. 14 is a diagram for explaining a specific problem setting. Fig. 15 and Fig. 16 are diagrams for explaining a specific problem solving example. As shown in Fig. 14, the basis vector B is a matrix of 3 rows and 3 columns, i=3, the matrix A representing the search range is a matrix of 5 rows and 3 columns, and M realizing the pseudo multi-spin flip uses M shown in Fig. 11(a) described above.

[0046] In this state, as shown in Fig. 15, the information processing device 10 generates vectors V and y by steps 1 to 4 shown in Fig. 6 using i=3 and matrix A representing the search range shown in Fig. 14. Furthermore, the information processing device 10 generates a Hamiltonian by adding M that realizes the pseudo multi-spin flip shown in Fig. 14 to the generated vector V by steps 1 and 2 shown in Fig. 7.

[0047] 12, the information processing device 10 calculates the matrix W, the vector b, and the variable c using the basis vector B and the vector V. Then, the information processing device 10 generates a Hamiltonian using W, b, and c.

[0048] [Effect] As described above, the information processing apparatus 10 uses the fact that there is no maximum value or minimum value in the constraint conditions of the shortest vector problem, and adds a term that causes a transition only by a certain linear combination within " n basis vectors b1, ··· b

[0049] 」 to generate a Hamiltonian within the range of the constraint conditions of the shortest vector problem. As a result, the information processing apparatus 10 can substantially realize transitions for a plurality of variables in the single spin flip annealing computer 50.

[0050] Therefore, the information processing apparatus 10 can generate a Hamiltonian that can solve a larger shortest vector problem faster using the single spin flip annealing computer 50, and can efficiently solve the shortest vector problem. 2 」 matrix.

[0051] In such a state, the total time taken for calculating the minimum solutions of the 10 Hamiltonians was compared. When using the Hamiltonian of a general single spin flip, it takes 687 seconds to solve, but by using the method of Example 1, it can be shortened to 13.8 seconds, realizing a speedup of about 50 times.

Example

[0052] Although the embodiments of the present invention have been described above, the present invention may be embodied in various different forms other than the above-described embodiments.

[0053] [Numbers, etc.] The numerical values, matrices, and various variables used in the above embodiment are merely examples and can be changed as desired. The process flow described in the sequence diagram can also be changed as appropriate within a range that does not cause inconsistencies.

[0054] [Introduction of approximation processing] As a modification of the above-mentioned first embodiment, an approximation process (approximation enum) using an enum type that can group multiple constants together can be introduced. Fig. 17 is a diagram for explaining another example of the pseudo multi-spin flip term. As shown in Fig. 17, the coefficient matrix generating unit 14 of the information processing device 10 generates a coefficient matrix for each range in the same manner as in the first embodiment.

[0055] Next, unlike the first embodiment, the assignment unit 15 executes an approximation process. Specifically, in step 1, the assignment unit 15 calculates the GSO coefficient μ j,k (1≦k≦j≦n). Next, the assignment unit 15 repeats the for statement of j, i, and l in step 2, and repeats the for statement of j and k in step 3 to obtain “y[j]=y[j]-[μ j,k ×y[k]" is generated.

[0056] After that, the assignment unit 15 concatenates the matrix M to the matrix V. Specifically, in step 1, the assignment unit 15 "expands the vector V to an i×{(N-1)i+M} matrix." Next, in step 2, the assignment unit 15 generates "V[j][(i-1)N+k]=M[j][k]" by repeating the for statement for j and k.

[0057] Then, the Hamiltonian generating unit 16 generates the formula (z) as the Hamiltonian H by adding a term for performing a pseudo multi-spin flip to the Hamiltonian of SVP in the same manner as in the embodiment 1. Note that x in the formula (z) is a binary variable of length "i(N-1)+m".

[0058] In this way, the information processing device 10 can generate a Hamiltonian incorporating approximation processing, thereby improving versatility and speeding up processing.

[0059] [system] The information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.

[0060] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure. In other words, all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.

[0061] Furthermore, each processing function performed by each device may be realized, in whole or in part, by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic.

[0062] [Hardware] Fig. 18 is a diagram for explaining a hardware configuration example. As shown in Fig. 18, an information processing device 10 includes a communication device 10a, a hard disk drive (HDD) 10b, a memory 10c, and a processor 10d. The components shown in Fig. 18 are connected to each other via a bus or the like.

[0063] The communication device 10a is a network interface card or the like, and communicates with other devices. The HDD 10b stores programs and DBs that operate the functions shown in FIG.

[0064] The processor 10d reads out a program that executes the same processes as the respective processing units shown in Fig. 5 from the HDD 10b etc. and loads it in the memory 10c, thereby operating a process that executes each function described in Fig. 5 etc. For example, this process executes a function similar to that of each processing unit possessed by the information processing device 10. Specifically, the processor 10d reads out a program having functions similar to those of the coefficient matrix generation unit 14, the assignment unit 15, the Hamiltonian generation unit 16 etc. from the HDD 10b etc. Then, the processor 10d executes a process that executes the same processes as those of the coefficient matrix generation unit 14, the assignment unit 15, the Hamiltonian generation unit 16 etc.

[0065] In this way, the information processing device 10 operates as an information processing device that executes an analysis method by reading and executing a program. The information processing device 10 can also realize functions similar to those of the above-mentioned embodiment by reading the program from a recording medium using a medium reading device and executing the read program. Note that the program in this other embodiment is not limited to being executed by the information processing device 10. For example, the present invention can be similarly applied to a case where another computer or server executes a program, or a case where these execute a program in cooperation with each other.

[0066] This program can be distributed via a network such as the Internet. This program can also be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and can be executed by being read out from the recording medium by a computer. [Explanation of symbols]

[0067] 10. Information processing device 11 Communications Department 12 Storage section 13 Control section 14 Coefficient matrix generator 15 Granting Department 16 Hamiltonian generator

Claims

1. An information processing device that solves the shortest vector problem using an annealing computer that performs a single spin flip, Divide the shortest vector problem given basis vectors that are multidimensional integer vectors into a predetermined number of ranges; For each of the ranges, a specific term is generated that transitions a linear sum of specific variables among the variables included in the basis vector, and a pseudo multi-spin flip Hamiltonian is generated by adding the specific term to the single spin flip Hamiltonian. An information processing program that causes a process to be executed.

2. The generating process includes:

2. The information processing program according to claim 1, wherein, when adding each specific term to each Hamiltonian corresponding to each of the ranges, the specific term is added while observing a constraint that the coefficient of the last basis vector of each of the ranges is 1 or more, thereby generating each pseudo multi-spin flip Hamiltonian corresponding to each of the ranges.

3. Outputting the Hamiltonian of each pseudo multi-spin flip corresponding to each range to an annealing computer that performs the single spin flip; obtaining a minimum solution corresponding to each of the ranges from the annealing computer; selecting the smallest value among the obtained minimum solutions as a solution result of the shortest vector problem; 3. The information processing program according to claim 1, wherein the information processing device executes a process.

4. An information processing device that solves a shortest vector problem using an annealing computer that performs a single spin flip, Divide the shortest vector problem given basis vectors that are multidimensional integer vectors into a predetermined number of ranges; For each of the ranges, a specific term is generated that transitions a linear sum of specific variables among the variables included in the basis vector, and a pseudo multi-spin flip Hamiltonian is generated by adding the specific term to the single spin flip Hamiltonian.

2. An information processing method comprising:

5. In an information processing device that solves a shortest vector problem using an annealing computer that performs a single spin flip, A division unit that divides a shortest vector problem given basis vectors that are multidimensional integer vectors into a predetermined number of ranges; a generator for generating a specific term for each of the ranges that transitions a linear sum of specific variables among the variables included in the basis vector, and generating a pseudo multi-spin flip Hamiltonian by adding the specific term to the single spin flip Hamiltonian; 13. An information processing device comprising:

Citation Information

Patent Citations

  • Steel process operation plan preparing method and operation plan preparing device, and steel material manufacturing method

    JP2009223848A

  • Quantum processing apparatus and method

    JP2018529142A

  • Computer and calculation method

    JP2019079225A

  • Method and system for solving lattice problems using annealing

    JP2020071877A

  • Determination device, calculation device, and learning system

    JP2020149523A