Techniques for converting an optimization functional for a binary optimization problem into a cost function for a quantum computation

CA3299694A1Pending Publication Date: 2026-09-21TERRA QUANTUM AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CA3299694
Authority / Receiving Office
CA · CA
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-01-31
Filing Date
2026-01-23
Publication Date
2026-09-21
Patent Text Reader

Abstract

The disclosure relates to method of converting an optimization functional for a binary optimization problem into a cost function for a quantum computation. The method comprises representing a first optimization variable among a plurality of binary optimization variables of the optimization functional as a first product of binary transformed variables, wherein the first product comprises a first plurality of factors, wherein each factor among the first plurality of factors corresponds to a subset of the plurality of optimization variables that includes the first optimization variable. The method further comprises converting each of the binary optimization variables or the binary transformed variables into a continuous variable; converting the optimization functional into the cost function, wherein the cost function comprises the transformed and continuous variables; and selecting a plurality of the subsets for the quantum computation.
Need to check novelty before this filing date? Find Prior Art

Description

Terra Quantum AG Techniques for converting an optimization functional for a binary optimization problem into a cost function for a quantum computation 5 Technical Field The disclosure relates to techniques for quantum computation by means of a quantum computational network, in particular to techniques for converting an optimization 10 functional for a binary optimization problem into a cost function for a quantum computation. Background 15 Quantum computers provide a platform of controllable quantum mechanical systems whose state and interaction can be controlled in order to perform a computation. The computation is realized by an evolution of the controllable quantum mechanical systems, and the state of the quantum mechanical systems can be measured to determine the outcome of the 20 computation. A quantum computer generally encodes information into so-called “qubits”, representing a quantum-mechanical two-level system and acting as a quantum mechanical equivalent of classical bits. Qubits are physical systems whose quantum mechanical state can be 25 (coherently) controlled and (substantially) preserved between two basis states during the time of a computation, in the following referred to in ket notation as |0> and |1>. As an example, a qubit may be implemented by encoding information in the spin state of an electron, e.g., in the electron being in an “up” state or a “down” state, but may also be encoded in a polarization state of a photon, in states of a (superconducting) oscillator, in 30 energy levels of an atom, or the like. Control operations on these qubits are usually termed “quantum gates”. Quantum gates can coherently act on qubits for inducing changes of the state of a single qubit (so-called singlequbit gates) and for acting on multiple qubits (so-called multi-qubit gates), e.g., to entangle 35 the states of the multiple qubits, and any combination thereof. For example, a single-qubit gate may induce a rotation of the spin state of an electron by a selectable value, e.g., π / 2. A multi-qubit gate may coherently act on two or more qubits, such as a coherent CNOT operation on the state of two qubits. A plurality of quantum gates can be applied to the qubits CA 3299694 Date reçue / Received date 2026-01-23 2 of the quantum computer in parallel or in sequence for performing a computation. Finally, the state of the qubits may be measured (usually, repeatedly) in a measurement unit after applying a sequence of quantum gates to determine the probabilities for each possible outcome of the computation. 5 A quantum computer can leverage the special properties of quantum mechanical states, in particular the superposition and entanglement of different quantum states, to find solutions with a comparatively low number of calculation steps. These properties may permit a quantum computer to compute solutions to problems which are considered intractable on 10 classical computers. Combinatorial optimizations are ubiquitous in many fields of industry and technology, and many of these optimization problems can be formulated as a Quadratic Unconstrained Binary Optimization (QUBO) problem or, more generally, as a Polynomial Unconstrained Binary 15 Optimization (PUBO) problem. These are NP hard problems, and quantum computers have been shown to have a potential to outperform classical computers in tackling these problems. Classical-quantum hybrid computers, in particular variational quantum computational networks have been employed for this task, cf. US 2022 / 0101167 A1 and M. Sciorilli et al., “Towards large-scale quantum optimization solvers with few qubits”, arXiv:2401.09421 v2, 20 25 March 2024. However, current quantum computers have a limited number of logical qubits, and hence a major challenge is the number of qubits required for quantum solvers to allow them to outperform, or even become competitive with classical computers, cf. M. Sciorilli et al. and 25 the references cited therein for an overview of the state-of-the-art. B. Tan et al., “Qubit-efficient encoding schemes for binary optimisation problems”, Quantum 5 (2021) p. 454 and M. R. Perelshtein et al., “NISQ-compatible approximate quantum algorithm for unconstrained and constrained discrete optimization”, Quantum 7 (2023) p. 30 1186 have suggested a reduced encoding (so-called “minimal encoding”) to limit the number of qubits. However, minimal encoding comes at the expense of the quality of the solutions, which may be limited due to local minima of the optimization functional. In view of the prior art, what is needed is an improved encoding for binary optimization 35 problems that allows these problems to be efficiently tackled on a quantum computer, and in particular requires only a reduced number of qubits while still achieving a high accuracy of the optimization results. CA 3299694 Date reçue / Received date 2026-01-23 3 Overview This objective is achieved with a method according to independent claim 1. The dependent claims relate to preferred 5 embodiments. According to a first aspect, the disclosure relates to a method of converting an optimization functional for a binary optimization problem into a cost function for a quantum computation, the method comprising: representing a first optimization variable among a plurality of binary 10 optimization variables of the optimization functional as a first product of binary transformed variables, wherein the first product comprises a first plurality of factors, wherein each factor among the first plurality of factors corresponds to a subset of the plurality of optimization variables that includes the first optimization variable; converting each of the binary optimization variables or the binary transformed variables into a continuous variable; 15 converting the optimization functional into the cost function, wherein the cost function comprises a transformed and continuous variables; and selecting a plurality of the subsets for the quantum computation. The optimization functional is sometimes also referred to as an objective functional or an 20 objective function. The cost function for the quantum computation likewise corresponds to an optimization functional for the quantum computation, and is sometimes also called an energy function or an energy functional, even though it may not necessarily represent the true physical energy of the physical system. 25 Optimization of the converted functional may be considered an analog of a local search, i.e., an algorithm that starts from a candidate solution and iteratively searches for a better solution among a predefined set, in particular a neighborhood set. The converted optimization functional is particularly suitable for the implementation on a quantum computer, allowing to handle a classically intractable neighborhood size. By a suitable choice 30 of subsets, the cost function may be optimized efficiently and with limited qubit resources on a quantum computer, without significantly sacrificing the accuracy of the optimization results, as will be demonstrated in more detail below. In particular, the techniques of the present disclosure are feasible to build an analogue of local search with a number of neighbors that is significantly larger than in the minimal encoding techniques of the prior art, 35 and hence overcome the limitations of the minimal encoding. The conversion of the optimization functional may seem counterintuitive and disadvantageous at first sight, since it introduces additional complexities into the CA 3299694 Date reçue / Received date 2026-01-23 4 optimization functional that would appear to make the optimization more cumbersome. However, it turns out that the converted optimization functional is much better adapted to the implementation on a quantum computer, in particular on a variational quantum computational network, and this may overcompensate the additional complexities. As a consequence, the techniques of the present disclosure may permit 5 to solve binary optimization problems on a quantum computer with limited qubit resources fast and accurately. According to an embodiment, the binary optimization is a quadratic unconstrained binary 10 optimization (QUBO) or a polynomial unconstrained binary optimization (PUBO). Many combinatorial binary optimization problems can be formulated or reformulated as a QUBO or PUBO problem. Moreover, QUBO is known to be equivalent to a solution of the Ising model of spins, a well-known physical model to study spin-spin interactions. 15 Hence, according to an embodiment, the optimization functional is an Ising energy function. The Ising energy function may represent the energy of a plurality of interacting spins, optionally placed in an external force field, such as in an external magnetic field. 20 The techniques of the present invention hence allow for an efficient solution of the Ising model on a quantum computer, with limited qubit resources. According to an embodiment, each binary transformed variable may correspond to a flip of the plurality of optimization variables in the respective subset. In other words, each binary 25 transformed variable may correspond to flip of a specific subset of the optimization variables, corresponding in the Ising model to a specific subset of spins. The variable conversion has been described above with reference to a first optimization variable among the plurality of binary optimization variables. However, in the context of the 30 present disclosure several or all of the optimization variables of the optimization functional may be converted accordingly. In particular, the method may comprise representing a second optimization variable among the plurality of binary optimization variables of the optimization functional as a second 35 product of the binary transformed variables, wherein the second product comprises a second plurality of factors, wherein each factor among the second plurality of factors corresponds to a subset of the plurality of optimization variables and includes the second optimization variable. CA 3299694 Date reçue / Received date 2026-01-23 5 Generally, the method may comprise representing each optimization variable among the plurality of binary optimization variables of the optimization functional as a respective product of the binary transformed variables, wherein the respective product comprises a respective plurality of factors, wherein each factor corresponds to a subset 5 of the plurality of optimization variables that includes the respective optimization variable. The total number of subsets may correspond to the total number of binary transformed variables. 10 The selection of the plurality of the subsets for the quantum computation may be made with a view towards making that quantum computation feasible on a quantum computational network, in particular on a variational quantum computational network with a limited number of qubit resources. 15 The plurality of the subsets may comprise all the subsets. However, in other embodiments the plurality of the subsets may comprise only a limited number smaller than the total number of the subsets. 20 According to an embodiment, selecting the plurality of the subsets pertaining to the first optimization variable may comprise selecting subsets that comprise optimization variables that are neighboring the first optimization variable, in particular neighboring the first optimization variable in a graph representation of the optimization functional. 25 In particular, selecting the plurality of the subsets pertaining to the first optimization variable may comprise only selecting subsets that comprise optimization variables that are neighboring the first optimization variable, in particular neighboring the first optimization variable in a graph representation of the optimization functional. 30 The plurality of the subsets may be chosen similarly for all the binary optimization variables. Hence, according to an embodiment, selecting the plurality of the subsets pertaining to the respective optimization variable may comprise selecting subsets that comprise optimization variables that are neighboring the respective optimization variable, in particular neighboring 35 the respective optimization variable in a graph representation of the optimization functional. In particular, selecting the plurality of the subsets pertaining to the respective optimization variable comprises only selecting subsets that comprise optimization variables that are CA 3299694 Date reçue / Received date 2026-01-23 6 neighboring the respective optimization variable, in particular neighboring the respective optimization variable in a graph representation of the optimization functional. According to an embodiment, the method further comprises representing each of the continuous variables in terms of a quantum probability, in particular 5 by means of a conversion function. In the context of the present disclosure, the quantum probability may correspond to a probability that an output state of the quantum computation yields a specific measurement 10 result. By representing the continuous variables in terms of a quantum probability, the cost function may be efficiently implemented on a quantum computational network. The quantum probabilities may establish the links between the measurement outcomes of the quantum 15 computation and the cost function to be optimized. According to an embodiment, the conversion function is a monotonic conversion function. A monotonic conversion function makes the conversion from the quantum probabilities to 20 the cost function particularly straightforward, and in particular guarantees that the conversion does not create additional unwanted local minima. According to an embodiment, the conversion function is a differentiable function, in particular a smooth function. 25 According to an embodiment, the conversion function as a step-type function, in particular a differentiable or smooth step-type function. In the context of the present disclosure, a step-type function may be a function that attains a 30 first value, or is close to a first value, such as the value 1, for a continuous fraction of the parameter space. The step-type function may then drop to a second value, or close to a second value, such as the value -1, for another fraction of the parameter space. The drop may be a continuous drop. 35 A step-type conversion function may effectively serve as a filter of low quantum probabilities, and hence may make the quantum computation more efficient, and in particular may reduce the number of layers and measurements required for the quantum computation. CA 3299694 Date reçue / Received date 2026-01-23 7 According to an embodiment, the method may further comprise optimizing the cost function, in particular by means of the quantum computation. Optimizing the cost function may comprise minimizing or maximizing the cost function. 5 According to an embodiment, optimizing the cost function may comprise determining the gradient of the cost function. Gradient-based methods are ubiquitous and useful tools in quantum implementations of binary 10 optimization problems. According to an embodiment, optimizing the cost function comprises optimizing the cost function on a quantum computational network. 15 According to an embodiment, the cost function may be optimized on a quantum computational network comprising a quantum register adapted to store a plurality of qubits, a plurality of quantum gates adapted to act on the plurality of qubits, in particular to act on the plurality of qubits in accordance with the selected subsets, and a measurement unit. 20 Optimizing the cost function on the quantum computational network may comprise: initializing the qubits; applying a plurality of the quantum gates to the qubits, in particular in accordance with the selected subsets, wherein the plurality of the quantum gates may comprise multi-qubit quantum gates acting on a plurality of the qubits; determining an output state of the quantum computational network; and performing a measurement and the 25 output state at the measurement unit. In particular, applying the plurality of the quantum gates may comprise sequentially applying a plurality of layers of the quantum gates to the qubits, wherein each layer comprises a multiqubit quantum gate acting on a plurality of the qubits, in particular in accordance with the 30 selected subsets. The results of the measurement and the output state may be employed to determine the set of transformed and continuous variables that optimize the cost function. 35 According to an embodiment, the quantum computational network is a quantum-classical hybrid network, in particular a variational quantum computational network. CA 3299694 Date reçue / Received date 2026-01-23 8 The structure of the cost function, comprising the transformed and continuous variables chosen in accordance with the selected subsets is particularly amenable to an efficient quantum computation with a limited number of qubits, in particular in a variational quantum computational network. 5 According to an embodiment, the qubits and / or the quantum gates of the quantum computational network may be selected in accordance with the selected plurality of subsets. For instance, the qubits and / or the quantum gates may be selected so as to restrict interaction between the qubits to nearest-neighbor interactions, or to interactions 10 within a limited predefined neighborhood of the qubits. In an embodiment, the plurality of quantum gates comprise parametrized quantum gates, and the method comprises optimizing the cost function in terms of parameters of the 15 parametrized quantum gates, in particular by iteratively applying a plurality of layers of the parametrized quantum gates to the qubits for different values of the parameters. According to an embodiment, the parameters may be selected by means of an optimization, such as an optimization on a neural network. 20 According to an embodiment, the number of qubits scales logarithmically with the number of binary transformed variables, and / or scales logarithmically with the number of the selected subsets. 25 The logarithmic scaling permits to run the optimization on quantum computers with a limited number of qubit resources, while still allowing larger neighborhoods, and hence better computational accuracy, than conventional minimal encoding techniques. According to an embodiment, the method comprises determining an optimal set of 30 continuous variables from the measurement on the output state, and converting the optimal set of the continuous variables into an optimal set of the binary optimization variables. The optimal set of continuous variables may be a set of variables that optimizes, e.g., minimizes or maximizes, the cost function of the quantum computation. This solution may be 35 transferred into an optimal set of the binary optimization variables. The optimal set of the binary optimization variables may be a set of variables that optimizes, e.g., minimizes or maximizes, the optimization functional for the binary optimization problem. CA 3299694 Date reçue / Received date 2026-01-23 9 The extremal values, i.e., the minimum values and / or the maximum values, of the cost function of the quantum computation may correspond to the extremal values, i.e., the minimum values and / or the maximum values, of the optimization functional for the binary optimization problem, and vice versa. 5 According to an embodiment, converting the optimal set of the continuous variables into the optimal set of the binary optimization variables comprises multiplying the continuous variables, in particular in accordance with the respective selected subsets. Thus, by means of a re-conversion the solutions to the optimization of the 10 cost function, as may be found by employing the quantum computational network, may be transferred back into solutions of the original binary optimization problem. In particular, extreme points of the cost function (such as maxima and / or minima) may 15 correspond to extreme points (such as maxima and / or minima) of the optimization functional, and vice versa. According to a second aspect, the disclosure relates to a computer program and / or to a computer-program product and / or to a storage means, the computer program and / or the 20 computer-program product and / or the storage means comprising computer-readable instructions, wherein the computer-readable instructions, when executed on a computer system, implement on the computer system a method with some or all of the features described above with reference to the first aspect. 25 According to a third aspect, the disclosure relates to a quantum computational network, comprising: a quantum register adapted to store a plurality of qubits; a plurality of quantum gates adapted to act on the qubits; a measurement unit adapted to measure an output state of the quantum computational network; and a control unit, wherein the control unit is coupled to the plurality of qubits, the plurality of quantum gates and the measurement unit, and is 30 adapted to control the plurality of qubits and the plurality of quantum gates; wherein the control unit is adapted to implement a method with some or all of the features described above with reference to the first or second aspect. In an embodiment, the quantum computational network is a quantum-classical hybrid 35 network, in particular a variational quantum computational network. According to an embodiment, the plurality of quantum gates may be grouped into a plurality of layers of quantum gates, wherein each layer comprises a multi-qubit quantum gate adapted to act on a plurality of the qubits. CA 3299694 Date reçue / Received date 2026-01-23 10 Various techniques may be employed for implementing the quantum computational network. For instance, the qubits may be implemented as spin states of an electron in a magnetic field, energy levels of an atom, energy states of superconducting oscillators, or a polarization state of a photon. This variability and generality is a particular advantage 5 of the techniques according to the present disclosure. Brief Description of the Figures 10 The features and advantages of the techniques according to the present disclosure will become best apparent from the description of exemplary embodiments with reference to the accompanying drawings, in which: 15 Fig. 1 is a schematic illustration of a quantum computational network that may be employed in the context of the present disclosure; Fig. 2 is a schematic illustration of a variational quantum computational network that may be employed in the context of the present disclosure; 20 Fig. 3 is a schematic illustration of a family of conversion functions that may be employed in the context of the present disclosure; Fig. 4 is a flow diagram illustrating a method of converting an optimization 25 functional for a binary optimization problem into a cost function for a quantum computation according to an embodiment; Fig. 5 is a diagram illustrating the techniques for finding a solution to an optimization problem pertaining to an Ising ground state by means of a 30 variational quantum circuit according to an embodiment; Fig. 6 presents simulation results for the MaxCut optimization problem that were obtained by employing the techniques of the present disclosure; and 35 Fig. 7 presents simulation results for the graph coloring optimization problem that were obtained by employing the techniques of the present disclosure. CA 3299694 Date reçue / Received date 2026-01-23 11 Detailed Description The techniques of the present disclosure can be employed for the solution of binary optimization problems on a quantum computer. In the description of the exemplary embodiments below, we focus on the solution of Quadratic 5 Unconstrained Binary Optimization (QUBO) problems. However, we will also show that the techniques can be generalized to higher-order problems, and in particular also apply to the solution of Polynomial Unconstrained Binary Optimization (PUBO) problems in the same manner. 10 For QUBO, assuming a given real upper-triangular matrix 𝐴 ∈ ℝ𝑛×𝑛, for some positive integer n, the challenge is to find a binary vector 𝑥⃗∗ ∈ {0,1}𝑛 that minimizes the optimization functional: 𝐶(𝑥⃗) = 𝑥⃗𝑇𝐴𝑥⃗ = Σ𝑛 𝑖 ,𝑗=1 𝑎𝑖𝑗𝑥𝑖𝑥𝑗 = Σ𝑛 𝑖 𝑎𝑖𝑖𝑥𝑖 + Σ𝑛 𝑖 <𝑗 𝑎𝑖𝑗𝑥𝑖𝑥𝑗. (1) 15 By transformation 𝑥𝑖 → (1 − 𝑍𝑖) / 2, QUBO can be seen to be equivalent to the Ising model that describes the energy of a plurality of interacting spins, potentially in an external force field: 𝐸(𝑍⃗) = Σ𝑖 ℎ𝑖𝑍𝑖 + Σ𝑖<𝑗 𝐽𝑖𝑗𝑍𝑖𝑍𝑗, (2) 20 where 𝑍𝑖 ∈ {−1,1} are the spin variables. The following equations relate the coefficients of Eq. (1) and Eq. (2): 𝐽𝑖𝑗 = 𝑎𝑖𝑗 / 4, ℎ𝑖 = − Σ𝑘 (𝑎𝑖𝑘 + 𝑎𝑘𝑖) / 4. (3) 25 Local search is one of the most fundamental algorithms successfully applied to many hard combinatorial optimization problems. A local search algorithm starts from a candidate solution; it iteratively searches for a better solution among some defined set (typically, a neighborhood) and stops when all the neighbors are worse than the current solution. Many 30 metaheuristics, such as simulated annealing, tabu search, and memetic algorithms, are based on local search. Increasing the size of the neighborhood potentially leads to better solutions, but comes at the expense of increased computational complexity and runtime. In local search heuristics for QUBO, the neighbors are typically chosen from a set of solutions 35 that differ by a few bits. When solutions at Hamming distance at most 𝑟 (i.e., differing by no more than 𝑟 bits) are used as neighbors, the algorithm is called 𝑟-flip or 𝑟-local search. The parameter 𝑟 should usually be selected small, since the number of neighbors and the required CA 3299694 Date reçue / Received date 2026-01-23 12 computational resources grow quickly in 𝑟. For instance, in a problem with 𝑛 variables, the number of neighbors is equal to the binomial coefficient 𝐶𝑛 𝑟 ∼ 𝑂(𝑛𝑟). In the context of the present disclosure, we present a way to control a quantum processing unit to solve combinatorial optimization problems via a variational 5 algorithm that implements a quantum version of local search with 𝑙 neighbors requiring only ⌈log2𝑙⌉ qubits, where ⌈𝑥⌉ denotes the “ceiling” of x, i.e., the smallest integer no smaller than x. 10 (a) Conversion In the context of this embodiment, we focus on the Ising representation of the QUBO problem, in accordance with Eq. (2). First, we choose an initial state of spins where all spins are in the state 𝑍𝑖 = 1. Then, we introduce a new set of 𝑙 binary transformed variables x𝑘 ∈ 15 {−1,1}, where each variable corresponds to a flip of a specific subset 𝐺𝑘 of spins. States of the original Ising variables are decoded back by the following product: 𝑍𝑖 = Π𝑘:𝑖∈𝐺𝑘 x𝑘 (4) for each i = 1, …, n. This definition guarantees that flipping x20 𝑘 results in flipping all spins 𝑍𝑖 from the subset 𝐺𝑘. Substituting Eq. (4) into (2), we obtain: 𝐸(x ⃗) = Σ𝑖 ℎ𝑖 Π𝑘:𝑖∈𝐺𝑘 x𝑘 + Σ𝑖<𝑗 𝐽𝑖𝑗 Π𝑘:𝑖∈𝐺𝑘 x𝑘 Π𝑘:𝑗∈𝐺𝑘 x𝑘25 . (5) Since x𝑘 2 = 1, Eq. (5) can be rewritten as: 𝐸(x ⃗) = Σ𝑖 ℎ𝑖 Π𝑘:𝑖∈𝐺𝑘 x𝑘 + Σ𝑖<𝑗 𝐽𝑖𝑗 Π𝑘:𝑖∈𝐺𝑘 𝑗∉𝐺𝑘 x𝑘 Π𝑘:𝑖∉𝐺𝑘 𝑗∈𝐺𝑘 x𝑘 (6) 30 We proceed by replacing the discrete variables x𝑘 ∈ {−1,1} with continuous variables 𝑞𝑘 ∈ [−1,1], resulting in the following cost function, which we may call an auxiliary function: 𝐸 (𝑞⃗) = Σ𝑖 ℎ𝑖 Π𝑘:𝑖∈𝐺𝑘 𝑞𝑘 + Σ𝑖<𝑗 𝐽𝑖𝑗 Π𝑘:𝑖∈𝐺𝑘 𝑗∉𝐺𝑘 𝑞𝑘 Π𝑘:𝑖∉𝐺𝑘 𝑗∈𝐺𝑘 𝑞𝑘 , (7) 35 CA 3299694 Date reçue / Received date 2026-01-23 13 where (1 − 𝑞𝑘) / 2 can be understood to denote the probability of x𝑘 = −1. (b) Properties of the converted cost function 5 The converted cost function E of Eq. (6) is a multilinear function. C. Laneve et al., “The interval analysis of multilinear expressions”, Electronic Notes in Theoretical Computer Science, vol. 267, no. 2 (Oct. 2010), pp. 43-53 have shown that all local minima of a multilinear function occur at its vertices: 10 Proposition 1 Let 𝑓(𝑝⃗) be a multilinear function. Then, on the hypercube [𝑎, 𝑏]𝑛, all local minima are at its vertices - point in {𝑎, 𝑏}𝑛. Proposition 1 characterizes the local minima of multilinear functions on a hypercube. In particular, Proposition 1 implies that the substitution of the discrete variables 15 x𝑘 ∈ {−1,1} of Eq. (6) with the continuous variables 𝑞𝑘 ∈ [−1,1] of Eq. (7) do not affect the local minima, and hence Eq. (6) and Eq. (7) can be considered equivalent in terms of their optimization. Proposition 2 Let 𝑎:= 𝑏, 𝑏:= 𝑎 (e.g., for 𝑥 ∈ {0,1} 𝑥 is the logical negation). 𝑝⃗ ∈ {𝑎, 𝑏}𝑛 is a 20 local minimum of 𝑓, if and only if 𝑓(𝑝1,…, 𝑝𝑖,…, 𝑝𝑛) > 𝑓(𝑝1,…, 𝑝𝑖,…, 𝑝𝑛) for all 𝑖 ∈ 1, 𝑛 Proof. Consider the vertex 𝐴 = (𝑎,…, 𝑎), without loss of generality. 𝐴 is a local minimum, if and only if the partial derivatives 𝜕𝑓 / 𝜕𝑝𝑖 > 0 for all 𝑖. Since a multilinear function is linear in each variable when the others are fixed: 25 𝜕𝑓 𝜕𝑝𝑖 (𝐴) = 𝑓(𝑎…,𝑝𝑖=𝑏,…𝑎)−𝑓(𝑎…,𝑝𝑖=𝑎,…𝑎) 𝑏−𝑎 . (8) Given that 𝑏 > 𝑎, we obtain the desired statement. 30 Applying Proposition 2 to the cost function Eq. (7), one obtains that local minima of this function are better than all neighbor solutions differing by spin-flips encoded in groups {𝐺𝑘}. Hence, we built an analog of local search with a number of neighbors larger than in the minimal encoding. CA 3299694 Date reçue / Received date 2026-01-23 14 Note that each product in Eq. (7) contains at most 𝑙 multipliers, and the whole expression contains 𝑂(𝑛2) summands, i.e., the complexity of evaluating the cost function Eq. (7) does not exceed 𝑂(𝑛2𝑙). 5 (c) Extension to higher-order problems The techniques described above in Sections (a) and (b) can be applied to Polynomial Unconstrained Binary Optimization (PUBO) problems and, equivalently, generalized Ising models with higher-order 10 spin interactions. Let 𝑛 denote the number of variables, 𝑉 = {1,2,…, 𝑛}. Then the Ising energy can be written as: 𝐸 = Σ𝑆⊆𝑉 𝐽𝑆 Π𝑖∈𝑆 𝑍𝑖 , (9) 15 with 𝐽𝑆 ∈ ℝ the model parameters. Eq. (9) generalizes Eq. (2) to higher-order spin interactions. Substituting the same variable conversion of Eq. (4) into Eq. (9), we obtain: 20 𝐸 = Σ𝑆⊆𝑉 𝐽𝑆 Π𝑖∈𝑆 Π𝑘:𝑖∈𝐺𝑘 x𝑘. (10) Using again the identity x𝑘 2 = 1, one reduces the energy function Eq. (10) to a multilinear form and replaces the discrete variables with continuous ones according to the same scheme 25 as for second-degree problem described above in Sections (a) and (b). (d) Neighborhood choice 30 The set of coefficients {𝐽𝑖𝑗} in Eq. (7) induces a graph with nodes 𝑖 ∈ 1: 𝑛 and edges {(𝑖𝑗): 𝐽𝑖𝑗 ≠ 0} corresponding to the non-zero coefficients 𝐽𝑖𝑗 in Eq. (2). This inherent graph structure of QUBO problems enables the use of the term adjacent relating to pairs of indices (𝑖, 𝑗). 35 For an optimization problem with all-to-all interactions, there is no general rule for choosing a set of neighbors for a given 𝑟-local search. Thus, in this scenario all solutions at Hamming distance at most 𝑟 can be included in the neighbor set. However, in the following we CA 3299694 Date reçue / Received date 2026-01-23 15 demonstrate that for sparse problems, it makes sense to select only a problem-specific subset of the neighbors. Let us assume that one uses minimal encoding and wants to encode some pairs to increase the neighborhood set and thus improve the accuracy of the solution. Consider 5 the increment of the energy function Eq. (2) after inverting the 𝑘-th spin: Δ𝑘 = −2𝑍𝑘(ℎ𝑘 + Σ𝑖≠𝑘 (𝐽𝑘𝑖 + 𝐽𝑖𝑘)𝑍𝑖). (11) 10 It follows from Eq. (11) that Δ𝑘 depends on 𝑍𝑘 and on those spins 𝑍𝑖 for which 𝐽𝑘𝑖 + 𝐽𝑖𝑘 ≠ 0. Therefore, the increment of the energy after inverting two nonadjacent spins (𝑚, 𝑘) is Δ𝑚𝑘 = Δ𝑚 + Δ𝑘. For the local minimum of the minimal encoding, Δ𝑚 > 0 and Δ𝑘 > 0, and therefore Δ𝑚𝑘 > 0. As a result, encoding nonadjacent pairs {(𝑚, 𝑘)} generally leaves the local minima of the minimal encoding unmodified. Hence, it makes sense to encode only adjacent pairs in 15 order to eliminate the local minima. The same idea may be generalized to larger subsets: If a group of spins 𝐺 is a union of disjoint groups 𝐺1, 𝐺2, and 𝐽𝑘𝑚 + 𝐽𝑚𝑘 = 0 for any 𝑘 ∈ 𝐺1, 𝑚 ∈ 𝐺2, then the increment in the energy after inverting all spins from 𝐺: Δ𝐺 = Δ𝐺1 + Δ𝐺2 . If 𝐺1 and 𝐺2 are encoded, encoding 𝐺 does 20 not contribute to the elimination of the local minima. (e) Quantum circuit 25 As illustrated in Sections (a) to (d) above, we can implement a local search for the original Ising problem by minimizing the derived auxiliary function given by Eq. (7). The form of Eq. (7) makes it perfectly suitable as a cost function for quantum computation. However, the number of variables (neighbors) 𝑙 can still be very large: it varies from 𝑛 for minimal encoding to 2𝑛 for the extreme case where 𝐺𝑘 are all subsets of spins (all solutions are 30 neighbors of each other). Thus, in practically relevant cases 𝑙 is limited by computational capabilities. By introducing a parameterized quantum circuit and encoding variables 𝑞𝑘 into it, one can obtain a quantum algorithm that can handle a classically intractable number of neighbors. Our algorithm utilizes a quantum circuit with ⌈log2𝑙⌉ qubits. 35 The quantum algorithm generally becomes heuristic, and the above analysis of the local minima is no longer directly applicable, given that the parameters of the quantum circuit are optimized rather than 𝑞⃗ directly. Nevertheless, our numerical experiments for small-scale CA 3299694 Date reçue / Received date 2026-01-23 16 problems demonstrate that if the depth of the circuit is sufficient, the solutions are similar to those obtained by classical local search. Fig. 1 schematically illustrates an example of a quantum computational network 10 that may be employed in the optimization of Eq. (7). The quantum computational network 10 comprises a qubit register 12 adapted to store a plurality of qubits. A 5 plurality of quantum gates 14 may act on the qubits of the qubit register 12 to perform a quantum computation. The outcome of the quantum computation may be measured by a measurement unit 16, which may project the states of the qubits onto the computational basis states of the quantum computational network 10. The operation of the qubit register 12, quantum gates 14 and 10 measurement unit 16 may be controlled by means of a control unit 18, which may comprise a (classical) processor and memory. The control unit 18 may be configured to repeatedly perform a computation sequence on the qubits. The computation sequence may comprise initializing the qubits of the qubit register 12 before each computation, such as into the ground state of each qubit, e.g., to form an 15 initial state of the qubits of |00…0>. The control unit 18 may then apply the plurality of quantum gates 14 to the qubits of the qubit register 12 to drive a coherent evolution of the qubits. Initially, the controller may produce superposition states of all qubits, e.g., by applying a Hadamard gate to each of the qubits, and may subsequently apply further quantum gates 14, depending on the intended calculation. Following the coherent evolution, 20 the state of the qubits in the qubit register 12 may be measured by means of the measurement unit 16. The measurement results are supplied to the control unit 18. On the basis of the measured result, the control unit 18 can classically calculate an “energy” / “cost” of the solution with a cost function of the QUBO problem to be solved. The control unit 18 may then repeat the computation sequence based on the outcome, such as to progressively improve the 25 solution to a QUBO type problem associated with the measured outcome. An implementation as a variational quantum computational network 20 is schematically illustrated in Fig. 2. The variational quantum computational network 20 is a specific implementation of the quantum computational network 10 described above with reference to Fig. 1, and corresponding components are denoted with the same reference numerals. 30 In the variational quantum computational network 20, the quantum gates 14 comprise variational quantum gates with variable actions that adjust physical parameters of the quantum gates, depending on the input from the control unit 18. These physical parameters may be optimized by the control unit 18 in a classical optimization, for instance by means of neural network techniques. The control unit 18 may analyze the outcome of the measurement 35 unit 16, and may then repeat the computation sequence with adjusted variable actions based CA 3299694 Date reçue / Received date 2026-01-23 17 on the outcome, such as to progressively improve the solution to a QUBO type problem associated with the measured outcome. Specifically, the control unit 18 may repeat the computation sequence with adjusted operation parameters for the variational quantum gates in order to determine a gradient of the plurality of quantum gates 14 from the measured outcomes, and may update the variable actions based on the estimated gradient 5 in order to progressively adjust the quantum computational network 20 towards an improved solution. The variational quantum computational network 20 comprises a qubit register 12 including an integer number Nq of qubits denoted by q0, q1, …, q5. Fig. 2 shows an implementation with Nq = 6 computing qubits, but this is a mere example, and other quantum computational 10 networks may comprise a smaller or larger number of computing qubits. Additionally, the quantum computational network 20 may comprise so-called ancilla qubits (not shown in Fig. 2), which may assist in the state preparation, to implement the quantum gates 14 or to perform the quantum measurements in the measurement unit 16. In Fig. 2, the evolution of each qubit state is illustrated as a horizontal line extending from the qubit register 12 towards 15 the measurement unit 16. The qubits may be initialized into their ground states, e.g. |0>. As illustrated in Fig. 2, the plurality of quantum gates 14 may comprise a plurality of Hadamard gates (H) acting on each qubit of the qubit register 12 after the qubits have been initialized, to prepare each qubit in a superposition state. 20 As further illustrated in Fig. 2, the plurality of quantum gates 14 may be arranged into layers 22a, 22b of similar or identical structure, and the control unit 18 may subsequently apply the layers 22a, 22b of quantum gates with their respective variational parameters. Each layer 22a, 22b may comprise multi-qubit gates for entangling a plurality or all of the states of the qubits, and variational quantum gates affecting the state of all qubits. Fig. 2 shows an 25 implementation with two layers 22a, 22b of quantum gates with equal structure, wherein the layers 22a, 22b represent a plurality of quantum operations on the qubits in the qubit register 12, which are subsequently applied. However, in general any number L of layers may be employed in the variational quantum computational network 20, depending on the specific application. 30 In each layer 22a, 22b, variational single qubit gates drive single qubit rotations RZ(θ) of each qubit around axis Z as well as single qubit rotations RY(θ) of each qubit around axis Y, with respective variable angles θi. The variational angles θ1-θN across all layers 22a, 22b form a set of variational parameters 𝜃⃗ of the quantum computational network 20, which can be adjusted and optimized by means of the control unit 18. The obtained quantum circuit hence has 2𝑁𝑞𝐿 35 trainable parameters 𝜃⃗. CA 3299694 Date reçue / Received date 2026-01-23 18 In Fig. 2, each layer 24a, 24b additionally comprises a plurality of two-qubit gates acting on all pairs of neighboring qubits of the qubit register 12. In the example of Fig. 2, the two-qubit gates comprise entangling ECR (“Echoed Cross Resonance”) gates. The ECR gate is a native gate on many IBM quantum devices, which can be expressed in the 5 following matrix representation: 𝐸𝐶𝑅 = 1 √2 ( 0 1 0 𝑖 1 0 −𝑖 0 0 𝑖 0 1 −𝑖 0 1 0 ) (12) Following the application of the layers 22a, 22b of quantum gates onto the qubits, the state of the qubits may be measured by means of the measurement unit 16. The measurement unit 16 10 may comprise a plurality of single qubit state detectors for measuring the state of each qubit following the evolution according to the plurality of quantum gates 14. Repeating the state evolution and the measurement may allow determining the probability of each measurement outcome. The control unit 18 may additionally repeat the computation sequence with adjusted 15 operation parameters 𝜃⃗ for the variational quantum gates in order to determine a gradient of the plurality of quantum gates 14 from the measured outcomes, and may update the variable actions based on the estimated gradient in order to progressively adjust the quantum computational network 20 towards an improved solution of Eq. (7). The skilled person will appreciate that the types and arrangement of gates in Fig. 2 is for 20 illustrative purposes only, and architectures of the quantum computational network 20 may differ from the depicted representation. For example, quantum CNOT (controlled NOT) gates may be employed as entangling gates instead of ECR gates. (f) Encoding variables into quantum amplitudes 25 In order to employ the quantum circuits of Fig. 1 and 2 for the optimization of the QUBO problem, the measurement outcomes obtained by the measurement unit 16 and processed by the control unit 18 need to be linked to the optimization parameters of the cost function Eq. (7). To do so, we may use a conversion function that represents each of the variables 𝑞𝑘 of the cost function Eq. (7) in terms of a quantum probability. 30 Let 𝜓 ⃗ be the state vector. Here we introduce an encoding 𝑞𝑘 ∈ [−1,1] into quantum probabilities 𝑃𝑘:= |𝜓𝑘 |2, where the indices k correspond to a set of measurement results, CA 3299694 Date reçue / Received date 2026-01-23 19 such as in a computational basis, with the intrinsic normalization Σ 𝑃𝑘 = 1. As an example, we choose the following nonlinear conversion function: 𝑞𝑘 = 2 tanh(𝛼(1−𝑀𝑃𝑘))+1 tanh𝛼+1 − 1. (13) 5 Here, 𝛼 and 𝑀 are additional hyperparameters. Examples of the conversion function Eq. are shown in Fig. 3 as a function of MPk for two different values 𝛼 = 2 (solid lines) and 𝛼 = 6 (dashed lines). The hyperparameter 𝛼 affects the smoothness of the step-type conversion function Eq. (13). 10 We found that tuning 𝛼 enhances trainability. The conversion function of Eq. (13) is monotonic and, thus, does not create additional local minima. On a real quantum device, there is usually no direct access to the quantum probabilities 𝑃𝑘. 15 One can usually only get an estimation from 𝑁 measurements (shots) in a computational basis: 𝑃𝑘 = 𝑁𝑘 / 𝑁, where the 𝑘-th outcome occured 𝑁𝑘 times. Since we want the algorithm to work with classically intractable 𝑙, the number of shots 𝑁 ≪ 𝑙 should be sufficient to obtain a good estimation of the cost function. The cost function Eq. (7) is not affected by 𝑞𝑘 = 1. As can be seen from Fig. 3, 𝑞𝑘 ≈ 1 when 𝑃𝑘 ≪ 1 / 𝑀. Therefore, only 𝑃𝑘 ≳ 1 / 𝑀 contribute to the 20 cost function Eq. (7), and 𝑁 = 𝑂(𝑀) shots should be sufficient to estimate it. In this way, the step-type conversion function Eq. (13) may serve as a filter of the low quantum probabilities. The limitation of 𝑀 may involve the following challenge: Since Σ 𝑃𝑘 = 1 and only 𝑃𝑘 ≳ 1 / 𝑀 contribute to the cost function, not more than ≈ 𝑀 variables can be smaller than 0. In the 25 context of a local search, this means that we effectively limited the number of steps to ≈ 𝑀, because 𝑞𝑘 < 0 results in inversion of the corresponding group 𝐺𝑘 in the most probable solution. However, this problem can be overcome by way of interation, i.e., by starting a new round of optimization from a solution found in a previous round. 30 After 𝑁 shots, there are not more than 𝑁 nonzero 𝑃𝑘. Since 𝑞𝑘(𝑃𝑘 = 0) = 1 do not contribute to the cost function Eq. (7), this function can be efficiently calculated in no more than 𝑂(𝑛2𝑁) time steps (in comparison to 𝑂(𝑛2𝑙) in the general case). 35 (g) Optimization process CA 3299694 Date reçue / Received date 2026-01-23 20 After substituting the conversion function Eq. (13) into the cost function Eq. (7) and introducing a parameterized quantum circuit as shown in Fig. 2, we obtain a composite auxiliary function 𝐸 = 𝐸 [𝑞⃗(𝑃 ⃗(𝜃⃗))]. In order to estimate the cost function, the quantum circuit of Fig. 2 is prepared and sampled 𝑁 times in a computational basis, resulting in the empirical probability distribution {𝑁𝑘 / 𝑁} for estimating 𝑃 ⃗, where 𝑁𝑘 is the number 5 of shots providing the 𝑘-th outcome. To optimize the cost function Eq. (7), we may use gradient-based methods and optimize the variational parameters 𝜃⃗. To that end, we also need to compute the gradient of the cost 10 function Eq. (7) with respect to the variational parameters 𝜃⃗. We are specifically interested in 𝜕𝐸 𝜕𝜃 ⃗ = 𝜕𝐸 𝜕𝑞 ⃗ 𝜕𝑞 ⃗ 𝜕𝑃 ⃗ 𝜕𝑃 ⃗ 𝜕𝜃 ⃗. (14) The partial derivatives 𝜕𝐸 / 𝜕𝑞⃗ and 𝜕𝑞⃗ / 𝜕𝑃 ⃗ may be calculated by direct differentiation of the formulas Eq. (7) and (13). The third partial derivative 𝜕𝑃 ⃗ / 𝜕𝜃 ⃗ 15 can be calculated using the socalled parameter-shift rule: 𝜕𝑃 ⃗ 𝜕𝜃𝑗 = 1 2 (𝑃 ⃗(𝜃𝑗 + 𝜋 / 2) − 𝑃 ⃗(𝜃𝑗 − 𝜋 / 2)), (15) cf. M. Schuld et al., “Evaluating analytic gradients on quantum hardware”, Phys. Rev. A 99 20 (2019) 032331. The optimization process may be started with a random initialization of the parameters 𝜃⃗ = 𝜃 ⃗ 0. The parameters are then updated until convergence. After that, the circuit is measured again to obtain an estimate of (1 − 𝑞⃗(𝑃 ⃗)) / 2 , i.e., the probabilities of x𝑘 = −1. These 25 probabilities may be used to sample the most probable x⃗ and to obtain corresponding solutions 𝑍⃗ using the conversion of Eq. (4), from which the best one 𝑍 ⃗ 𝑏𝑒𝑠𝑡 may be selected, i.e., the one with the minimal energy 𝐸(𝑍 ⃗) according to Eq. (2). As explained above in Section (f), one optimization round may provide no more than ≈ 𝑀 30 steps of local search, starting from 𝑍⃗(0) = 1 ⃗. To continue the local search, we may make a transformation 𝑍𝑖 → −𝑍𝑖 if 𝑍𝑖 𝑏𝑒𝑠𝑡 = −1, which maps 𝑍⃗𝑏𝑒𝑠𝑡 → 𝑍⃗(0). The Ising coefficients are transformed as: ℎ𝑖 → 𝑍𝑖 𝑏𝑒𝑠𝑡ℎ𝑖 and 𝐽𝑖𝑗 → 𝑍𝑖 𝑏𝑒𝑠𝑡𝑍𝑗 𝑏𝑒𝑠𝑡𝐽𝑖𝑗. These transformations result in a new optimization problem, for which 𝑍 ⃗𝑏𝑒𝑠𝑡 becomes an initial solution. By repeating the above- CA 3299694 Date reçue / Received date 2026-01-23 21 described process for the transformed problem, one obtains a continuation of the local search by way of iteration. 5 (h) Flow diagrams Fig. 4 is a flow diagram that schematically illustrates a method of converting an optimization functional for a binary optimization problem into a cost function for a quantum computation according to an embodiment, for instance a conversion as described above in Sections (a) to 10 (i). In a first step S10, a first optimization variable among a plurality of binary optimization variables is represented as a first product of binary transformed variables, wherein the first product comprises a first plurality of factors, wherein each factor among the first plurality of 15 factors corresponds to a subset of the plurality of optimization variables that includes the first optimization variable. In a second step S12, each of the binary optimization variables or of the binary transformed variables are converted into a continuous variable. 20 In a third step S14, the optimization functional is converted into the cost function for the quantum computation, wherein the cost function comprises the transformed and continuous variables. 25 In a fourth step S16, a plurality of the subsets is selected for the quantum computation. The flow diagram of Fig. 4 necessarily shows the method steps in a certain order. However, it will be understood by the person skilled in the art that the present disclosure is not limited to a specific time order, and that the steps of the method according to the present disclosure 30 may be implemented in any feasible order. For instance, the step of selecting the plurality of the subsets for the quantum computation may take place at any time during the method, in particular before or after the variable conversion. Moreover, the person skilled in the art will understand that two or more of the steps S10 to S16 may not be implemented in time sequence, but may be combined into a single step. 35 Fig. 5 is a conceptual diagram that illustrates the conversion techniques according to the present disclosure according to an embodiment, in which the initial discrete Ising ground state problem is converted to the problem of continuous parameter optimization of a CA 3299694 Date reçue / Received date 2026-01-23 22 variational quantum computational network. The cost function of the quantum computation that results from the conversion of the Ising energy functional serves as an auxiliary function for the original Ising ground state problem. The quantum computation, such as by means of the variational quantum computational network 20, permits to find the approximate local minima of the auxiliary function, with limited qubit resources. These 5 local minima are precisely the local minima of the Ising Hamiltonian over some custom neighbourhood with l neighbors. As the variational quantum computational network 20 can be implemented with Nq = ⌈𝑙𝑜𝑔2𝑙⌉ 10 qubits, and as number of optimization parameters 2𝑁𝑞𝐿 of the variational quantum computational network 20 is generally smaller than l (at least for large l), the search space for the parameter optimization is of smaller dimension than [0,1]𝑙. Groups, the number of layers 𝐿, the number of shots 𝑁 and values 𝛼 and 𝑀 are hyperparameters of the implementation, and may be selected heuristically. 15 (i) Example implementation: MaxCut Problem One of the canonical and well-studied combinatorial optimization problems is the so-called 20 MaxCut problem, which is a search for the partition of the nodes of a graph into two complementary sets, such that the total weight of edges between these two sets is as large as possible. MaxCut is equivalent to the Ising model with ℎ𝑖 = 0 and 𝐽𝑖𝑗 = 𝑤𝑖𝑗, where 𝑤𝑖𝑗 is the weight of the edge between the 𝑖th and 𝑗th nodes in the graph. 25 We chose a 3-regular graph with 250 nodes for our experiment. The weights were randomly sampled from a uniform distribution on the interval [−0.5,0.5]. We tested our algorithm with different numbers of neighbors encoded. Since the problem is sparse, we took all connected groups 𝐺, such that |𝐺| ≤ 𝑟 for four different values 𝑟 = 1, 2, 3, 5. The algorithm was launched from 100 random initial solutions 𝑥⃗0. L-BFGS-B was used as an optimizer, cf. R. H. Byrd et 30 al., “A limited memory algorithm for bound constrained optimization”, SIAM J. Sci. Comput. 16 (1995) pp. 1190-1208. After optimization, the found solution was taken as a new initial point, and the algorithm was relaunched. Several such rounds have been performed. For comparison, a classical local search was run with the same neighbors from the same initial solutions. 35 CA 3299694 Date reçue / Received date 2026-01-23 23 The experimental parameters are shown in the following Table for the four different values 𝑟 = 1, 2, 3, 5. As can be taken from the Table, the number of qubits number Nq scales logarithmically as a function of the number of groups, l. 𝒓 1 2 3 5 # Groups, l 250 625 1373 7516 # Qubits, Nq 8 10 11 13 # Layers, L 10 12 16 25 #Circuit parameters 160 240 352 650 # Rounds 1 4 3 5 𝑴 500 200 400 1000 𝜶 3 3 3 4 5 The ensemble of the final solutions from 100 independent runs was used to calculate the empirical cumulative distribution function (ECDF) of the objective function. The results are presented in Fig. 6, which shows the pairs of the quantum and classical solution for each of the four different values 𝑟 = 1, 2, 3, 5 (from right to left, quantum solution in solid lines and classical solution 10 in dotted lines). As can be taken from Fig. 6, the more neighbors are encoded, the better solutions are obtained. Encoding with 𝑟 = 5 was able to find the optimal solution. The experiment confirms that the quantum algorithm can find solutions similar to the classical local search 15 over the corresponding neighborhood. Moreover, we highlight that our quantum algorithm provides an advantage over classical optimization of the cost function in Eq. (7) in terms of the number of variational parameters. As can be seen in the above Table comparing the number of groups and circuit parameters, this advantage becomes more pronounced with the growth of 𝑟. 20 (j) Example implementation: Graph Coloring Problem To demonstrate a more sophisticated choice of the neighbors, we consider a problem with 25 constraints, namely the graph coloring problem. Graph coloring is a way of labeling the vertices of a graph with colors such that no two adjacent vertices are assigned the same color. The QUBO formulation of a graph coloring problem can be written as follows: CA 3299694 Date reçue / Received date 2026-01-23 24 𝐶(𝑥⃗):= 𝜆 Σ𝑛 𝑣 =1 (1 − Σ𝑘 𝑖 =1 𝑥𝑣,𝑖)2 + Σ𝑛 𝑣 ,𝑤=1 Σ𝑘 𝑖 =1 𝑆𝑣𝑤𝑥𝑣,𝑖𝑥𝑤,𝑖 → min 𝑥𝑣,𝑖∈{0,1} , (16) cf. Z. Tabi et al., “Quantum optimization for the graph coloring problem with space-efficient embedding”, arXiv:2009.07314 v1, 15. Sept. 2020. 5 In Eq. (16), 𝑆 denotes the graph adjacency matrix. The bits 𝑥𝑣,𝑖 in this formulation have double indices (𝑣, 𝑖), where 𝑣 ∈ {1, … , 𝑛} labels the vertices and 𝑖 ∈ {1, … , 𝑘} the colors. Therefore, the feasible solutions (each vertex is colored in one color) are restricted to those where for each index 𝑣 exactly one bit 𝑥𝑣,𝑖 = 1. The first term in Eq. (16) with prefactor 𝜆 > 0 aims to penalize the unfeasible solutions. Then, the desired coloring 10 is obtained at 𝐶 = 0. The prior art techniques of minimal encoding do not work well on this problem, because any feasible solution becomes infeasible if one bit is inverted. Therefore, any feasible solution is a local minimum due to the penalty term in Eq. (16). 15 In order for a neighborhood of one feasible solution to contain another feasible solution, we chose variables each of which flips a pair of bits (𝑥𝑣,𝑖, 𝑥𝑣,𝑗) for all 𝑣 and 𝑖 ≠ 𝑗. This set contains all groups that recolor any vertex in a different color. Note that this choice is more efficient than taking all connected pairs, since the latter contains pairs (𝑥𝑣,𝑖, 𝑥𝑤,𝑖) which do not 20 preserve feasibility. We chose the instance myciel7 from Z. Tabi et al. for the experiment, and the following parameters: number of vertices 𝑛 = 191, edges 2360, colors 𝑘 = 8. The experiment was conducted using the same scheme as for the MaxCut problem described above in Section (i). 25 For the quantum computation, 100 random feasible solutions were chosen as the initial solutions, with the experiment parameters as follows: 5348 groups, 13 qubits, 20 layers, 𝑀 = 1000, 𝛼 = 4. Fig. 7 is similar to Fig. 6 and shows the empirical cumulative distribution function (ECDF) of 30 the objective function of solutions for two, three, and four iterations (from right to left). After four optimization rounds, where the final solution from a previous round is taken as an initial solution in the next round, our algorithm found the correct coloring with a probability of 20%. Note that algorithms based on one-hot encoding, including QAOA, require 1528 qubits for this problem, which is far beyond the capabilities of current quantum computation 35 devices. CA 3299694 Date reçue / Received date 2026-01-23 25 The description of the specific embodiments and the Figures merely serve to illustrate the techniques of the present disclosure and the advantages associated therewith, but should not be understood to imply any limitation. The scope of the invention is to be determined from the appended claims. 5 CA 3299694 Date reçue / Received date 2026-01-23 26 Reference Signs 10 quantum computational 5 network 12 qubit register 14 quantum gates 16 measurement unit 18 control unit 10 20 variational quantum computational network 22a, 22b first, second layers of quantum gates CA 3299694 Date reçue / Received date 2026-01-23

