Processing device, processing method, and recording medium

By configuring logical bits to correspond to different physical bits and using domain wall representation data, the processing device efficiently addresses the challenge of processing combinatorial optimization problems with fewer hardware resources, simplifying the correlation complexity and reducing the number of physical bits required.

WO2024189847A1PCT designated stage expired Publication Date: 2024-09-19NEC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/010130
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Existing hardware configurations struggle to efficiently process combinatorial optimization problems using fewer hardware resources, particularly due to the complexity of correlating multiple physical bits, which is challenging with the LHZ model.

Method used

The processing device configures all combinations of logical bits to correspond to different physical bits, using domain wall representation data instead of one-hot representation data when inputting the energy function, simplifying the correlation complexity and reducing the number of physical bits required.

Benefits of technology

This approach allows for efficient processing using fewer hardware resources by simplifying the correlation between physical bits, making it easier to implement in hardware and reducing the number of physical bits needed, thereby optimizing combinatorial optimization problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023010130_19092024_PF_FP_ABST
    Figure JP2023010130_19092024_PF_FP_ABST
Patent Text Reader

Abstract

This processing device comprises: hardware configured such that all combinations of a specific number of two or more logical bits, which are selectable from a group of logical bits constituting a problem, are mapped to different physical bits; and application means for applying, to the hardware when inputting an energy function of the problem, domain wall representation data instead of one hot representation data representing a part or all of the energy function.
Need to check novelty before this filing date? Find Prior Art

Description

Processing device, processing method, and recording medium

[0001] The present disclosure relates to a processing device, a processing method, and a recording medium.

[0002] In recent years, the development of quantum computers has progressed. Patent Document 1 discloses a related technology relating to quantum computers.

[0003] Special table 2021-536610 publication

[0004] It is desirable to solve combinatorial optimization problems using a limited number of hardware resources based on an optimization device having a predetermined graph structure such as the LHZ model. Therefore, there is a demand for a technology that can realize processing using a limited number of hardware resources based on an optimization device having a predetermined graph structure such as the LHZ model.

[0005] One of the objectives of each aspect of the present disclosure is to provide a processing device, a processing method, and a recording medium that can solve the above-mentioned problems.

[0006] According to one aspect of the present disclosure, a processing device includes hardware configured to correspond all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits constituting a problem to different physical bits, and application means for applying data in a domain wall representation instead of data in a one-hot representation representing part or all of the energy function when inputting an energy function of the problem to the hardware.

[0007] According to another aspect of the present disclosure, a processing method executed by a processing device having hardware applies data in a domain wall representation instead of data in a one-hot representation that represents part or all of the energy function when inputting an energy function of the problem to the hardware configured such that all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits that constitute the problem correspond to different physical bits.

[0008] According to another aspect of the present disclosure, a recording medium stores a program that causes a computer of a processing device equipped with hardware to execute the following when inputting an energy function of a problem to hardware configured such that all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits constituting the problem correspond to different physical bits: applying data in a domain wall representation instead of data in a one-hot representation that represents part or all of the energy function.

[0009] According to each aspect of the present disclosure, processing can be realized using limited hardware resources configured based on an optimization device having a predetermined graph structure such as an LHZ model.

[0010] 7 is a diagram showing an example of a graph representing the relationship between interactions between physical bits in hardware configured based on the LHZ model. FIG. 8 is a diagram showing an example of correspondence between one-hot representations and domain wall representations. FIG. 9 is a diagram showing the relationship between a function represented by a one-hot representation and a function represented by a domain wall representation. FIG. 10 is a diagram showing an example of the configuration of a processing device according to an embodiment of the present disclosure. FIG. 11 is a diagram showing an example of a comparison of the number of correlations between logical bits in one-hot representations and domain wall representations in the traveling salesman problem. FIG. 12 is a diagram showing the difference in the number of correlations in the comparison shown in FIG. 5. FIG. 13 is a diagram showing an example of a comparison of the number of physical bits required for the LHZ model in one-hot representations and domain wall representations in the traveling salesman problem. FIG. 14 is a diagram showing the difference in the number of physical bits in the comparison shown in FIG. 15. FIG. 16 is a diagram showing an example of a processing flow of a processing device 1 according to an embodiment of the present disclosure. FIG. 17 is a diagram showing an example of a relationship between workers and content in a personnel allocation problem. FIG. 18 is a diagram showing an example of the configuration of a hardware processing unit 40 according to another embodiment of the present disclosure. FIG. 19 is a diagram showing a processing device with a minimum configuration according to an embodiment of the present disclosure. FIG. 19 is a diagram showing an example of the processing flow of a processing device with a minimum configuration. FIG. 19 is a schematic block diagram showing the configuration of a computer according to at least one embodiment.

