This application claims the priority benefits of European application no. 23 181 719.8, filed on Jun. 27, 2023. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The invention relates to a computer implemented method for obtaining a set of Pareto-optimal solutions to a given multi-objective optimization problem and a hybrid quantum-classical computer system implementing such method.
Quantum optimization is a very active field of research. The current generation of quantum computing hardware devices is still limited in sizes and subject to noise. The usefulness of these so-called noisy intermedia scale quantum (NISQ) devices for application problems is currently being tested and evaluated on many real-world application problems.
The current state of the art approaches for solving optimization problems with quantum computers are hybrid quantum-classical algorithms as described for example in “Noisy intermediate-scale quantum (NISQ) algorithms, Rev. Mod. Phys. 94, 015004”. Examples are variational quantum eigensolver (VQE) described in “The variational quantum eigensolver: a review of methods and best practices. Physics Reports, 986, 1-128”, quantum approximate optimization algorithm (QAOA) described in “A Quantum Approximate Optimization Algorithm, arXiv: 1411.4028 (2014)” or “From the quantum approximate optimization algorithm to a quantum alternating operator ansatz, Algorithms 12 (2019)” or the like as in “Quantum machine learning beyond kernel methods”, arXiv preprint arXiv: 2110.13162 (2021)”. All these approaches consider problems where the goal is to find the optimal solution(s) which minimize a predefined cost function. Technically, they target to solve single objective optimization tasks.
What is still missing is an equivalent quantum approach which targets the solutions of a multi-objective optimization problem.
There are a few approaches which actually utilize quantum hardware and consider multi-objective problems. In “Multiobjective variational quantum optimization for constrained problems: an application to Cash Management, arXiv: 2302.04196, https://doi.org/10.48550/arXiv.2302.04196”, a VQE quantum circuit and a coupled classical NSGAII algorithm is applied to it. From the quantum state prepared by the quantum apparatus, they calculate classically two objective functions: the cost function, which implements the actual goal when minimized and the probability to find feasible solutions in the final state. The target is not to map a full Pareto front, but arrive at one optimal solutions point, where the probability to find feasible solutions is very close to one and the cost function is minimized. In effect, this method is a constraint handling method, where a classical multi-objective optimization is used to efficiently explore the search space of feasible and infeasible solutions. No quantum aspect of the quantum computation is utilized to arrive at the solution of a multi-objective problem.
Despite the problems being attacked becoming more realistic in nature, one central feature of real-world problems is still not much considered: realistic problems often deal with multiple conflicting objectives such cost (which should be as low as possible), quality (which should be as high as possible), user satisfaction (which should be as large as possible), CO2 footprint (which should be as low as possible), . . . . These objectives are usually in a tradeoff relation where solutions which have very good values in one objective, c.g., high quality, are not very good in another objective, i.c., also have high cost. Therefore, the target of multi-objective optimization is to find a whole set of solutions (not only one) which give a good approximation to the so-called Parcto Front (PF), which is the best achievable set of trade-off set of solutions. Each solution in the PF is equal or better in at least one objective and at the same time worse in at least one other objective than any other solution in the PF.
“Multi-Objective Routing Optimization for 6G Communication Networks Using a Quantum Approximate Optimization Algorithm”, Sensors 22 (19), 7570 (2022) doi: 10.3390/s22197570 describes solving a multi-objective problem by iteratively solving many constrained single-objective problems. The quantum computer is only used to solve single-objective problems. Each single-objective problem optimizes only one objective while imposing constraints on the other objectives. It does not utilize the quantum computer to get a population of solutions directly.
Several papers exist which utilize so-called nondominated quantum optimization (NDQO) and modifications thereof like multi-objective decomposition quantum optimization (MODQO) or non-dominated quantum iterative optimization (NDQIO) described in “Quantum-Assisted Routing Optimization for Self-Organizing Networks”, IEEE Access 2, 614-632 (2014) doi: 10.1109/ACCESS.2014.2327596, “Non-Dominated Quantum Iterative Routing Optimization for Wireless Multihop Networks”, IEEE Access 3, 1704-1728 (2015) doi: 10.1109/ACCESS.2015.2478793 or “Quantum-Assisted Joint Multi-Objective Routing and Load Balancing for Socially-Aware Networks”, IEEE Access 4, 9993-10028 (2016) doi: 10.1109/ACCESS.2016.2629671. All these approaches target to find the Pareto optimal solution set to a multi-objective problem. They do so by utilizing a quantum computing apparatus. They specifically design a quantum circuit that evaluates Pareto dominance relations between individual solutions with the help of auxiliary qubits. Then they use variants/extensions of Grover search to search for novel good candidate solutions which they then can possibly insert into the current approximation of the Pareto front. These algorithms are specifically tailored to solve one single problem and use complex circuits to evaluate Pareto-dominance relations between sets of solutions. They cannot be applied to general multi-objective optimization problems directly, and in particular they cannot be executed on NISQ devices but require fully fault tolerant and error corrected quantum hardware not available in the near-to mid-term future.
However, there is still a need to directly address optimization of multiple conflicting objectives to enable an efficient calculation of a plurality of optimized solutions of the problem. The current state of art does not allow for handling multi-objective optimization problems natively on quantum hardware devices.
It is to be noted that in the following explanation, “classical computing component” may be a classical computer, and the “quantum computing component” or “quantum component” may be a universal or special-purpose purpose quantum computing device.
The current invention addresses the above mentioned problem to find solutions of realistic real world problems, specifically known from the energy management domain, on current and future quantum hardware devices employing a quantum-native multi-objective quantum optimization approach according to the method and computer system defined in the independent claims.
The dependent claims define advantageous aspects and features.
The invention encompasses the utilization of the quantum superposition, which is inherent to quantum states, as a resource to encode a complete population of solutions of a multi-objective optimization algorithm. The quantum circuit is designed in such a way as to increase the diversity in the population and also improve all objectives such that they give a good approximation to the Pareto front.
The method and apparatus for obtaining a preferably complete set of NPF∈+ Parcto-optimal solutions, ={xi}i=1N
The final results after the iterations have been completed is a good set of Pareto optimal solutions Final={xi}i=1N
The invention uses quantum superpositions to encode a whole population of solutions into one quantum state. The quantum computing component is designed such that the quantum circuit layout achieves multi-objective evolution of Pareto-optimal solutions as a whole with a true quantum encoding.
According to a preferred embodiment, the quantum component realizes a parametrized quantum circuit (PQC) by implementing a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as
and where each layer l comprises multiple mixing and phase operators with separately choosable parameter sets γl={yX;l,γP;l}, and the unitary in each layer has the form
where the phase unitaries in each layer ˜ have freely choosable parameters γH;l,α∈ and are generated by the M cost Hamiltonians α and α=1, . . . , M, where each cost Hamiltonian α represents one classical objective function Cα, in the sense that the measurement basis states |x are simultaneous eigenstates of all problem Hamiltonians and the eigenvalues of the problem Hamiltonians are given by the value of the corresponding classical objective function of the corresponding classical solutions, x, i.e.
and where the mixing unitaries in each layer, ˜e−iX
According to another preferred embodiment, the quantum component realizes parametrized quantum circuit (PQC) by implementing a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as
and where each layer l comprises multiple mixing and phase operators with separately choosable parameter sets γl∈{γX;l, γP;l},, and which has the form
where the phase unitaries in each layer ˜e−iγ
The coefficients in these sums aK,α∈ may specify reference vectors {right arrow over (a)}k which have to fulfill Σαak,α2={right arrow over (a)}kT·{right arrow over (a)}k=1 and ak,α≥0 for each k, and for each k, define a certain direction in the space of objective values and thus can either reflect one user preference and are determined in the beginning as part of the problem definition, or determined by the state of the art procedure for reference vectors as described in “A Reference Vector Guided Evolutionary Algorithm for Many-Objective Optimization”, IEEE Transactions on Evolutionary Computation 20(5), 773-791 (2016)doi 10.1109/TEVC.2016.2519378 or “.Adaptation of Reference Vectors for Evolutionary Many-objective Optimization of Problems with Irregular Pareto Fronts”, IEEE Congress on Evolutionary Computation (CEC), 1726-1733 (2019) doi 10.1109/CEC.2019.8790214, which can either be fixed reference vectors determined prior to iteration of the hybrid quantum-classical algorithms or adapted during the iterations in each iteration step t.
Each cost Hamiltonian α represents one classical objective function Cα, in the sense that the measurement basis states |x are simultaneous eigenstates of all cost Hamiltonians and the eigenvalues of the problem Hamiltonians are given the value of the corresponding classical objective function of the corresponding classical solutions, x, i.e.
and where the mixing unitaries in each layer, e−iX
According to another preferred embodiment the quantum component realizes parametrized quantum circuit (PQC) by implementing a unitary quantum operation U(γ) which is composed of NL layers with different choosable sets of parameters as
and where each layer l comprises multiple mixing and phase operators with separately choosable parameter sets γl∈{γX;l,γV;l}, and which has the form
U
l(γl)=e−iX
where the phase unitaries in each layer e−iγ
where the function HV({{right arrow over (C)}(xi)}iN
α
|x
=C
α(x)|x
and where the mixing unitaries in each layer e−iX
It is further preferred that the mixing operator in each layer is given by a sum over all x-angular momentum operators of each qudit variable and where the coefficient of each individual angular momentum operators is given by the freely choosable parameter γX;k∈, i.e.,
where Lx;i is the x-angular momentum operators of the ith qubit or qudit with i=1, . . . , N, representing the ith classical search variable and N the total number of qubits/qudits.
As an alternative embodiment, the mixing operator in each layer is given by a sum over all generalized Pauli X operators of each qudit variable as, for example, described in Y. Wang, Z. Hu, B. C. Sanders, and S. Kais, Qudits and High-Dimensional Quantum Computing, Frontiers in Physics 8 (2020), and where there is one coefficient for each physical qudit which are given by the freely choosable parameters γX;l,i∈, i.e.,
where χi is the generalized Pauli X operator of the ith qubit or qudit with i=1, . . . , N, and is given by χi=Σz=0L-1|(z+1)mod Lz| and local qudit dimension L.
In a preferred embodiment the NS basis states which represent the set of solutions and which are encoded in the quantum state |ψγ, as superpositions, are extracted at each iteration by sampling from the quantum state |ψγ, i.e. sampling x from the Born rule probability P(x, γ)=|x|ψγ|2 which is realized by repeatedly measuring the quantum state, and adding for each measured state |xm the corresponding classical solution xm to the set of selected states, until NS different states have been measured and added to the set of selected states, ={xi}i=1N
The method and apparatus may further be applied to solve a multi-objective bi-directional electric vehicle charging problem where the target is to find a set ={xi}i=1N
The method and apparatus according to one of the above described configurations may be applied to obtain an efficient frontier of possible portfolio compositions as formulated by the Markowitz model of Modern portfolio theory by finding the compositions of a portfolio over time as specified by integer variables x={ωn,s} which specify the investment amount into asses n at time s and where the efficient frontier is spanned by those portfolio compositions which have optimal tradeoffs between maximizing return and minimizing risk and thus pose a two-objective optimization problem.
The invention will now be further described with reference to the attached drawing, in which
The proposed computer implemented method and hybrid quantum-classical computer system target to solve combinatorial integer multi-objective optimization problems with two or more objectives to be minimized. Typically, these objectives cannot be minimized simultaneously by some optimal solutions since they are in tradeoff relations to each other. Therefore, the target of the multi-objective optimization approach is to find a whole set of different solutions, called the Pareto set, where each solution realizes one optimal tradeoff between the objectives. The set of solutions therefore should map all possible tradeoff between the objectives, which is called the Pareto front.
The proposed inventive method and apparatus enables the treatment of such problems natively on current NISQ quantum hardware. The crucial aspect of the present invention is provided by representing a full population of candidate solutions to the optimization problem as one quantum state and extracting whole sets of Pareto-optimal solutions from this one quantum state.
According to the invention, the quantum circuits of the proposed computer implemented method and hybrid quantum-classical computer system increase the diversity of the population by utilization of all the cost function Hamiltonians corresponding to all classical objectives.
According to this description, the expression “classical” always refers to known computation as performed in the past using digital computer systems only.
The proposed computer implemented method and hybrid computer system comprises a classical computing component and a quantum computing component. Both components are configured to transfer and receive information from the respective other component such that a shared computation can be achieved in order to solve the multi objective integer optimization problem. A set of integer variables of the multi-objective integer optimization problem, x=(a1, a2, . . . , aN), where ai∈[0, . . . , L−1] are finite integers, are represented by the qubit (for L=2) or qudit (for L>2) degrees of freedom of the quantum hardware device, i.e.,
Each of those states is a basis state in the measurement basis and fulfils the orthonormality conditions
where δb,a is the Kronecker delta,
This encoding means that all possible solutions to the original multi objective integer optimization problem are represented by the measurement basis states of the quantum computing component. One advantage of using a quantum computer for approaching this problem is given by the fact that a general quantum state is naturally a superposition of all basis states, i.e. a superposition of all possible solutions to the problem,
with complex coefficient ξc∈ and where ΣC|ξc|2=1 and where c=1, . . . , dH enumerates all basis states of the Hilbert space of dimensions dH=LN for N variables (i.e. qubits or qudits) with L states per variable (i.e. qubits or qudits).
The invention utilizes a parametrized quantum circuit on the quantum computing component, which employs unitary gate operations that are applied to a predefined fixed initial state |ψ0. Such application of the unitary gate operations leads to the final quantum state
|ψ=U(γ)|ψ0.
According to the invention, this state encodes a full population of NS solutions candidates of the original problem,
where the first sum are those basis states with large weights and which represents the full population, ={xi}i=1N
A state selection mechanism, such as full state tomography, classical shadows or measurement-based sampling allows the full set of solutions to be extracted from the quantum state,
Suitable techniques are described in “Efficient quantum state tomography”, Nat Commun 1, 149 (2010) doi 10.1038/ncomms114, “Predicting many properties of a quantum system from very few measurements”, Nat. Phys. 16, 1050-1057 (2020) doi 10.1038/s41567-020-0932-7 or “Quantum Computation and Quantum Information”, Cambridge: Cambridge University Press. (2010) doi 10.1017/CBO9780511976667. The unitaries of the current invention are specifically designed to increase the contributions to the superposition from different states, which provide the optimal trade-off solutions. That means, the population of candidate solutions represented by one quantum state will provide a good approximation to the Pareto set of solutions ,
In the proposed invention, the set of solutions will be sent from the quantum computing component to the classical computing component, where for each solution the vector of objective values will be calculated which generates the Pareto front,
Here, the vector {right arrow over (C)}(x) represents the classical M objective functions of the original problem,
The final result after executing the proposed method using the inventive hybrid quantum-classical computing system is the Pareto set of solutions , which approximate the Pareto front ={{right arrow over (C)}(xi)}i=1N
Hereinafter, the invention will be described for two different implementation examples, which are typical for multi objective problems:
The operation of a fleet of electric vehicles (EVs) constitutes an archetypical optimization problem with several challenges. The central aspect of this operation is to provide a service to the customer such that for all vehicles, the requests of the customers can be fulfilled while at the same time reducing the electricity cost for charging all EVs as much as possible.
In one formulation of the problem, the target is to find the optimal charging schedule of a fleet of NEV electric vehicles (EVs) over NT time slots. The search variable x defines the charging schedule of the complete EV fleet. A schedule consists of NEV·NT discrete integer variables,
x=(1,1, 2,1, . . . , EV,1, 2,1, . . . , n,s, . . . , N
where each integer variable can have only one of L values, n,s∈[0,1, . . . , L−1]. The value of the integer n,s determines the charging power level of vehicle n in time slot s, i.e. p (s, n) =p0n,s where the p0 is the conversion constant and thus defines the spacing between the charging levels. There are four common objectives, which should all be simultaneously minimized. These are expressed by the following four objective functions:
with the normalization constants N1=NTNEVmax/p0, N2=NT2NEV(L−1)/p02, N3=NTNEV2/p02, and N4=NTNEV2/p02 to ensure that the numerical values of the objectives are of approximately the same order of magnitude.
The first objective (OBJ1) represents to total electricity cost for the complete charging schedule. PV(s) denotes the surplus energy produced by a photo-voltaic (PV) system at time slot s which is available for charging the EVs, and the function (s) gives the price for buying or selling energy from or to the grid at time slot s. max denotes the maximal unit-price for electricity. When the total electricity demand is larger than the PV surplus, energy needs to be bought from the grid, while when is smaller the term in brackets reverses sign end energy is sold to the grid leading to a negative cost, i.e. income.
The second objective (OBJ2) represents a measure for fairness between the different
EVs/customers by minimizing the difference between the desired energy of each vehicle, Etot,n, and the energy provided to each EV/customer. This is achieved since this term is proportional to the variance of the difference between the charging energy provided to each EV n and its desired value, Etot,n, which strongly favors equal distribution.
The third objective (OBJ3) tries to only use the PV surplus energy for charging the EVs at each time slot s, and consequently the objective function tries to minimize the difference between used surplus PV energy and current total charging energy at each time slot. Minimizing this objective is a means to make the service operation independent of the electricity grid.
The fourth objective (OBJ4) targets the equal distribution of the charging power over the time slots, and in particular tries to reduce peaks in the charging power at all time slots. The reasoning behind this is two-fold: (i) for company settings, the peak electricity power over a billing period has a direct influence on the charged electricity bill and therefore strong demand peaks need to be avoided (ii) strong variations in the electricity demand generally put a lot of pressure on the energy grid provider which needs to balance these out. Both aspects are met by reducing the overall variation over time of the total energy demand, i.e. the variance, as formulated in this objective.
The problem characterized by the objectives (OBJ1)-(OBJ4) of the above described example defines a combinatorial integer multi-objective optimization problem with M=4 objectives, which all need to be minimized. However, the present invention is not limited to four objectives and less or more objectives may define the multi objective optimization problem. These objectives typically cannot be minimized simultaneously by some optimal solutions since they are in tradeoff relations to each other. Therefore, the target of the multi-objective optimization approach according to the invention is to provide a computationally efficient way to find a whole set of different solutions, called the Pareto set, where each solution realizes one optimal tradeoff between the objectives. The set of solutions therefore should map all possible tradeoff between the objectives which is called the Pareto front.
For the EV charging problem the discrete search variables are given by the variables x=(1,1,2,1, . . . , n,1,2,1, . . . ,n,s, . . . ,N
In the EV charging problem the encoding into the quantum formulation is as follows: each qudit of the quantum computing component represents one charging power level n,s∈[0, . . . , L−1] of one Ev n∈[1, . . . , NEV] in one time slot s∈[1, . . . , NT]. The quantum states of the measurement basis are given by
with n,s∈[0,1, . . . , L−1] which represent all the different possibilities for the charging schedule of the whole EV fleet. This encoding implies that all possible solutions to the EV charging problem are represented by the measurement basis states of the quantum circuit. One advantage of using a quantum computer for approaching this problem is given by the fact that a general quantum state in this basis is naturally a superposition of all basis states, i.e. a superposition of all possible solutions to the problem,
with complex coefficient cx∈ and where Σx|cx|2=1.
The classical M objective functions C1(x) to C4(x) as defined above are represented by M cost Hamiltonians. Their functional form is given by a quadratic polynomial in the search variables. This directly allows to formulate the corresponding quantum Hamiltonians for each objective by taking the classical objective functions C1(x) to C4(x) and replacing the search variables n,s which specify the charging level of EV n in times slot s with the corresponding z—angular momentum operator Lz;n,s of the qudit encoding the corresponding variable, i.e. by using the replacement rule
This leads to cost Hamiltonians 1 to 4 which are also quadratic polynomials in the angular momentum operators, which therefore can be directly implemented with the elementary gate- or pulse-operators on current quantum hardware without further pre-processing or approximation. The quadratic form is therefore the starting point for current state of the art quantum approaches, as it can be found for example in “Encoding-Independent Optimization Problem Formulation for Quantum Computing”, arXiv: 2302.03711 (2023) or “Noisy intermediate-scale quantum (NISQ) algorithms”, Rev. Mod. Phys. 94, 015004.
The measurement basis states are eigenstates to the z—angular momentum operators Lz;n,s and the eigenvalues are the charging levels, i.e.
With this, the explicit form of the corresponding cost Hamiltonians representing the objective functions are
The measurement basis states are also simultaneous eigenstates of these cost Hamiltonians (since the latter are polynomials in the Lz;n,s), and the eigenvalues are given by the value of the objective functions of the corresponding configuration,
The quantum computing component, which executes the parametrized quantum circuit (PQC), prepares the state,
which consists of NL different unitary operations Ul called layers and where each unitary operator is freely parametrizable with a set of parameters γl (l=1, . . . , NL). The initial state of the circuit is given by the equal superposition of all possible states,
where dH=LN
which is a product over Np different terms and each product term consists of a so-called mixing term, ˜e−iX(γ
The mixing unitary has NPNEVNT freely choosable parameters γX;l,k,n,s∈ and it is generated by the Hermitian mixing operator X. The mixing operator in this example is given by the sum over all x-angular momentum operators of each physical qudit, i.e.,
where Lx;n,s is the usual x-angular momentum operator of the physical qudit encoding the charging power at time slot s of EV n. The action of Lx;n,s is given by the standard action of angular momentum operators,
and as such generates transitions between and creates superpositions of basis states, i.e. different solutions.
Each of the NP phase terms in each layer comes with one freely chooseable parameter, γP;l,k∈ and each term is generated by a Hermitian operator which is one specific sum over the four cost Hamiltonians of (HAM1)-(HAM4), i.e.
The coefficients ak,α≥0 define reference vectors {right arrow over (a)}k which need to fulfill the condition Σα=14ak,α2={right arrow over (a)}kT·{right arrow over (a)}k=1, i.e., the vectors {right arrow over (a)}k be unit vectors and thus each {right arrow over (a)}k defines a direction in the objective space. These are the quantum analog of the reference vectors in classical multi-objective optimization as described in “A Reference Vector Guided Evolutionary Algorithm for Many-Objective Optimization”, IEEE Transactions on Evolutionary Computation 20(5), 773-791 (2016) doi 10.1109/TEVC.2016.2519378. In the current example it is assumed that NP=5 (i.e. k=1, . . . ,5) reference vectors are used and the reference vectors {right arrow over (a)}k are determined by one of the standard approaches from literature as described in, for example, “A Reference Vector Guided Evolutionary Algorithm for Many-Objective Optimization”, IEEE Transactions on Evolutionary Computation 20(5), 773-791 (2016) doi 10.1109/TEVC.2016.2519378, or “.Adaptation of Reference Vectors for Evolutionary Many-objective Optimization of Problems with Irregular Pareto Fronts”, IEEE Congress on Evolutionary Computation (CEC), 1726-1733 (2019) doi 10.1109/CEC.2019.8790214.
In a simple but representative case the quantum circuit has only one layer, NL=1, in which case the quantum circuit prepares the following state,
with the reference vectors ak,α and the cost Hamiltonians of (HAM1)-(HAM4). This parametrized quantum state depends on 5(NTNEV+1) parameters {{γX;k,n,s}n,sN
The claimed method executed on the claimed hybrid quantum-classical computer system comprises the following steps. A classical optimization algorithm such as a stochastic gradient descent (SGD) is initiated on the classical computing component. The search parameters of this classical optimizer are given by the 10 parameters of the PQC, i.e., γ={{γX;k,n,s}n,sN
Additionally, an archive may be initiated on the classical computing component where search parameters, candidate solutions and corresponding values of the objective functions will be stored. Further, the quantum apparatus is configured such that the measurement basis represents classical solutions as depicted in (ENC) and the quantum circuit produces the parametrized quantum state (PQCEX) with the corresponding gate operations (MIXEX) and (PQCEX) and (HAM1)-(HAM4). Then, an iteration counter is initialized with t=0 and the following steps are iterated:
and the classical computing components sends these parameter values to the quantum apparatus.
when it is executed.
Then the quantum apparatus executes the quantum circuit. The one resulting quantum state |ψ(γt) then encodes a whole population of NS candidate solutions as superposition,
where the first sum are those basis states with large weights and which represents the full population, ={xi}i=1N
The set of NS solutions t at iteration t, is extracted from one quantum state as those Ns basis states which have the largest amplitudes.
One way to extract those solutions from the quantum state practically can be through repeated sampling. There, the quantum state is prepared and measured with the same parameters γt a plurality of times (i.e., Nmeasure>NS), where each measurement results in one basis state, i.e., one solution,
and collecting the measurement results in a list, from which the NS most frequent measurement results are then selected. For large enough number of measurements, this sampling procedure indeed selects those basis states with the largest amplitudes, as each individual measurement selects a basis state according to the standard Born-rule probability,
Probability of measuring |x: P(x, γt)=|x|ψ(γt)|2.
Another way could be to perform a full state tomography protocol or classical shadow tomography (see e.g. “Efficient quantum state tomography” Nat Commun 1, 149 (2010), doi 10.1038/ncomms1147, or “Predicting many properties of a quantum system from very few measurements”, Nat. Phys. 16, 1050-1057 (2020). https://doi.org/10.1038/s41567-020-0932-7) and explicitly selecting the basis states with the largest probabilities.
In any case, the procedure is such that the with the present invention, the quantum computing component extracts a whole population t={xm}m=1N
Form this set of nondominated solutions, the hypervolume indicator HV(t) is calculated, which in turn is used to calculate the fitness value f associated with the parameters of the PQC,
The fitness value ft is then fed back into the classical optimization algorithm_
←f(γt)
and the optimizer updates its internal state accordingly.
Additionally, the search parameters γt, the corresponding fitness value f(γt), the current estimate of the Pareto front t, and the corresponding Pareto set of candidate solutions t, are added to the archive,
→+{t, γt, f(γt), t, t}
The final result is the Pareto set of solutions Fina={xi}i=1N
The proposed method and hybrid computer system utilizing the PQC is effective in producing a good approximation to the Pareto front since all possible solutions are typically present in the superposition of the initial state of the quantum apparatus. The phase operators in the PQC do assign different phases to each individual basis state based on the values of the reference vectors used in the phase operators of Eq. (PQCEX). In that way, the classical optimizer can tune the parameters of the PQC to give the largest diversity and include mostly non-dominated solutions in the quantum state which maximize hypervolume indicator.
The set of Pareto optimal solutions serves as a basis for implementing an efficient control of the EV charging and scheduling service. A solution selection routine can be implemented, where the best fitting solutions are automatically determined from the whole set of Pareto optimal solutions. The natural solution selection routine is to utilize state of the art knee point detection methods as, for example, described in “Performance Analysis on Knee Point Selection Methods for Multi-Objective Sparse Optimization Problems”, IEEE Congress on Evolutionary Computation, 1-8 (2018) doi 10.1109/CEC.2018.8477915 or “A Multi-objective Evolutionary Algorithm for “Finding Knee Regions Using Two Localized Dominance Relationships”, IEEE Transactions on Evolutionary Computation 25(1), 145-158 (2021) doi 10.1109/TEVC.2020.3008877. Knee-points naturally provide the preferred best tradeoff solutions.
The second application example regards a Markowitz portfolio optimization. The target of Markowitz portfolio optimization is to manage a portfolio of financial assets over a period of time such that the expected return is maximized, while at the same time the risk is minimized (see e.g., “Computational aspects of alternative portfolio selection models in the presence of discrete asset choice constraints”, Quantitative finance 1(5), 489-501 (2001), “Solving the Optimal Trading Trajectory Problem Using a Quantum Annealer”, IEEE Journal of Selected Topics in Signal Processing 10(6), 1053-1060, (2016) doi 10.1109/JSTSP.2016.2574703, or “Dynamic portfolio optimization with real datasets using quantum processors and quantum-inspired tensor networks” Phys. Rev. Research 4, 013006 (2022) for recent introductions). As these two objectives are usually in a tradeoff relation, it is desired to map the efficient frontier, i.e., the Pareto front of best possible tradeoff solutions.
Technically the problem consists of determining the compositions of a portfolio of financial assets as specified by the share ωn,s of asset n, with n=1, . . . , NAsset at time s with s=1, . . . , NT for a fixed time window. Usually rebalancing, i.e., changing the portfolio composition is done a fixed predefined times which leads to these discretized time steps. Additionally, it is common for funds to trade assets in discrete junks, which leads to the shares ωn,s to be representable by integer variables, i.e. ωn,s∈[0, . . . , L−1].
The two objectives of this problem are formulated as
Here μn,s is the forecasted return on asset n at time s and vn,s is the transaction cost when changing the share of asset n from time step s−1 to time step s in the portfolio.
The first term thus gives the accumulated overall expected return for the complete portfolio over the considered time horizon.
In the second objective Σnm,s denotes the covariance of assets n and m at time s and the objective represents the covariance of the expected portfolio return summed over all times. This gives a measure for risk since (a) large covariance implies that the true return can differ largely form the expected returns, while small covariance implies the true return is similar to the expected return, and (b) large covariance between two assets implies correlations between the assets which in-turn reduces the robustness of the portfolio and thus makes the portfolio more risky.
The two-objective portfolio optimization problem is approached with the proposed method and hybrid quantum-classical computing system by representing the integer variables describing the shares in the portfolios, ωn,s, as the measurement basis states of the quantum apparatus,
and formulating the two cost Hamiltonians in terms of the z-angular momentum operator Lz;n,s of the qudit encoding the corresponding variable, i.e. be using the replacement rule
The measurement basis states are eigenstates to these operators and the eigenvalues are the shares of the asset in the portfolio, i.e.
With this, the cost Hamiltonians are written as
The measurement basis states are also simultaneous eigenstates of these cost Hamiltonians and the eigenvalues are given by the value of the objective functions of the corresponding configuration,
In this example, the quantum computing component which executes the parametrized quantum circuit PQC, prepares a state using two layers,
where the unitary operations U are freely parametrizable with a set of parameters γ={γ1, γ2}. The initial state of the circuit is given by the equal superposition of all possible states,
where dH=LN
which is a product over two different terms and each product term consists of a so-called mixing term ˜e−iγ
The mixing unitary has freely choosable parameters γX;l,α∈ and it is generated by the Hermitian mixing operator X. The mixing operators in this example is given by the sum over all x-angular momentum operators of each qudit, i.e.,
where Lx;n,s is the usual x-angular momentum operator of the qudit encoding share of asset n at time slot s. The action of Lx;n,s is given by the standard action of angular momentum operators,
and as such generates transitions between and creates superpositions of basis states, i.e., different solutions.
Each of the two phase terms in each layer comes with one freely chooseable parameter, γH;l,α∈ and each term is generated by one cost Hamiltonians of (HAM1) and (HAM2).
Putting it all together, the quantum circuit prepares the following state,
This parametrized quantum state depends on 8 parameters {γX;l,1, γH;l,1, γX;l,2, γH;l,2}l=12 which need to be optimally determined by a classical optimization algorithm.
The proposed method and apparatus executes the following steps:
First, a classical optimization algorithm such as a stochastic gradient descent SGD is initiated on the classical computing component. The search parameters of this classical optimizer are given by the 8 parameters of the PQC, i.e., γ={γX;l,1, γH;l,1, γX;l,2, γH;l,2}l=12∈D with D=8. Additionally, an archive is initiated on the classical computing component, where search parameters, candidate solutions and corresponding values of the objective functions will be stored.
Second, the quantum computing component is configured such that the measurement basis represents classical solutions as depicted in (ENC) and the quantum computing component produces the parametrized quantum state (PQCEX) with the corresponding gate operations (MIXEX) and (PQCEX) with (HAM1) and (HAM2). Then, an iteration counter is initialized with t=0 and the following steps are iterated:
→γt={γX;l,1t, γH;l,1t, γX;l,2t, γH;l,2t}l=12
and the classical computing component sends these parameter values to the quantum computing component.
and adjusts its unitary gate operators such that it produces the quantum state specified by (PQCEX), i.e.
when it is executed.
Then the quantum apparatus executes the quantum circuit. The one resulting quantum state |ψ(γt) then encodes a whole population of NS candidate solutions as superposition,
For this state a full state tomograph is done on the quantum device (see e.g. “Efficient quantum state tomography”, Nat Commun 1, 149 (2010) doi 10.1038/ncomms1147), which gives the list of all weights contributing to the state, T={|ξt(xc)|2 for c in 1, . . . dH} and the set of NS solutions t at iteration t is extracted from this by selecting the ones which have the largest amplitudes, t={xm}m=1N
From this set of objective value vectors, the set of non-dominated solutions t={{right arrow over (C)}(xi)}i=1N
The fitness value is then fed back into the classical optimization algorithm
←f(γt)
and the optimizer updates its internal state accordingly.
Additionally, the search parameters γt, the corresponding fitness value f(γt), the current estimate of the Pareto front t, and the corresponding Pareto set of candidate solutions t, are added to the archive,
→+{t, γt, f(γt), t, t}
The final result is the Pareto set of solutions Final={xi}i=1N
The proposed method and hybrid quantum-classical computer system utilizing the PQC is effective in producing a good approximation to the Pareto front since all possible solutions are typically present in the superposition of the initial state of the quantum apparatus. The phase operators in the PQC do assign different phases to each individual basis state based on the values of the scalarizing functions uses in the phase operators of Eq. (PQCEX). In that way, the classical optimizer can tune the parameters of the PQC to give the largest diversity and include mostly non-dominated solutions in the quantum state, which maximize hypervolume indicator.
Number | Date | Country | Kind |
---|---|---|---|
23181719.8 | Jun 2023 | EP | regional |