Function conversion device, function conversion method, and program
The conversion of multivariate functions into polynomials using a unit polynomial approach allows for efficient solving of combinatorial optimization problems with quantum annealing or Ising machines.
Patent Information
- Application Number
- JP2023514266
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-04-15
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2041-04-15
AI Technical Summary
Existing methods fail to convert arbitrary multivariate functions, such as rational, exponential, or logarithmic functions, into multivariate polynomials, which are necessary for solving combinatorial optimization problems using quantum annealing or Ising machines.
A technique to convert any multivariate function into a multivariate polynomial by using a unit polynomial that assigns a value of 1 when the input vector matches the output vector and 0 otherwise, allowing for the generation of a polynomial representation of the function.
Enables the conversion of any multivariate function into a polynomial form, facilitating the use of quantum annealing or Ising machines for solving combinatorial optimization problems efficiently.
Smart Images

Figure 0007571869000006 
Figure 0007571869000007 
Figure 0007571869000008
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for converting a function of multiple variables into a multivariate polynomial. [Background technology]
[0002] It is said that it is difficult for the currently widely used von Neumann computers to efficiently solve combinatorial optimization problems. Therefore, in recent years, research and development has been progressing on quantum annealing machines and Ising machines, which are computers that can solve combinatorial optimization problems more efficiently than von Neumann computers.
[0003] These new computers take as input the objective function of the combinatorial optimization problem in question, which is a QUBO (Quadratic Unconstrained Binary Optimization) objective function or an optimization function equivalent to this, expressed as an Ising Hamiltonian, and can quickly calculate a solution to the problem.
[0004] QUBO's objective function and its equivalent Ising Hamiltonian are multivariate quadratic polynomials for binary variables (0-1 variables) that take on either 0 or 1, but there are methods to convert any multivariate polynomial for 0-1 variables into QUBO's objective function or its equivalent Ising Hamiltonian (see, for example, Non-Patent Documents 1 and 2). [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Nike Dattani, “Quadratization in Discrete Optimization and Quantum Mechanics”, [online], arXiv:1901.04405v2 [quant-ph] 23 Sep 2019, [Retrieved March 30, 2021], Internet<https: / / arxiv.org / pdf / 1901.04405.pdf> [Non-Patent Document 2] Endre Boros, Yves Crama, Elisabeth Rodriguez-Heck, “Quadratizations of symmetric pseudo-Boolean functions: sub-linear bounds on the number of auxiliary variables”, [online], International Symposium on Artificial Intelligence and Mathematics (ISAIM 2018), 4-Jan-2018, [Retrieved March 30, 2021], Internet<https: / / orbi.uliege.be / handle / 2268 / 220766> Summary of the Invention [Problem to be solved by the invention]
[0006] As mentioned above, to solve a combinatorial optimization problem using a quantum annealing machine or an Ising machine, the objective function of the problem needs to be expressed in the form of a QUBO objective function or an equivalent Ising Hamiltonian, but this expression is not self-evident. As mentioned above, there are methods to convert any multivariate polynomial with respect to 0-1 variables into a QUBO objective function or an equivalent Ising Hamiltonian. However, there is no known method to convert any multivariate function with respect to 0-1 variables, which represents the objective function of a combinatorial optimization problem, into a multivariate polynomial with respect to 0-1 variables. In particular, for multivariate functions defined in a form that is not additive, subtractive, or multiplicative, such as rational functions, exponential functions, or logarithmic functions, it is not possible to directly obtain an expression as a polynomial.
[0007] Such problems arise not only when generating optimization functions for solving combinatorial optimization problems using a quantum computer, but also when converting any multivariate function into a multivariate polynomial.
[0008] The present invention has been made in view of the above circumstances, and has an object to provide a technique for converting an arbitrary multivariate function into a multivariate polynomial. [Means for solving the problem]
[0009] N variables x1,…,x N Any multivariate function f(x1,…,x N ) into variables x1,…,x N Multivariate polynomial g(x1,…,x N ), where N is an integer equal to or greater than 1. The conversion unit converts a multivariate function f(x1, ..., x N ) is input, and at least one (s1,…,s N ) for f(s1,…,s N )P(s1,…,s N ,x1,…,x N ) multivariate polynomial g(x1,…,x N ) is obtained and output. In this case, P(s1,…,s N ,x1,…,x N ) is a function of (s1,…,s N )=(x1,…,x N ), 1 when (s1,…,s N ) ≠ (x1,…,x N ), and s1,…,s N are N variables. Effect of the Invention
[0010] As described above, in the present invention, any multivariate function can be converted into a multivariate polynomial. [Brief description of the drawings]
[0011] [Figure 1] Fig. 1A is a block diagram illustrating the functional configuration of a function transformation device according to a first embodiment, and Fig. 1B is a block diagram illustrating the functional configuration of a multivariable polynomial generation unit in Fig. 1A. [Diagram 2] FIG. 2 is a flow chart illustrating the processing of the function transformation device of the first embodiment. [Diagram 3] FIG. 3 is a block diagram illustrating the functional configuration of the function transformation device of the second embodiment. [Figure 4] FIG. 4 is a block diagram illustrating the hardware configuration of the function transformation device according to the first and second embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. [principle] First, the principle of each embodiment will be described. In each embodiment, N variables x1,...,x N Any multivariate function f(x1,…,x N ) into variables x1,…,x N Multivariate polynomial g(x1,…,x N ), where N is an integer equal to or greater than 1. Also, the variables x1,…,x N can be any value, for example, variables x1,...,x N Each of these is a binary variable x i ∈{b0,b1}, b0 ≠ b1, for i = 1, …, N. In particular, for a binary variable x i If is a 0-1 variable, then b0 = 0 and b1 = 1. For each variable x i For example, the possible values for variables x1,...,x N Each of these is a binary variable x i ∈{b 0,i ,b 1,i}, and each {b 0,i ,b 1,i} may vary with i. In particular, the binary variable x i If is a 0-1 variable, then (b 0,i ,b 1,i )=(0,1) or (b 0,i ,b 1,i )=(1,0) may differ depending on i.
[0013] In this embodiment, N variables s1, . . . , s NA vector (s1,…,s N For each of the vectors (s1,…,s N ) and N variables x1,…,x N A vector (x1,…,x N ) is (s1,…,s N )=(x1,…,x N ) when P(s1,…,s N ,x1,…,x N )=1, and (s1,…,s N ) ≠ (x1,…,x N ) when P(s1,…,s N ,x1,…,x N )=0 for the polynomial P(s1,…,s N ,x1,…,x N ), and combine them to realize the above transformation. That is, for each vector (s1,…,s N ) for the polynomial P(s1,…,s N ,x1,…,x N ) is a function of (s1,…,s N )=(x1,…,x N ) variables x1,…,x N If s1, ..., s is input, the value is 1, otherwise the value is 0. N ,x1,…,x N ) is called the unit polynomial. Here, the variables s1,…,s N can be any value, for example, variables s1, ..., s N Each of these is a binary variable s i ∈{b0,b1}. In particular, the binary variable s i If is a 0-1 variable, then b0=0 and b1=1.
[0014] Dichotomous variable x i and s i where i=1,…,N is a unit polynomial P(s1,…,s N ,x1,…,x N ) is an example. First, consider the 0-1 variable x i For variable x i The negative form of is defined as follows: x i - =1-x i In addition, x i - The upper right subscript "-" is actually "x i " should be written directly above "x i " may be written in the upper right corner. Next, the 0-1 variable x i and s i For, we define the following operation (+).
number
[0015] The input is a multivariate function f(x1,…,x N ) may be a partial function, i.e. a multivariate function f(x1,…,x N ) domain d x is the variable x i It is not necessary to include all the combinations above. In this case, the unit polynomial P(s1,…,s N ,x1,…,x N ) is at least a vector (x1,…,x N ) domain d x For each vector (s1,…,s N )∈d x That is, at least some of the vectors (s1, ..., s N )(s1,…,s N For a sequence of unit polynomials f(s1,…,s N ) should be set. Also, the domain d x is a vector (x1,…,x N ) the whole area (whole space) u x If , then for all vectors (s1,…,s N )∈u x For unit polynomial f(s1,…,s N ) is set. For example, the binary variable x i and s i is a 0-1 variable with domain d x is a vector (x1,…,x N ), if the domain d x There are 2 N Vector (x1,…,x N ) exists. In this case, 2 N A vector of streets (s1,…,s N )∈{0,1} N For each unit polynomial f(s1,…,s N ) is set.
[0016] Under this premise, the conversion unit in each embodiment converts a multivariable function f(x1, ..., x N ) is input, and the domain d x Vectors (s1,…,sN )∈d x (At least some of the pairs (s1,…,s N For f(s1,…,s) N )P(s1,…,s N ,x1,…,x N ) multivariate polynomial g(x1,…,x N For example, the conversion unit obtains and outputs the multivariate polynomial g(x1, ..., x N ) to output.
number
number
[0017] In particular, the domain d x is a vector (x1,…,x N ) the whole area u x If so, the transformer converts all vectors (s1,…,s N )∈u x (For all pairs (s1,…,s N For f(s1,…,s) N )P(s1,…,s N,x1,…,x N ) multivariate polynomial g(x1,…,x N ) is obtained and output. That is, the conversion unit converts the multivariate polynomial g(x1, ..., x N ) to output.
number
number
[0018] [First embodiment] Next, a first embodiment will be described. Hereinafter, the same symbols will be used for matters that have already been described, and the description will be omitted. <Configuration> As illustrated in FIG. 1A, the function transformation device 1 of this embodiment has a transformation unit 10, a storage unit 13, and a control unit 14. Here, the transformation unit 10 illustrated in this embodiment has a multivariable function value generation unit 11 and a multivariable polynomial generation unit 12. Also, as illustrated in FIG. 1B, the multivariable polynomial generation unit 12 illustrated in this embodiment has a multiplication unit 121 and an addition unit 122. However, these do not limit the present invention, and at least some functions of multiple processing units may be integrated. Also, each process is executed under the control of the control unit 14, and data obtained in each process is stored in the storage unit 13 and is read out and used in other processes as necessary.
[0019] <Processing> 4 illustrates the function conversion process of this embodiment. The conversion unit 10 of the function conversion device 1 has a multivariable function f(x1, ..., x N ) is input. Multivariate function f(x1,…,x N ), but is not limited to it, for example, the objective function of a combinatorial optimization problem or an equivalent multivariate function f(x1, ..., x N ) is input. Also, the multivariate function f(x1,…,x N ) domain d x may also be input to the conversion unit 10. However, the domain d x may not be input to the function transformation device 1. For example, the domain d x is the entire area u x In the case of domain d x If is known, the domain d x The input of is optional.
[0020] The conversion unit 10 converts at least a part of the vectors (s1, . . . , s N ) for f(s1,…,s N )P(s1,…,s N ,x1,…,x N ) multivariate polynomial g(x1,…,x N ) and outputs it. For example, the conversion unit 10 obtains and outputs x Vectors (s1,…,s N ) for f(s1,…,s N )P(s1,…,s N ,x1,…,x N ) multivariate polynomial g(x1,…,x N ), or you can output all vectors (s1,…,s N ) for f(s1,…,s N )P(s1,…,s N ,x1,…,x N ) multivariate polynomial g(x1,…,x N ) and output it.
[0021] The function conversion process of this embodiment will be illustrated with reference to FIG. The multivariable function value generating unit 11 of the conversion unit 10 receives a multivariable function f(x1, ..., x N ) is entered. Domain d x If is entered, this domain d x are also input to the multivariable function value generator 11. The multivariable function value generator 11 calculates at least a part of the vectors (s1, ..., s N )(set(s1,…,s N )) for the multivariate function f(s1,…,s N For example, the multivariable function value generating unit 11 obtains and outputs a domain d x Vectors (s1,…,s N ) for the multivariate function value f(s1,…,s N ), or you can output all vectors (s1,…,s N ) for the multivariate function value f(s1,…,s N ) may be obtained and output (step S11).
[0022] The multivariable function value f(s1, ..., s N ) is input to the multivariate polynomial generator 12. The multivariate polynomial generator 12 generates at least a part of the vectors (s1, ..., s N )(set(s1,…,s N For f(s1,…,s) N )P(s1,…,s N ,x1,…,x N ) multivariate polynomial g(x1,…,x N For example, the multivariate polynomial generator 12 obtains and outputs a domain d x Vectors (s1,…,s N ) for f(s1,…,s N )P(s1,…,s N ,x1,…,x N ) multivariate polynomial g(x1,…,x N ), or you can output all vectors (s1,…,s N ) for f(s1,…,s N )P(s1,…,s N ,x1,…,x N) multivariate polynomial g(x1,…,x N For example, the multivariate polynomial generation unit 12 may obtain and output a multivariate polynomial g(x1, ..., x N ) is generated and output. Also, the multivariate polynomial g(x1,…,x N There is no limitation on the calculation process of f(s1, . . . , s N ) and P(s1,…,s N ,x1,…,x N ) and f(s1,…,s N )P(s1,…,s N ,x1,…,x N ), and the adder 122 obtains the obtained f(s1, ..., s N )P(s1,…,s N ,x1,…,x N ) cumulatively or in batches to find the multivariate polynomial g(x1,…,x N ) is obtained and output (step S12).
[0023] <Example> In the following, N=3 and the variable s i and x i Here is a concrete example where is a 0-1 variable: Multivariate function of inputs: f(x1,x2,x3) Transformed multivariate polynomial: g(x1,x2,x3) =f(0,0,0)x1 - x2 - x3 - +f(0,0,1)x1 - x2 - x3+f(0,1,0)x1 - x2x3 - +f(0,1,1)x1 - x2x3+f(1,0,0)x1x2 - x3 - +f(1,0,1)x1x2 - x3+f(1,1,0)x1x2x3 - +f(1,1,1)x1x2x3 =f(0,0,0)+ (f(0,0,1)-f(0,0,0))x3+ (f(0,1,0)-f(0,0,0))x2+ (f(1,0,0)-f(0,0,0))x1+ (f(0,1,1)-f(0,1,0)-f(0,0,1)+f(0,0,0))x2x3+ (f(1,0,1)-f(1,0,0)-f(0,0,1)+f(0,0,0))x1x3+ (f(1,1,0)-f(1,0,0)-f(0,1,0)+f(0,0,0))x1x2+ (f(1,1,1)-f(1,1,0)-f(1,0,1)-f(0,1,1)+ f(1,0,0)+f(0,1,0)+f(0,0,1)-f(0,0,0))x1x2x3
[0024] <Features of this embodiment> The multivariate polynomial g(x1,…,x N ) is at least in the domain d x Vector (x1,…,x N ), any multivariate function f(x1,…,x N ) is equivalent to the domain d x is the entire area u x Then, for all vectors (x1,…,x N ) in g(x1,…,x N )=f(x1,…,x N ) in this embodiment. N ) into a multivariate polynomial g(x1,…,x N ) can be converted to
[0025] [Second embodiment] Only some of the terms of an arbitrary multivariate function to be converted may be converted into a multivariate polynomial. In the second embodiment, such an example is shown. <Configuration> As shown in FIG. 3, the function transformation device 2 of this embodiment has a separation section 21, a function transformation device 1, and a synthesis section 22.
[0026] <Processing> 4 illustrates the function conversion process of this embodiment. The separation unit 21 of the function transformation device 2 receives a multivariable function f(x1, ..., x N An example of such a function is the multivariate function f(x1,…,x N ) and variables x1,…,x N ,w is a function of multiple variables h(x1,…,x N ,w) and f(x1,…,x N )+h(x1,…,x N , w), but this does not limit the present invention. The separator 21 is N )+h(x1,…,x N ,w) to f(x1,…,x N ) and the remaining terms (e.g., h(x1,…,x N ,w) and f(x1,…,x N ) is input to the function transformation device 1, and the remaining terms (e.g., h(x1,…,x N , w) are input to the synthesis unit 22.
[0027] As described in the first embodiment, the function transformation device 1 transforms a multivariate function f(x1, . . . , x N ) into a multivariate polynomial g(x1,…,x N ) and output the multivariate polynomial g(x1,…,x N ) is input to the synthesis unit 22.
[0028] The synthesis unit 22 synthesizes a multivariate polynomial g(x1, ..., x N ) and the remaining terms mentioned above (e.g., h(x1,…,x N ,w)) and the function obtained by adding them (for example, g(x1,…,x N )+h(x1,…,x N ,w)).
[0029] <Example> In the following, N=3 and the variable s i and x i Here is a concrete example where is a 0-1 variable: Multivariate function of inputs: f(x1,x2,x3)+h(x1,x2,x3,w) Transformed multivariate polynomial: g(x1,x2,x3)+h(x1,x2,x3,w) =f(0,0,0)x1 - x2 - x3 - +f(0,0,1)x1 - x2 - x3+f(0,1,0)x1 - x2x3 - +f(0,1,1)x1 - x2x3+f(1,0,0)x1x2 - x3 - +f(1,0,1)x1x2 - x3+f(1,1,0)x1x2x3 - +f(1,1,1)x1x2x3 =f(0,0,0)+ (f(0,0,1)-f(0,0,0))x3+ (f(0,1,0)-f(0,0,0))x2+ (f(1,0,0)-f(0,0,0))x1+ (f(0,1,1)-f(0,1,0)-f(0,0,1)+f(0,0,0))x2x3+ (f(1,0,1)-f(1,0,0)-f(0,0,1)+f(0,0,0))x1x3+ (f(1,1,0)-f(1,0,0)-f(0,1,0)+f(0,0,0))x1x2+ (f(1,1,1)-f(1,1,0)-f(1,0,1)-f(0,1,1)+ f(1,0,0)+f(0,1,0)+f(0,0,1)-f(0,0,0))x1x2x3 +h(x1,x2,x3,w)
[0030] [Hardware configuration] The function transformation devices 1 and 2 in each embodiment are devices configured by a general-purpose or dedicated computer having a processor (hardware processor) such as a CPU (central processing unit) and a memory such as a RAM (random-access memory) and a ROM (read-only memory) executing a predetermined program. That is, the function transformation devices 1 and 2 in each embodiment have, for example, a processing circuit configured to implement each unit that each of them has. This computer may have one processor and memory, or may have multiple processors and memories. This program may be installed in the computer, or may be recorded in a ROM or the like in advance. In addition, some or all of the processing units may be configured using electronic circuits that realize processing functions independently, rather than electronic circuits that realize functional configurations by reading programs like a CPU. In addition, the electronic circuits that configure one device may include multiple CPUs.
[0031] FIG. 4 is a block diagram illustrating the hardware configuration of the function transformation devices 1 and 2 in each embodiment. As illustrated in FIG. 4, the function transformation devices 1 and 2 in this example have a CPU (Central Processing Unit) 10a, an input unit 10b, an output unit 10c, a RAM (Random Access Memory) 10d, a ROM (Read Only Memory) 10e, an auxiliary storage device 10f, and a bus 10g. The CPU 10a in this example has a control unit 10aa, a calculation unit 10ab, and a register 10ac, and executes various calculation processes according to various programs loaded into the register 10ac. The input unit 10b is an input terminal to which data is input, a keyboard, a mouse, a touch panel, etc. The output unit 10c is an output terminal to which data is output, a display, a LAN card controlled by the CPU 10a that has loaded a predetermined program, etc. The RAM 10d is a static random access memory (SRAM), a dynamic random access memory (DRAM), or the like, and has a program area 10da in which a predetermined program is stored, and a data area 10db in which various data is stored. The auxiliary storage device 10f is, for example, a hard disk, a magneto-optical disc (MO), a semiconductor memory, or the like, and has a program area 10fa in which a predetermined program is stored, and a data area 10fb in which various data is stored. The bus 10g connects the CPU 10a, the input unit 10b, the output unit 10c, the RAM 10d, the ROM 10e, and the auxiliary storage device 10f so that information can be exchanged. The CPU 10a writes the program stored in the program area 10fa of the auxiliary storage device 10f to the program area 10da of the RAM 10d according to the loaded OS (Operating System) program. Similarly, the CPU 10a writes various data stored in the data area 10fb of the auxiliary storage device 10f to the data area 10db of the RAM 10d. The addresses on the RAM 10d where these programs and data are written are stored in the register 10ac of the CPU 10a.The control unit 10aa of the CPU 10a sequentially reads out these addresses stored in the register 10ac, reads out programs and data from the areas on the RAM 10d indicated by the read addresses, sequentially causes the calculation unit 10ab to execute the calculations indicated by the programs, and stores the calculation results in the register 10ac. With this configuration, the functional configuration of the function transformation devices 1 and 2 is realized.
[0032] The above-mentioned program can be recorded on a computer-readable recording medium. An example of a computer-readable recording medium is a non-transitory recording medium. Examples of such a recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, a semiconductor memory, and the like.
[0033] The distribution of this program is performed, for example, by selling, transferring, lending, etc., a portable recording medium such as a DVD or CD-ROM on which the program is recorded. Furthermore, the program may be stored in a storage device of a server computer, and the program may be distributed by transferring the program from the server computer to another computer via a network. As described above, a computer that executes such a program, for example, first temporarily stores in its own storage device the program recorded in the portable recording medium or the program transferred from the server computer. Then, when executing the process, the computer reads the program stored in its own storage device and executes the process according to the read program. As another execution form of the program, the computer may directly read the program from the portable recording medium and execute the process according to the program, and further, each time the program is transferred from the server computer to the computer, the computer may execute the process according to the received program. Furthermore, the server computer may not transfer the program to the computer, and the above-mentioned process may be executed by a so-called ASP (Application Service Provider) type service that realizes the processing function only by issuing an execution instruction and obtaining the result. In addition, the program in this embodiment includes information used for processing by an electronic computer and equivalent to a program (such as data that is not a direct instruction to a computer but has the nature of defining computer processing).
[0034] In each embodiment, the present device is configured by executing a predetermined program on a computer, but at least a part of the processing contents may be realized by hardware.
[0035] The present invention is not limited to the above-described embodiment. For example, the above-described various processes may be executed not only in chronological order as described, but also in parallel or individually depending on the processing capacity of the device that executes the processes or as necessary. Needless to say, other modifications are possible without departing from the spirit of the present invention. [Industrial Applicability]
[0036] The present invention can be used, for example, when solving combinatorial optimization problems using a quantum annealing machine or an Ising machine. For example, the present invention can be used to solve the objective function of a combinatorial optimization problem or an equivalent multivariate function f(x1, ..., x N ) into a multivariate polynomial g(x1,…,x N ) can be transformed into the multivariate polynomial g(x1,…,x N ) can be converted into a QUBO objective function or an equivalent Ising Hamiltonian by the methods described in Non-Patent Documents 1 and 2. By inputting the QUBO objective function and Ising Hamiltonian obtained in this way into a quantum annealing machine or an Ising machine, it is possible to solve combinatorial optimization problems at high speed. [Explanation of symbols]
[0037] 1,2 Function conversion device 10. Conversion section 11 Multivariate function value generator 12 Multivariate polynomial generator
Claims
1. N is an integer of 1 or more, N x 1 , ..., x N are variables, and N s 1 , …, s N is a variable, (s 1 , …, s N )=(x 1 , …, x N ) when P(s 1 , …, s N , x 1 , …, x N )=1, and (s 1 , …, s N ) ≠ (x 1 , …, x N ) when P(s 1 , …, s N , x 1 , …, x N )=0, An input multivariable function having an arbitrary multivariable function f(x 1 , . . . , x N ) related to the variables x 1 , . . . , x N as one term and an arbitrary multivariable function related to an arbitrary variable as the other term is input, and only the multivariable function f(x 1 , . . . , x N ) included in the input multivariable function is divided into at least a part of a set (s 1 , …, s N ) for f(s 1 , …, s N ) P(s 1 , …, s N , x 1 , …, x N ) is added to the multivariate polynomial g(x 1 , …, x N ) and output it. A function transformation device having the following.
2. 2. The function transformation device of claim 1, The conversion unit is The multivariate function f(x 1 , …, x N ) is input, and the at least a part of the set (s 1 , …, s N ) for the multivariate function value f(s 1 , …, s N a multivariable function value generator for obtaining The multivariable function value f(s 1 , …, s N ) is input, and the at least a part of the set (s 1 , …, s N ) for f(s 1 , …, s N ) P(s 1 , …, s N , x 1 , …, x N ) is added to the multivariate polynomial g(x 1 , …, x N ) and a multivariate polynomial generator for outputting the polynomials; A function transformation device having the following.
3. 3. The function transformation device according to claim 1 or 2, The conversion unit is All the sets (s 1 , …, s N ) for f(s 1 , …, s N ) P(s 1 , …, s N , x 1 , …, x N ) is added to the multivariate polynomial g(x 1 , …, x N ) and outputs it.
4. 4. The function transformation device according to claim 1, The variable x 1 , …, x N Each of these is a binary variable x i ∈{0, 1}, and the variable s 1 , …, s N Each of these is a binary variable s i ∈{0, 1}, i = 1, ..., N, and x i - = 1 - x i and s i When x = 1 i (+)s i = x i and s i When x = 0 i (+)s i = x i - and P(s 1 , …, s N , x 1 , …, x N ) = Π 1≦i≦N (x i (+)s i ) is a function transformation device.
5. A function transformation method for a function transformation device, comprising: N is an integer equal to or greater than 1, N x 1 , . . . , x N are variables, and N s 1 , …, s N is a variable, (s 1 , …, s N )=(x 1 , …, x N ) when P(s 1 , …, s N , x 1 , …, x N )=1, and (s 1 , …, s N ) ≠ (x 1 , …, x N ) when P(s 1 , …, s N , x 1 , …, x N )=0, The conversion unit of the function conversion device receives an input multivariable function having an arbitrary multivariable function f(x1, ..., xN) related to the variables x1, ..., xN as one term and an arbitrary multivariable function related to an arbitrary variable as another term, and converts only the multivariable function f(x1, ..., xN) included in the input multivariable function into at least a part of a set (s 1 , …, s N ) for f(s 1 , …, s N ) P(s 1 , …, s N , x 1 , …, x N ) is added to the multivariate polynomial g(x 1 , …, x N ) and output it as a conversion step A function transformation method having the following structure:
6. A program for causing a computer to function as the function transformation device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Verification method for program logic and verification program for program logic
JP2008197851A
Heuristic methods of converting higher order to quadratic polynomials in binary spaces
JP2021005363A
Information processing method, information processing device, and program therefor
WO2015190593A1