[0011] Hereinafter, the embodiments will be described in detail with reference to the drawings. <Embodiment> (Prerequisite Knowledge) First, to facilitate understanding of a processing device 1 according to an embodiment of the present disclosure, which will be described later, the prerequisite knowledge will be described. Here, the prerequisite knowledge will be described while showing the Traveling Salesman Problem as an example of a combinatorial optimization problem.

[0012] The traveling salesman problem is a problem of finding the best way to visit multiple cities with the lowest cost (e.g., distance) under the conditions that each city can be visited only once and no more than two cities can be visited at the same time.

[0013] Equation (1) shows the conditions of the traveling salesman problem in terms of an energy function H. It is known that the traveling salesman problem can be written in the QUBO (Quadratic Unconstrained Binary Optimization) format as shown in equation (1). The energy function H is sometimes called a Hamiltonian.

[0014]

[0015] In formula (1), d represents the distance between one city and another. t represents time. i represents a city number. x is a variable that takes on the value of 0 or 1. For example, x(i, t) = 1 represents visiting the city with city number i at time t. The letter in parentheses after x corresponds to the subscript in formula (1). Hereinafter, for variables other than x, the subscript in the formula will also be written as the letter in parentheses.

[0016] The first term on the right side of equation (1) indicates the cost of a certain visit (e.g., total distance). The second term on the right side of equation (1) indicates that each city can only be visited once. The third term on the right side of equation (1) indicates that two or more cities cannot be visited at the same time.

[0017] The desired solution can be obtained by setting a combination of variables where x(i, t) = 1 and x(i, t) = 0 so that the energy function H is minimized.

[0018] The second term on the right side of equation (1) means that at time t, only one of 1 to N will be 1, and the others will be 0. In the case of such a combination, the second term is minimum. An expression in which only one of 1 to N will be 1 and the others will be 0 is called a one-hot expression.

[0019] Equation (1) includes multiplication of various variables. In other words, in equation (1), the various variables have some correlation with each other. Each of the various variables represents a logical bit. Therefore, when attempting to solve equation (1) itself using some hardware, the multiple physical bits in that hardware must also have a correlation similar to that of the logical bits. However, hardware that performs general calculations is often configured to calculate physical bits based on a graph represented on a two-dimensional plane (e.g., the LHZ (Lechner-Hauke-Zoller) model described below). This makes it difficult to create multilevel crossings of wiring or to connect physical bits located far apart, limiting the number of correlations that can be created. In contrast, if multiple physical bits are to be correlated with each other in the same way as logical bits, the hardware configuration required for this becomes complex and large-scale. Therefore, it is usually difficult and impractical to prepare hardware that can correlate multiple physical bits with each other in the same way as logical bits. Therefore, by configuring all combinations of a predetermined number of two or more logical bits selectable from the logical bit group that constitutes the problem to correspond to different physical bits, the complexity of the correlation between the physical bits is simplified, and a graph structure that is easier to implement in hardware can be obtained. One such graph structure is the LHZ model. In the LHZ model, the complexity of the correlation between the physical bits is simplified, making it possible to eliminate the need for three-dimensional wiring or long-distance wiring between the physical bits.

[0020] In the following description, hardware configured based on the LHZ model will be used as a specific example of hardware.

[0021] In general, the energy function H can be expressed as in equation (2).

[0022]

[0023] In equation (2), if σ(i) = ±1, h(j) = J(0, j), and σ(0) = 1, then equation (2) can be transformed into an equation like equation (1). In other words, equation (1) can be transformed into an equation like equation (2). After transforming the equation in this way, J(i, j) = J(k), and σ(i)σ(j) = σ_bar(k). Then, by adding the product of the four variables, the general energy function H expressed by equation (2) can be expressed as an energy function H(LHZ) according to the LHZ model, as shown in equation (3). Note that "_bar" represents ~ (tilde).

[0024]