Claims

27 Claims 1. A method of converting an optimization functional for a binary optimization problem into a cost function for a quantum computation, the method comprising: 5 representing (S10) a first optimization variable among a plurality of binary optimization variables of the optimization functional as a first product of binary transformed variables, wherein the first product comprises a first plurality of factors, wherein each factor among the first plurality of factors corresponds to a subset of the plurality of optimization variables that includes the first optimization 10 variable; converting (S12) each of the binary optimization variables or the binary transformed variables into a continuous variable; 15 converting (S14) the optimization functional into the cost function, wherein the cost function comprises the transformed and continuous variables; and selecting (S16) a plurality of the subsets for the quantum computation. 20 2. The method according to claim 1, wherein each binary transformed variable corresponds to a flip of the plurality of optimization variables in the respective subset.

3. The method according to claim 1 or 2, wherein selecting (S16) the plurality of the 25 subsets pertaining to the first optimization variable comprises selecting subsets that comprise optimization variables that are neighboring the first optimization variable, in particular neighboring the first optimization variable in a graph representation of the optimization functional. 30 4. The method according to any one of the preceding claims, further comprising: representing each of the continuous variables in terms of a quantum probability, in particular by means of a conversion function. 35 5. The method according to any one of the preceding claims, further comprising: optimizing the cost function, in particular by means of the quantum computation. CA 3299694 Date reçue / Received date 2026-01-23 28 6. The method according to claim 5, wherein optimizing the cost function comprises determining a gradient of the cost function.