[0025] FIG. 1 is a diagram showing an example of a graph representing the interaction between physical bits in hardware configured based on the LHZ model. The interaction between physical bits in the energy function H(LHZ) expressed as in Equation (3) is represented as a graph, resulting in the graph shown in FIG. 1. The numerical values ​​in the graph shown in FIG. 1 represent each physical bit in σ_bar(k) and correspond to the i and j numbers in σ(i)σ(j) in Equation (2). Furthermore, F in the graph shown in FIG. 1 represents a fixed physical bit. In the graph shown in FIG. 1, four physical bits are connected to the tips of the crosses and interact with each other, but only three physical bits exist at the bottom of the graph. Therefore, a fixed physical bit F is connected to the bottom of the graph. Note that F is 1. By setting F to 1, even when four multiplications of the physical bits connected to the tips of the crosses are performed, the result is the same as the multiplication result of the three physical bits at the bottom of the graph, which is convenient because it does not affect the multiplication result.

[0026] In the graph shown in Figure 1, there is no correlation between distantly spaced bits, but only correlation between adjacent bits that are close to each other. Therefore, as described above, by changing the energy function H to the energy function H(LHZ) based on the LHZ model, it is possible to physically implement hardware that is configured with only correlation between adjacent physical bits. Note that when the number of logical bits is M and the hardware is represented by the graph shown in Figure 1, the number of physical bits is (M+1)M / 2.

[0027] In contrast to the one-hot representation described above, there exists a representation called a domain wall representation. Figure 2 is a diagram showing an example of the correspondence between the one-hot representation and the domain wall representation. When a one-hot representation is represented by two values, 0 and 1, the domain wall representation represents the location where the value 1 exists by the boundary between the two values ​​used by the domain wall representation.

[0028] For example, as shown in FIG. 2, if a domain wall representation is represented by two values, −1 and 1, and the one-hot representation is “0100,” the domain wall representation corresponding to the one-hot representation “0100” is “−111.” That is, the domain wall representation is a representation in which a 1 exists in the third lower bit from the right, which is between −1 and 1. Also, for example, as shown in FIG. 2, if a domain wall representation is represented by two values, 1 and 0, and the one-hot representation is “1000,” the domain wall representation corresponding to the one-hot representation “1000” is “000.” That is, the domain wall representation is a representation in which a 1 exists in the fourth lower bit from the right, which is between 1 and 0 (however, in this case, the upper bit 1 is omitted). In this way, a domain wall representation can represent equivalent information to a one-hot representation with one less bit.

[0029] FIG. 3 is a diagram showing the relationship between functions expressed by one-hot representations and functions expressed by domain wall representations. In FIG. 3, a function expressed by one-hot representations (binary values ​​of 0 and 1) is shown on the left, a function expressed by domain wall representation 1 (binary values ​​of -1 and 1) is shown in the middle, and a function expressed by domain wall representation 2 (binary values ​​of 1 and 0) is shown on the right. When a function expressed by one-hot representations (binary values ​​of 0 and 1) is expressed as the square of the sum minus 1, conversions such as those shown in FIG. 3 are possible between functions expressed by one-hot representations (binary values ​​of 0 and 1), functions expressed by domain wall representation 1 (binary values ​​of -1 and 1), and functions expressed by domain wall representation 2 (binary values ​​of 1 and 0).

[0030] Using the relationship shown in FIG. 3, the energy function H in the one-hot representation of the traveling salesman problem can be rewritten as the energy function H in the domain wall representation, as shown in equation (4).

[0031]

[0032] Here, x(i,t) = (s(i,t) - s(i,t-1)) / 2, s(i){1, ..., N-1} = ±1, s(i,0) = -1, s(i,N) = 1, s(i,N+1) = s(i,1) + 2. The above is an explanation of the prerequisite knowledge.

[0033] Next, a processing device 1 according to an embodiment of the present disclosure will be described. When an energy function is input to hardware configured based on the LHZ model, the processing device 1 applies domain wall representation data instead of one-hot representation data representing part or all of the energy function, and finds an optimal solution to a combinatorial optimization problem represented by the energy function based on quantum annealing or a quantum approximation optimization algorithm (QAOA). As described above, if the number of variables corresponding to logical bits and the number of correlations between variables are large, the number of physical bits and the number of correlations between physical bits also increase, making it difficult to realize hardware that constitutes the physical bits. The processing device 1 is a device that can achieve processing using limited hardware resources configured based on an optimization device having a predetermined graph structure, such as the LHZ model.

[0034] (Configuration of Processing Device) Fig. 4 is a diagram illustrating an example of the configuration of the processing device 1 according to an embodiment of the present disclosure. As shown in Fig. 4, the processing device 1 includes an input unit 10, a control unit 20, an output unit 30, and a hardware processing unit 40 (an example of hardware).

[0035] As shown in FIG. 4 , the input unit 10 includes a model input unit 101 and a one-hot condition input unit 102. The model input unit 101 receives an Ising model. An example of an Ising model is a model representing a combinatorial optimization problem including variables (e.g., J(i, j) and h(j)). The one-hot condition input unit 102 explicitly receives a set of variables included in the one-hot expression based on the Ising model received by the model input unit 101. The Ising model may be an equation expressed by a one-hot expression or a set of variables included in the one-hot expression. In other words, the one-hot condition input unit 102 may receive an Ising model represented by an equation expressed by a one-hot expression or a set of variables included in the one-hot expression. The variables included in the Ising model are a combination of constraints and an objective function, and are input to the hardware processing unit 40.

[0036] 4, the control unit 20 includes a representation conversion unit 201 (an example of an application unit), an embedding unit 202, a solution-finding unit 203, and a determination unit 204 (an example of a determination unit). When the determination unit 204 determines that the representation conversion unit 201 should convert the model from the one-hot representation to the domain wall representation, the representation conversion unit 201 converts the model from the one-hot representation to the domain wall representation. For example, when inputting an energy function to hardware configured based on the LHZ model, the representation conversion unit 201 applies data in the domain wall representation instead of data in the one-hot representation that represents part or all of the energy function.

[0037] The embedding unit 202 sets variables in the model converted into the domain wall representation so as to fit the quantum annealing machine, which is hardware configured based on the LHZ model. The solution-finding unit 203 finds a solution to the model representing the combinatorial optimization problem for which variables have been set, based on a predetermined calculation performed by the hardware processing unit 40.

[0038] The determination unit 204 determines whether the representation conversion unit 201 should convert the model from the one-hot representation to the domain wall representation. That is, the determination unit 204 determines whether it is better to apply data in the domain wall representation instead of data in the one-hot representation. For example, the determination unit 204 determines whether it is better to apply data in the domain wall representation instead of data in the one-hot representation based on the number of correlations between variables when data in the one-hot representation is applied and the number of correlations between variables when data in the domain wall representation is applied instead of data in the one-hot representation. Note that data in the domain wall representation can be applied instead of data in the one-hot representation to only one of the terms representing the energy function H. Therefore, when there are multiple terms represented by data in the one-hot representation in the energy function H, the determination unit 204 applies data in the domain wall representation to each of the multiple terms represented by data in the one-hot representation. Specifically, when the number of correlations between variables when the one-hot representation data is applied is smaller than the number of correlations between variables when the domain wall representation data is applied, the determination unit 204 determines that it is better not to apply the domain wall representation data instead of the one-hot representation data. Also, specifically, when the number of correlations between variables when the one-hot representation data is applied is larger than the number of correlations between variables when the domain wall representation data is applied, the determination unit 204 determines that it is better to apply the domain wall representation data instead of the one-hot representation data.

[0039] Fig. 5 is a diagram showing an example of a comparison of the number of correlations between logical bits in one-hot representation and domain wall representation in the traveling salesman problem. Fig. 6 is a diagram showing the difference in the number of correlations in the comparison shown in Fig. 5. Fig. 7 is a diagram showing an example of a comparison of the number of physical bits required for the LHZ model in one-hot representation and domain wall representation in the traveling salesman problem. Fig. 8 is a diagram showing the difference in the number of physical bits in the comparison shown in Fig. 7. Note that in Figs. 5 to 8, N represents the number of cities visited in the traveling salesman problem.

[0040] As described above, using a domain wall representation instead of a one-hot representation reduces the number of logical bits by one. However, as shown in FIGS. 5 and 6 , when the number of cities visited, N, is eight or more, the number of correlations between logical bits increases when the domain wall representation is used compared to when the one-hot representation is used. The greater the number of correlations between logical bits, the more difficult it becomes to search for a solution. In other words, it becomes more difficult to obtain a solution in a short period of time. For example, assuming a fully connected annealer as the hardware processing unit 40, it may not be clear whether the solution search is more efficient (shorter) when the one-hot representation, which requires a large number of bits, is used to solve the traveling salesman problem, or when the domain wall representation, which requires a small number of bits, is used. Furthermore, while the one-hot representation requires only one parameter to be adjusted, the domain wall representation requires two parameters to be adjusted. As a result, adjustments to obtain a more accurate solution require more time. Therefore, applying a domain wall representation does not necessarily shorten the solution search time.