7. The method according to claim 5 or 6, wherein optimizing the cost function comprises optimizing the cost function on a quantum computational 5 network (10, 20), in particular on a quantum computational network (10, 20) comprising a quantum register (12) adapted to store a plurality of qubits, a plurality of quantum gates (14) adapted to act on the plurality of qubits, and a measurement unit (16). 10 8. The method according to claim 7, wherein optimizing the cost function on the quantum computational network (10, 20) comprises: initializing the qubits in the quantum register (12); 15 applying the quantum gates (14) to the qubits, wherein the quantum gates (14) comprise multi-qubit quantum gates acting on a plurality of the qubits, in particular in accordance with the selected subsets; determining an output state of the quantum computational network (10, 20); and 20 performing a measurement on the output state at the measurement unit (16).

9. The method according to claim 7 or 8, wherein the quantum computational network (10, 20) is a quantum-classical hybrid network, in particular a variational quantum 25 computational network (20).

10. The method according to any one of the claims 7 to 9, wherein the plurality of quantum gates comprise parametrized quantum gates (14), and wherein the method further comprises optimizing the cost function in terms of parameters of the 30 parametrized quantum gates (14), in particular by iteratively applying a plurality of layers (22a, 22b) of the parametrized quantum gates to the qubits for different values of the parameters.

11. The method according to any one of the claims 7 to 10, wherein the number of qubits 35 scales logarithmically with the number of binary transformed variables, and / or scales logarithmically with the number of the selected subsets. CA 3299694 Date reçue / Received date 2026-01-23 29 12. The method according to claim 8, optionally in combination with any one of the claims 9 to 11, further comprising: determining an optimal set of continuous variables from the measurement on the output 5 state; and converting the optimal set of the continuous variables into an optimal set of the binary optimization variables. 10 13. The method according to claim 12, wherein converting the optimal set of the continuous variables into the optimal set of the binary optimization variables comprises multiplying the continuous variables, in particular in accordance with the respective selected subsets. 15 14. A computer program comprising computer-readable instructions, wherein the computer-readable instructions, when executed on a computer system, implement on the computer system a method according to any one of the preceding claims.

15. A quantum computational network (10, 20), comprising: 20 a quantum register (12) adapted to store a plurality of qubits; a plurality of quantum gates (14) adapted to act on the qubits; 25 a measurement unit (16) adapted to measure an output state of the quantum computational network (10, 20); and a control unit (18), wherein the control unit (18) is coupled to the plurality of qubits, the plurality of quantum gates (14) and the measurement unit (16), and is adapted to control the 30 plurality of qubits and the plurality of quantum gates (14); wherein the control unit (18) is adapted to implement a method according to any one of the claims 1 to 13. CA 3299694 Date reçue / Received date 2026-01-23