[0041] However, as can be seen from Figures 7 and 8, when the domain wall representation is used instead of the one-hot representation for the LHZ model, the number of required physical bits is always smaller when the domain wall representation is used than when the one-hot representation is used. Therefore, the determination unit 204 may determine whether it is better to use the domain wall representation instead of the one-hot representation based on the number of correlations between logical bits. (In other words, if the only purpose is to reduce the number of physical bits required for the LHZ model, the determination unit 204 is not necessary.)

[0042] The output unit 30 outputs the model solution obtained by the control unit 20 to the outside of the processing device 1. The hardware processing unit 40 performs a predetermined operation using the quantum superposition state. For example, the hardware processing unit 40 obtains an optimal solution to a combinatorial optimization problem represented by an energy function based on quantum annealing or QAOA (Quantum Approximate Optimization Algorithm). Examples of the hardware processing unit 40 include a gate-type quantum computer based on QAOA (Quantum Approximate Optimization Algorithm) and a quantum annealing machine.

[0043] Note that the processes performed by the input unit 10, the control unit 20, the output unit 30, and the hardware processing unit 40 in the processing device 1 are not limited to the processes described above. For example, in the processing device 1, the input unit 10, the control unit 20, the output unit 30, and the hardware processing unit 40 may perform the processes described below.

[0044] 9 is a diagram illustrating an example of a processing flow of the processing device 1 according to an embodiment of the present disclosure. Here, the processing performed by the processing device 1 will be described with reference to FIG. 9 while showing the traveling salesman problem as a specific example of a combinatorial optimization problem.

[0045] The model input unit 101 receives an Ising model (step S1). The one-hot condition input unit 102 explicitly receives a set of variables included in the one-hot expression based on the Ising model received by the model input unit 101 (step S2).

[0046] The determination unit 204 determines whether or not the representation conversion unit 201 should convert the model from the one-hot representation to the domain wall representation (step S3).

[0047] If the determination unit 204 determines that the representation conversion unit 201 should convert the model from the one-hot representation to the domain wall representation (YES in step S3), the representation conversion unit 201 converts the model from the one-hot representation to the domain wall representation (step S4).Then, the embedding unit 202 sets variables in the model converted to the domain wall representation so as to match the hardware processing unit 40 configured based on the LHZ model (step S5).

[0048] Furthermore, if the determination unit 204 determines that it is better for the representation conversion unit 201 not to convert the model from the one-hot representation to the domain wall representation (NO in step S3), the representation conversion unit 201 leaves the model as it is in the one-hot representation (step S6).

[0049] The hardware processing unit 40 executes a predetermined calculation on the model using the quantum superposition state (step S7). The solution-finding unit 203 finds a solution to the model representing the combinatorial optimization problem for which variables have been set, based on the predetermined calculation executed by the hardware processing unit 40 (step S8).

[0050] The output unit 30 outputs the solution of the model obtained by the control unit 20 to the outside of the processing device 1 (step S9).

[0051] (Advantages) The processing device 1 according to the first embodiment of the present disclosure has been described above. In the processing device 1, when an energy function is input to hardware configured based on the LHZ (Lechner-Hauke-Zoller) model, the representation conversion unit 201 (an example of an application means) applies data in a domain wall representation instead of data in a one-hot representation that represents a part or all of the energy function.

[0052] This processing device 1 can realize processing using limited hardware resources, which is configured based on an optimization device having a predetermined graph structure such as an LHZ model.

[0053] Next, a description will be given of a processing device 1 according to a modification of an embodiment of the present disclosure. In the embodiment of the present disclosure, the processing of the processing device 1 has been described assuming that the combinatorial optimization problem is a traveling salesman problem. However, in a modification of the embodiment of the present disclosure, the processing device 1 may be configured to find a solution to a staffing problem.

[0054] For example, assume that there are 20 workers and three types of work: A, B, and C. Also, assume that the amount of work that each worker can complete per unit time is determined, and that this amount of work can be expressed as w(i, k). Figure 10 is a diagram showing an example of the relationship between workers and work content in a personnel allocation problem. The relationship shown in Figure 10 is a table summarizing the above-mentioned prerequisites. Note that in this example, it is assumed that the amount of work w(i, k) = 0 will never occur. Also, a variable of 0 or 1 indicating that worker i is performing work k is represented as x(i, k).

[0055] In this case, the energy function H that maximizes the quota fulfillment rate can be expressed as in equation (5).

[0056]

[0057] However, Sk in equation (5) is expressed as in equation (6).

[0058]

[0059] Note that one-hot representation is applied to equation (5). If a variance term is added as a condition for completing multiple tasks as uniformly as possible (i.e., to avoid a situation where one task is completed while another task is not), the energy function H can be expressed as equation (7) using one-hot representation.

[0060]

[0061] This equation (7) can be changed from one-hot representation to domain wall representation, and the number of variables can be reduced, similar to the traveling salesman problem. As a result, the number of variables can be reduced from NM to N(M-1). Specifically, the variable x(i,k) (k = 1, 2, 3) in the one-hot representation can be rewritten as the variable s(i,k) (k = 1, 2) in the domain wall representation by using x(i,k) = (s(i,k) - s(i,k-1)) / 2. As a result, the number of logical variables can be reduced from 20 x 3 = 60 to 20 x 2 = 40. Accordingly, the number of physical bits in the LHZ model hardware can be reduced from 60 x 6½ = 1830 to 40 x 4½ = 820.

[0062] (Advantages) The processing device 1 according to the modified example of the embodiment of the present disclosure has been described above. It can be seen that the processing device 1 according to the embodiment of the present disclosure is also effective for combinatorial optimization problems other than the traveling salesman problem.

[0063] In the above-described embodiments and modified examples of the embodiments of the present disclosure, the processing device 1 has been described using hardware configured based on the LHZ model as a specific example of hardware. However, in another embodiment of the present disclosure, the hardware is not limited to hardware configured based on the LHZ model. In another embodiment of the present disclosure, the hardware may be hardware with a different configuration that performs conversion so that all combinations of a predetermined number of logical bits correspond to physical bits.

[0064] In the above-described embodiments and modified examples of the embodiments of the present disclosure, the processing device 1 has been described as including an application unit that applies data in a domain wall representation instead of data in a one-hot representation. However, in another embodiment of the present disclosure, data in a domain wall representation may be applied from the beginning, rather than data in a one-hot representation. FIG. 11 is a diagram illustrating an example of a configuration of a hardware processing unit 40 according to another embodiment of the present disclosure. In the processing device 1, the hardware processing unit 40 that performs a predetermined operation on a model using a quantum superposition state may be configured such that, when an energy function of a problem is input to hardware configured such that all combinations of a predetermined number of logical bits (two or more) selectable from a group of logical bits constituting the problem correspond to different physical bits, the hardware processing unit 40 has a configuration that matches the number of bits of data in a domain wall representation included in the energy function, and includes an acquisition unit 401 (an example of an acquisition unit) that acquires data in the domain wall representation.

[0065] Optimization devices that consider all correlations between combinations of a predetermined number of logic bits (two or more) from the beginning, as exemplified by the LHZ model, have the advantage of being strong at solving problems with complex graph structures with many connections between logic bits. Problems defined using domain wall representations tend to have a large number of correlations between logic bits, as explained in Figures 5 and 6. However, for the reasons mentioned above, an optimization device with a predetermined graph structure, such as the LHZ model, can solve problems using domain wall representations with relatively few hardware resources.

[0066] A processing device 1 with a minimum configuration according to an embodiment of the present disclosure will be described. FIG. 12 is a diagram illustrating the processing device 1 with a minimum configuration according to an embodiment of the present disclosure. The processing device 1 with a minimum configuration according to an embodiment of the present disclosure includes an application unit 100 (an example of an application means). When an energy function is input to hardware configured based on the LHZ (Lechner-Hauke-Zoller) model, the application unit 100 applies data in a domain wall representation instead of data in a one-hot representation representing part or all of the energy function. The application unit 100 can be realized, for example, using the functions of the representation conversion unit 201 illustrated in FIG. 1.

[0067] Next, a description will be given of the processing of the processing device 1 with the minimum configuration. Fig. 13 is a diagram showing an example of a processing flow of the processing device 1 with the minimum configuration. Here, the processing of the processing device 1 with the minimum configuration will be described with reference to Fig. 13.

[0068] When inputting an energy function to hardware configured based on the LHZ (Lechner-Hauke-Zoller) model, the application unit 100 applies data in a domain wall representation instead of data in a one-hot representation that represents a part or all of the energy function (step S101). By doing so, the processing device 1 can realize processing using a small number of hardware resources configured based on an optimization device having a predetermined graph structure such as the LHZ model.

[0069] The order of the processes in the embodiments of the present disclosure may be changed as long as the processes are performed appropriately.

[0070] Although the embodiments of the present disclosure have been described, the processing device 1, input unit 10, control unit 20, output unit 30, hardware processing unit 40, and other control devices may have a computer device inside. The above-mentioned processing steps are stored in the form of a program on a computer-readable recording medium, and the above processing is performed by reading and executing this program by a computer. Specific examples of computers are shown below.

[0071] FIG. 14 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. As shown in FIG. 14 , the computer 5 includes a CPU (Central Processing Unit) 6, a main memory 7, a storage 8, and an interface 9. For example, the processing device 1, input unit 10, control unit 20, output unit 30, hardware processing unit 40, and other control devices are each implemented in the computer 5. The operation of each of the above-mentioned processing units is stored in the storage 8 in the form of a program. The CPU 6 reads the program from the storage 8, loads it into the main memory 7, and executes the above-mentioned processing in accordance with the program. The CPU 6 also allocates storage areas in the main memory 7 corresponding to each of the above-mentioned storage units in accordance with the program.

[0072] Examples of storage 8 include a hard disk drive (HDD), a solid state drive (SSD), a magnetic disk, a magneto-optical disk, a compact disc read-only memory (CD-ROM), a digital versatile disc read-only memory (DVD-ROM), and a semiconductor memory. Storage 8 may be an internal medium directly connected to the bus of computer 5, or an external medium connected to computer 5 via interface 9 or a communication line. Furthermore, if the program is distributed to computer 5 via a communication line, computer 5 that receives the program may load the program into main memory 7 and execute the above-described processing. In at least one embodiment, storage 8 is a non-transitory tangible storage medium.

[0073] The program may also implement some of the functions described above. Furthermore, the program may be a file that can implement the functions described above in combination with a program already stored in the computer device, a so-called differential file (differential program).

[0074] Although several embodiments of the present disclosure have been described, these embodiments are merely examples and do not limit the scope of the disclosure. Various additions, omissions, substitutions, and modifications may be made to these embodiments without departing from the spirit of the disclosure.

[0075] Note that part or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes.

[0076] (Supplementary Note 1) A processing device comprising: hardware configured to correspond all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits constituting a problem to different physical bits; and application means for applying data in a domain wall representation instead of data in a one-hot representation that represents part or all of the energy function when inputting an energy function of the problem to the hardware.

[0077] (Supplementary Note 2) The processing device according to Supplementary Note 1, wherein the hardware is configured based on the LHZ (Lechner-Hauke-Zoller) model.

[0078] (Supplementary Note 3) The processing device according to Supplementary Note 1 or Supplementary Note 2, wherein the hardware finds an optimal solution to a combinatorial optimization problem represented by the energy function based on quantum annealing or a quantum approximate optimization algorithm (QAOA).

[0079] (Supplementary Note 4) The processing device according to any one of Supplementary Note 1 to Supplementary Note 3, further comprising: a determination means for determining whether it is better to apply data in a domain wall representation instead of the data in the one-hot representation, wherein the application means applies the data in a domain wall representation instead of the data in the one-hot representation when the determination means determines that it is better to apply data in a domain wall representation instead of the data in the one-hot representation.

[0080] (Supplementary Note 5) The processing device according to Supplementary Note 4, wherein the determination means determines whether or not it is better to apply data in a domain wall representation instead of the data in the one-hot representation, based on the number of correlations between variables when the data in the one-hot representation is applied and the number of correlations between variables when the data in the domain wall representation is applied.

[0081] (Supplementary Note 6) A processing method executed by a processing device equipped with hardware configured such that all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits constituting a problem correspond to different physical bits when an energy function of the problem is input to the hardware, the processing method applying data in a domain wall representation instead of data in a one-hot representation representing part or all of the energy function.

[0082] (Supplementary Note 7) The processing method according to Supplementary Note 6, wherein the hardware is configured based on the LHZ (Lechner-Hauke-Zoller) model.

[0083] (Supplementary Note 8) The processing method according to Supplementary Note 6 or Supplementary Note 7, wherein an optimal solution to the combinatorial optimization problem represented by the energy function is obtained based on quantum annealing or a quantum approximate optimization algorithm (QAOA).

[0084] (Supplementary Note 9) A recording medium storing a program that causes a computer of a processing device equipped with the hardware to execute the following when inputting an energy function of a problem to hardware configured such that all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits constituting the problem correspond to different physical bits: applying data in a domain wall representation instead of data in a one-hot representation that represents part or all of the energy function.

[0085] (Supplementary Note 10) The recording medium according to Supplementary Note 9, wherein the hardware is configured based on the LHZ (Lechner-Hauke-Zoller) model.

[0086] (Supplementary Note 11) The recording medium according to Supplementary Note 10 or Supplementary Note 10, storing a program that causes a computer to execute the following:

[0087] (Supplementary Note 12) A processing device comprising: an acquisition means for acquiring data of a domain wall representation, the acquisition means having a configuration that matches the number of bits of data of a domain wall representation included in the energy function, when an energy function of the problem is input to hardware configured to correspond to different physical bits for all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits that constitute the problem.

[0088] (Supplementary Note 13) A processing method executed by a processing device having a configuration that matches the number of bits of data in the domain wall representation, the processing method comprising: inputting an energy function of a problem to hardware configured to correspond all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits that constitute the problem to different physical bits; and acquiring data in a domain wall representation included in the energy function.

[0089] (Supplementary Note 14) A recording medium storing a program that causes a computer of a processing device having a configuration that matches the number of bits of data in the domain wall representation to execute the following when inputting an energy function of a problem to hardware configured to correspond all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits that constitute the problem to different physical bits: obtaining data in a domain wall representation included in the energy function.

[0090] According to each aspect of the present disclosure, processing can be realized using limited hardware resources configured based on an optimization device having a predetermined graph structure such as an LHZ model.

[0091] DESCRIPTION OF SYMBOLS 1 Processing device 5 Computer 6 CPU 7 Main memory 8 Storage 9 Interface 10 Input unit 20 Control unit 30 Output unit 40 Hardware processing unit 100 Application unit 101 Model input unit 102 One-hot condition input unit 201 Representation conversion unit 202 Embedding unit 203 Solution-finding unit 204 Determination unit

Claims

1. A processing device comprising: hardware configured to correspond all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits constituting a problem to different physical bits; and an application means for applying data in a domain wall representation instead of data in a one hot representation representing a part or all of the energy function when an energy function of the problem is input to the hardware.

2. The processing device according to claim 1, wherein the hardware is configured based on the LHZ (Lechner-Hauke-Zoller) model.

3. The processing device according to claim 1 or 2, wherein the hardware finds an optimal solution to the combinatorial optimization problem represented by the energy function based on quantum annealing or a quantum approximation optimization algorithm (QAOA).

4. A processing device as claimed in any one of claims 1 to 3, further comprising a determination means for determining whether or not it is better to apply data of a domain wall representation instead of the data of the one-hot representation, wherein the application means applies the data of a domain wall representation instead of the data of the one-hot representation when the determination means determines that it is better to apply data of a domain wall representation instead of the data of the one-hot representation.

5. The processing device according to claim 4, wherein the determination means determines whether or not it is better to apply domain wall representation data instead of the one-hot representation data based on the number of correlations between variables when the one-hot representation data is applied and the number of correlations between variables when the domain wall representation data is applied.

6. A processing method executed by a processing device equipped with said hardware, in which when an energy function of a problem is input to hardware configured such that all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits constituting the problem correspond to different physical bits, data in a domain wall representation is applied instead of data in a one hot representation representing part or all of the energy function.

7. A recording medium storing a program that causes a computer of a processing device equipped with said hardware to execute the following when inputting an energy function of a problem to hardware configured such that all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits that constitute the problem correspond to different physical bits: applying data in a domain wall representation instead of data in a one hot representation that represents part or all of the energy function.

8. A processing device comprising: an acquisition means for acquiring data of a domain wall representation, the acquisition means having a configuration that matches the number of bits of data of a domain wall representation included in the energy function when an energy function of the problem is input to hardware configured to correspond to different physical bits for all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits constituting the problem.

9. A processing method executed by a processing device having a configuration that matches the number of bits of data in the domain wall representation, in which an energy function of a problem is input to hardware configured to correspond to different physical bits all of the combinations of a predetermined number of two or more logical bits selectable from a group of logical bits that constitute the problem, and data in a domain wall representation included in the energy function is obtained.

10. A recording medium storing a program that causes a computer of a processing device having a configuration that matches the number of bits of the data in the domain wall representation to execute the following when inputting an energy function of a problem into hardware configured to correspond all combinations of a predetermined number of two or more logical bits selectable from a group of logical bits that constitute the problem to different physical bits: obtaining data in a domain wall representation contained in the energy function.

Citation Information

Patent Citations

  • Quantum Computation for Combinatorial Optimization Problems Using Programmable Atomic Arrays

    JP2021536610A

  • Function processing method, device, and electronic apparatus

    JP2022062274A

  • Arithmetic apparatus, method, and program

    JP2022076900A