Abstract
Quantum finance represents a pivotal and cutting-edge application domain within the burgeoning field of quantum computing. In this work, we propose a two-step quantum approximate optimization algorithm (two-step QAOA) for portfolio optimization and risk assessment. The algorithm initiates by formulating the stock selection problem as a quadratic unconstrained binary optimization (QUBO) problem and employs a classical-quantum hybrid method to find the ground state of the Hamiltonian. We then introduce an energy-based characteristic indicator , which quantitatively evaluates portfolio performance under customizable investment preferences, effectively capturing the trade-off between expected return and risk. The number of qubits required scales with the number of stocks N in the pool, and the number of Hamiltonian terms is . Numerical simulations show that the algorithm provides consistent and reasonable assessment results on both training and test datasets under different investment preferences (aggressive or conservative), validating the capability of the characteristic indicator to extract intrinsic information from the portfolios. Additionally, by incorporating warm-starting and digitized counterdiabatic techniques, the algorithm achieves improved scalability and faster convergence. Our work presents a flexible and practical algorithmic framework for applying quantum computing in the financial domain.
1. Introduction
Quantum computing stands as a burgeoning technological frontier, harnessing the principles of quantum mechanics to tackle problems far beyond the computational capabilities of classical systems [1,2,3]. Currently, numerous institutions and industry giants, including IBM and Google, are actively advancing this technology, driving it toward commercial viability in the foreseeable future [4,5,6]. The potential applications of quantum computing span a wide range of industries [7,8], such as logistics, where it can optimize transportation and distribution [9]; healthcare, for accelerating drug discovery and improving gene sequencing [10,11]; and energy, for optimizing the consumption patterns and enhancing utilization efficiency [12].
In finance, the high dimensionality, complexity, and dynamic nature of data pose significant challenges for classical computational paradigms. Quantum computing has emerged as a transformative tool, promising unparalleled advantages in processing speed and precision for specific problem classes [13]. This potential has catalyzed extensive exploration into its feasibility across core financial applications, including derivative pricing, portfolio optimization, and the deployment of quantum machine learning for financial modeling [14,15,16,17,18,19,20,21,22,23,24,25,26]. A particularly promising avenue is the application to risk management, where quantum algorithms, notably those leveraging quantum amplitude estimation, offer a theoretical speedup over traditional Monte Carlo simulations for calculating classical metrics [27,28,29]. Moreover, there are studies that demonstrate the potential of quantum algorithms in evaluating credit risk [30] and performing sensitivity analyses for complex business models [31]. However, despite these advances, a unified quantum framework that seamlessly integrates portfolio selection with performance evaluation remains an open challenge for the application of quantum finance.
To address this gap, we propose a two-step and classical-quantum hybrid algorithm based on the quantum approximate optimization algorithm (QAOA) for simultaneous stock selection and risk assessment, termed ‘two-step QAOA’. The algorithm first formulates the stock selection process as a QUBO problem based on the mean-variance model of modern portfolio theory and then solves it via the QAOA framework. Subsequently, we construct an energy-based characteristic indicator from the ground-state energy of the problem Hamiltonian to evaluate the comprehensive performance of the selected portfolios. Our quantum algorithm exhibits favorable scalability: the number of required qubits grows linearly with the number of stocks N in the pool, and the number of terms in the problem Hamiltonian scales polynomially as . The numerical experiments show that our scheme achieves rapid convergence and delivers consistent assessment results on both training and test datasets, indicating that the characteristic indicator can effectively extract the intrinsic portfolio information. In addition, the algorithm allows customization of key factors like investment preferences and the number of selected stocks, ensuring flexibility. Furthermore, to enhance convergence performance for large-scale problems, we incorporate warm-starting and digitized counterdiabatic techniques to our algorithm. This work provides a novel algorithmic framework for integrating the portfolio selection process with risk assessment, contributing to the advancement of quantum finance.
The remainder is organized as follows: in Section 2, we review the preliminary concepts, including quantum computing and financial risk assessment. Section 3 details the methodology of the two-step QAOA scheme. The numerical experiments are presented and discussed in Section 4. Finally, a conclusion is provided in Section 5.
2. Preliminaries
2.1. Qubits
The fundamental element of a quantum computer is the qubit (quantum bit), a two-level quantum mechanical system that can exist in states or (where T denotes transposition) [32]. As a quantum system, a qubit can also reside in a superposition state. The state of a single qubit in superposition can be expressed as
where the complex coefficients a and b are the probability amplitudes, satisfying the normalization condition . The and represent the probabilities of measuring or , respectively. Considering a relative phase and using the parameterization , , the state becomes , where the angles and define a point on the unit sphere in , known as the Bloch sphere. For two qubits with quantum states and , the composite state is a product state.
where . However, not all states are separable. States that cannot be written as a tensor product are entangled states [33]. A canonical example is the Bell state . Before measurement, neither qubit has a definite state ( probability of or ). Measuring one qubit (e.g., yielding ) collapses the entire state to , instantly determining the other qubit’s state (). This non-classical correlation is quantum entanglement, which serves as a crucial resource for protocols like quantum key distribution [34].
2.2. Quantum Gates
In quantum computing, a quantum gate (or quantum logic gate) performs fundamental transformations on quantum states and serves as the basic building block of quantum circuits [32]. Unlike classical logic gates, quantum gates are reversible and generally represented by unitary matrices. According to the number of target qubits, quantum gates can be classified into single-qubit gates and two-qubit gates.
The most fundamental single-qubit gate is the NOT gate (X-gate), which flips the input state (, ). On the Bloch sphere, this corresponds to a 180° rotation around the x-axis yielding and . For superposition states, we have
Another important quantum gate is the Hadamard gate (H-gate) with matrix form
and it can create uniform superpositions as and , where are eigenstates of Pauli-X matrix.
Moreover, the two-qubit gates are unitary operations acting on two qubits and cannot be decomposed into tensor products of single-qubit gates. They are often entangling gates or controlled gates, where one qubit’s state determines the operation applied to another. A controlled-U gate applies to the target qubit (B) only when the control qubit (A) is in state as
where is the identity matrix on qubit B. An important two-qubit quantum gate is the CNOT gate () with
and variants including -controlled gates (hollow dot) and swapped control/target roles are shown in Figure 1. Moreover, a key two-qubit gate used in our quantum algorithm is the ZZ coupling Hamiltonian evolution parameterized by the parameter , where is a Pauli matrix acting on the i-th qubit.
Figure 1.
Controlled two-qubit quantum gates. (a) The -controlled gate; (b) The -controlled gate; (c) The controlled gate applied to qubit A when qubit B is . (d) Quantum circuits for simulating the evolution operator with the quantum gate .
2.3. Financial Risk Assessment
The investment risk management in the financial field is of vital importance. There are two widely used risk metrics for assessing investment portfolios: Value at Risk (VaR) and Conditional Value at Risk (CVaR) [35,36]. VaR denotes the maximum potential loss that an investment portfolio may incur within a specified confidence level and time frame, while CVaR, on the other hand, represents the average loss of the portfolio when it surpasses the VaR. Typically, both VaR and CVaR are positive values, reflecting the possible magnitude of loss. A higher VaR or CVaR implies a greater risk associated with the investment portfolio. In an idealized scenario, if VaR and CVaR are negative, it suggests that the investment portfolio is expected to yield only positive returns in the future. These two risk indicators are instrumental in evaluating the risk of an investment portfolio and the effectiveness of the associated risk management strategy.
Research indicates that the price and probability distribution of options or other financial derivatives can be computed using quantum algorithms, such as quantum amplitude estimation [37], and then the corresponding VaR or CVaR values can be derived [27,28]. In comparison to classical Monte Carlo simulations, quantum algorithms offer quadratic or exponential speedups, thereby enhancing the efficiency and precision of financial risk assessment [17]. The work by Miyamoto further proposes a quantum algorithm to calculate risk contributions for subgroups within a credit portfolio, advancing towards more granular risk analysis [29]. Egger et al. developed an efficient quantum algorithm to estimate the economic capital requirement (VaR minus expected loss) for credit risk analysis [30]. Braun et al. integrated a business risk model with quantum amplitude estimation and Grover’s search to solve a computationally prohibitive sensitivity analysis problem for a real-world model [31]. These studies underscore the immense potential and promising prospects of quantum algorithms in the realm of financial risk assessment.
In this work, we focus on the risk assessment of financial assets based on quantum algorithms and propose an alternative and energy-based risk assessment indicator based on the mean-variance financial investment theory. Unlike traditional performance metrics, our indicators are derived by comprehensively incorporating both returns and risks under explicit risk preferences. Combined with the classical-quantum hybrid algorithm framework, we construct a two-step QAOA scheme to realize the stock selection and risk assessment of funds. And the details of the proposed algorithm are described below.
3. Methodology
Within the mean-variance model of modern financial investment theory [38], the portfolio optimization problem considers both the expected return of assets and the covariance between assets [39]. We here formulate this problem as a QUBO problem amenable to quantum solvers [40]. We map the binary selection variables for each asset (0 for not selecting and 1 for selecting) to the quantum states of a qubit ( for exclusion and for inclusion). The core of our scheme is the construction of an Ising-type Hamiltonian whose ground state encodes the optimal portfolio and ground-state energy serves as a characteristic indicator. The proposed method can be summarized in two steps.
Step-one: We construct the portfolio optimization Hamiltonian based on the classical mean-variance framework. The objective is to balance the expected return and risk
where denotes the expected return of asset , and represents the covariance between assets i and j. The parameter controls the trade-off between risk and return. To map this problem into a quantum setting, we use the transformation , where is the Pauli-Z operator acting on qubit i. This leads to the Ising Hamiltonian
where and . To enforce practical investment constraints, such as selecting a fixed number n of assets, we introduce a quadratic penalty Hamiltonian
where A is a penalty coefficient. The final Hamiltonian is given by . Such a construction results in the number of qubits required by the algorithm being equal to the number of stocks N in each fund, and the number of Hamiltonian terms is . Generally, a larger places more emphasis on the risk term, leading to more conservative investment strategies, while a smaller prioritizes expected returns and results in more aggressive portfolios. The selection of needs to be determined based on subjective judgment and experience. One possible approach is to try different values within a reasonable range and observe the changes between the returns and risks of the investment portfolio.
The ground-state solution of the above-mentioned Ising-type Hamiltonian can be obtained through the QAOA, which is a quantum-classical hybrid algorithm for combinatorial optimization problems [41]. It is implemented by applying a series of unitary gates that rely on a Hamiltonian and a set of variational parameters, which are optimized through a classical optimizer to minimize the expectations of the Hamiltonian. The basic process of QAOA is constructing a p-layer parameterized quantum circuit, as shown in Figure 2. Each layer contains two different types of operations. One is the evolutionary operator for the encoded problem to be optimized with the parameter . For the financial issue of concern in our work, the encoded Hamiltonian can be expressed in the form of an Ising model, and the evolution operators can be simulated using quantum circuits. Another mixer operator is containing optimization parameters , where the mixer Hamiltonian is . The parameters and represent the rotation angles and are trainable.
Figure 2.
Schematic diagram of the p-order QAOA. Starting from the all-zero initial state, the Hadamard gates are applied to prepare a superposition state, which is the ground state of the mixer Hamiltonian . Each layer alternates between the application of the cost Hamiltonian evolution and the mixer Hamiltonian evolution . The parameters and are iteratively optimized to minimize the cost function after the measurement phase.
The p-layer QAOA begins from the eigenstate of the mixer Hamiltonian , and the resulting parameterized quantum state is given by
where and are parameterized vectors, with a total of parameters. We can perform Pauli-Z measurements on the final state and obtain measurement outputs , which are then used for computing the loss function. Combining the classical algorithm to optimize the trainable parameters until the loss function converges, the ground state of the Hamiltonian with the optimal parameters and can be obtained, which are further used to identify the optimal asset allocation. Research shows that increasing the number of layers p can improve the performance of the algorithm [42,43]. Under a limited number of layers, the algorithm provides approximate results. At the limit of , the QAOA can approximate the adiabatic algorithm [44] and can effectively evolve from the initial quantum state to the target quantum state.
Step-two: Once the stocks are selected, we need to assess the asset situation under the existing settings. Suppose that the optimal parameters after optimization are and ; then the energy-based characteristic indicator is
where the characteristic indicator is bounded and facilitates intuitive comparison. Such a metric involves the financial meaning via the ground-state energy of the Hamiltonian H, which inherently encapsulates the trade-off between expected return (the term) and risk (the term). A higher value of U corresponds to portfolios with higher expected returns and lower associated risks under the specified investment preferences. Therefore, U can serve as a standardized and preference-aware score that facilitates the comparison of portfolios within the same quantum optimization under an identical risk setting. Unlike VaR and CVaR, which are pure risk measures, its key advantage lies in being a joint return-risk metric derived from the quantum circuit’s output, harmonizing the optimization and evaluation steps. It is worth noting that if a fully selected optimal solution can also be obtained by considering only the Hamiltonian of H, then the term does not need to be introduced, reducing the difficulty of optimization.
In summary, the algorithm proceeds in two sequential stages: stock selection followed by risk assessment. First, we optimize and solve the Hamiltonian constructed for N qubits. Upon obtaining the ground state, the measurement outcomes identify a subset of n selected stocks. Second, we conduct a risk assessment using an energy-based characteristic indicator under Hamiltonian H that incorporates factors including investment preferences and the number of selected stocks, which are customizable and configurable to ensure high algorithmic flexibility. A flowchart illustrating the two-step QAOA procedure is provided in Figure 3, and the corresponding algorithm pseudocode is shown in Algorithm 1.
| Algorithm 1: Two-Step QAOA |
|
Figure 3.
A flowchart for the two-step QAOA framework for portfolio optimization and risk assessment.
4. Experimental Results
4.1. Simulation Setups
During the entire algorithm process, it is necessary to load and preprocess the financial data first to obtain the necessary parameters for constructing the Hamiltonian. Here, we extract the six-month historical closing prices of several stocks from the financial market for model construction, utilizing an additional month’s data for validation. The data are available at [45]. We use to represent the closing price of the i-th stock on the t-th time point (totally T time points), and then the return of the i-th asset is . The mean returns for different stocks are with . The covariance among different stocks is . Two points need to be emphasized here. First, all input data are normalized to mitigate the influence of absolute differences in stock prices, focusing the analysis on relative changes and essential dynamic features. Second, here we take the closing price parameter as the measurement standard. However, in principle, this is not unique and may not be the optimal one. Based on different financial models, other quantities can be selected as input parameters. Moreover, several critical factors are considered during experimentation: the convergence behavior of the optimization, evaluated by terminating the process when the loss variance over the last 10 iterations falls below ; the setting of QAOA architecture, including the order, the selection of classical optimizers, and so on.
To rigorously assess the proposed two-step QAOA framework, we benchmark it against a classical mean-variance optimization baseline derived from modern portfolio theory, using the Sharpe ratio as the comparative performance metric [46,47]. For a selected subset of assets with , we consider an equally weighted portfolio, where each selected asset is assigned a weight . The expected return and risk of the portfolio are defined as and , where and denote the mean vector and covariance matrix restricted to the selected subset S. The Sharpe ratio is defined as to quantify the trade-off between return and risk. The classical portfolio selection problem can then be formulated as a combinatorial optimization problem
which can be solved by brute-force search for small-scale instances, and be approximated by heuristic algorithm in large-scale problem.
4.2. Results and Discussion
In our experiments, we first perform a risk assessment for four equity funds using six months of historical market data, where the asset compositions are given by [fund1: ABCD; fund2: DEFG; fund3: DHIJ; fund4: KLIM]. To ensure that each asset is included in the evaluation, we introduce a constrained Hamiltonian corresponding to the full selection of assets per fund with penalty coefficient and combine it with the risk-return Hamiltonian H to form the final Hamiltonian . In our implementation, the simulations are performed on a noiseless statevector simulator [48], and the custom parameters related to investment preferences in the Hamiltonian is , which indicates that the investor has a relatively aggressive investment strategy. To obtain the characteristic index U, we use a two-layer QAOA ansatz with randomly initialized parameters and , which are subsequently optimized using the Adam optimizer with learning rate and exponential decay rate for the first (second) moment estimate of 0.9 (0.999). Each optimization is allowed up to 100 iterations, while convergence is typically achieved after only 40 iterations. The measurement results, shown in Figure 4, indicate that for both the training and test datasets, the probability of obtaining the full quantum state is nearly 100%, which demonstrates that the imposed constraints in the Hamiltonian are fully satisfied and all assets are evaluated. This observation confirms that the QAOA ansatz encodes the desired constraints and converges rapidly. To investigate the effect of different investor preferences, we repeat the experiment under a more conservative investment strategy by choosing . The corresponding measurement and convergence results are shown in Figure 5. Under this scenario, the algorithm again demonstrates fast convergence, a high success rate, and full constraint satisfaction. Moreover, as shown in Figure 6, we investigate the impact of penalty coefficient A, which can critically influence whether the quantum solution satisfies the target portfolio constraint under different investment strategies. While a higher A generally increases the probability of obtaining a constraint-satisfying solution, an excessively large value would deteriorate convergence performance, requiring more optimization iterations. This reveals a fundamental trade-off: the coefficient needs to be chosen to balance the dual objectives of solution feasibility and algorithmic efficiency.
Figure 4.
The convergence performance and measurement results of four funds on the training set (left) and the test set (right) (aggressive investment strategy). All measurement results have a nearly 100% probability of obtaining the full quantum state, satisfying the target constraint.
Figure 5.
The convergence performance and measurement results of four funds on the training set (left) and the test set (right) (conservative investment strategy). All measurement results have a nearly 100% probability of obtaining the full quantum state, satisfying the target constraint.
Figure 6.
The impact of the penalty coefficient under different investment strategies, including the probability of obtaining a constraint-satisfying solution (full quantum state) and the number of convergence iterations.
Moreover, we plot the characteristic indicator values of all funds under both aggressive and conservative investment strategies in Figure 7. The results indicate that the relative ordering of the fund is highly sensitive to the investor’s risk preference. Specifically, under different choices of the parameters , the ranking of the funds changes accordingly, reflecting the method’s ability to adapt flexibly to different risk–return trade-offs. In addition, for each fixed investment strategy, the ranking results remain consistent between the training and test datasets. This stability suggests that the proposed quantum scheme can extract robust and intrinsic features from the financial data, underscoring the generalization capability. Unlike our quantum schemes, which can generate distinct characteristic indicators tailored to different investment preferences, the classical Sharpe ratio only provides a single metric, and the portfolio evaluation results for the four funds are shown in Table 1. The quantum evaluation of the four funds can be accomplished within approximately 2.69 s on the hardware of a 16 GB Apple M4 chip processor, yielding a computational efficiency comparable to that of classical search. We can see that the ranking based on U deviates from the Sharpe ratio-based ranking, since U accounts for personalized investment preferences, whereas the Sharpe ratio follows a fixed quantitative formula. Moreover, the classical approach directly optimizes a risk-return ratio in a continuous or combinatorial manner, while the proposed QAOA-based framework reformulates the portfolio optimization problem into an Ising-type Hamiltonian, enabling its implementation on quantum hardware. Another key distinction lies in that classical methods typically rely on deterministic or local search strategies, which may become inefficient or trapped in suboptimal solutions when dealing with the complex and large-scale financial decision-making tasks. In contrast, QAOA leverages quantum methods to explore the solution space in a highly non-classical manner, potentially offering advantages in navigating rugged energy landscapes.
Figure 7.
The characteristic indicators of different funds on different datasets (training set and test set) under aggressive and conservative investment strategies. The ranking order is also marked.
Table 1.
Performance comparison between the proposed quantum indicator U and the classical Sharpe ratio.
Overall, these results demonstrate that our two-step QAOA scheme effectively adapts to different investment preferences while consistently capturing the intrinsic risk-return structure of the data. This not only validates the feasibility and practical applicability of the method for risk assessment but also highlights its potential for scaling to larger, more complex portfolio optimization problems. It is important to note that the current demonstration focuses solely on the second step of the two-step QAOA scheme, i.e., performing risk assessments of pre-selected funds. Given that only four stocks are considered, the problem size remains relatively small. To fully showcase our two-step QAOA scheme, we extend the experiments by incorporating both the selection and evaluation steps, thereby addressing more complex optimization models below.
4.3. Model Extension
The above implementation only involves the evaluation process, and to fully validate the two-step QAOA framework in financial tasks, we extend the original experimental setup to a more practical scenario: selecting 4 stocks from a pool of 13 candidates, followed by a quantitative risk assessment. To address the convergence bottleneck of QAOA in large-scale combinatorial optimization problems, we integrate two advanced quantum optimization techniques, which are the warm-starting QAOA (WS-QAOA) and digitized counterdiabatic QAOA (DC-QAOA), into the baseline QAOA scheme. The warm-starting strategy can accelerate algorithm convergence and enhance solution quality by initializing quantum parameters with heuristic solutions [49], while DC-QAOA improves optimization performance via digital counterdiabatic driving, which is realized by adding an additional quantum layer to the original QAOA structure [50]. The quantum circuit implementations for these two schemes are illustrated in Figure 8. All experiments employ 13 qubits, an Adam classical optimizer with a learning rate of 0.1, and a circuit depth of layers. We systematically evaluate the convergence behavior of baseline QAOA, WS-QAOA, and DC-QAOA under two investment strategies (aggressive/conservative) and two Hamiltonian settings (unconstrained/constrained).
Figure 8.
(a) The warm-starting QAOA circuit. (b) The digitized counterdiabatic QAOA circuit.
For the unconstrained case, where there is no restriction on the number of selected stocks, the convergence behavior of the different QAOA variants diverges significantly, as shown in Figure 9a,c. Specifically, the baseline QAOA fails to achieve effective convergence, while both the WS-QAOA and DC-QAOA schemes exhibit stable and tight convergence. To further validate the robustness of the proposed techniques, we introduce a constrained Hamiltonian and fix the selection to stocks with a penalty coefficient . This increases the complexity of the optimization by expanding the number of Hamiltonian terms. As shown in Figure 9b,d, a similar pattern emerges in this constrained setting: the baseline QAOA still exhibits slow convergence and a suboptimal final loss, whereas WS-QAOA and DC-QAOA maintain their superior convergence performance. Notably, WS-QAOA achieves a faster convergence rate and a lower final loss value than DC-QAOA. This consistent advantage across both unconstrained and constrained settings confirms that WS-QAOA and DC-QAOA are broadly effective in mitigating the convergence limitations of baseline QAOA for financial stock selection. Furthermore, the characteristic indicators under different investment preferences are shown in Figure 10, which presents consistent patterns between the training and test sets, demonstrating the feasibility and stability of our algorithm in extracting intrinsic features of the stock portfolio. Moreover, we extend the experiments to larger problem sizes with and to investigate the scaling behavior of our quantum scheme, as shown in Figure 11. The results show that as N increases, the baseline QAOA exhibits a noticeable degradation in convergence performance, while both WS-QAOA and DC-QAOA maintain more stable performance across all scales, demonstrating improved scalability and robustness.
Figure 9.
Convergence curves of various optimization strategies with aggressive (a,b) and conservative (c,d) investment strategies in the stock selection processes. The panels (a,c) show optimization processes without constrained Hamiltonian, and panels (b,d) show optimization processes under constrained Hamiltonian with .
Figure 10.
The characteristic indicators of different investment strategies (aggressive and conservative) on the training and test datasets.
Figure 11.
Convergence performance of QAOA, WS-QAOA, and DC-QAOA on the portfolio optimization problems with different numbers of assets N.
5. Conclusions
In summary, we present a two-step classical-quantum hybrid algorithm framework tailored for stock selection and risk assessment in financial portfolio management, addressing the core challenge of integrating quantum computing with financial decision-making. The proposed framework formalizes the stock selection problem as a QUBO model according to the mean-variance portfolio theory, constructs a customizable Hamiltonian that encapsulates investor preferences (aggressive/conservative), and introduces an energy-based characteristic indicator, derived from the Hamiltonian’s ground-state energy, to quantitatively evaluate portfolio performance across risk and return dimensions. The algorithm exhibits favorable scalability properties: the number of qubits scales linearly with the number of stocks N in a fund, and the terms in the Hamiltonian scale as . Numerical simulations on small-scale problem instances demonstrate that the framework can complete risk assessment with characteristic indicators showing consistent performance across training and test datasets. This consistency validates that the indicator can effectively extract intrinsic structural information of stock portfolios, enabling reliable and interpretable portfolio evaluation independent of data partitioning. Furthermore, to enhance convergence for large-scale financial optimization problems, we augment the traditional QAOA with warm-starting and digitized counter-diabatic techniques. The numerical experiments confirm that the enhanced QAOA outperforms the baseline method in both convergence speed and evaluation consistency, overcoming the convergence bottlenecks of classical QAOA in complex constrained scenarios. Compared with classical methods, which are based on brute-force search, the proposed QAOA-based approach demonstrates stronger potential when handling large-scale financial datasets. Moreover, our method incorporates a preferences-aware mechanism that adaptively adjusts the optimization process according to varying risk-return trade-offs, overcoming the limitations of classical approaches based on fixed evaluation criteria. These advantages make the proposed approach particularly suitable for practical portfolio optimization scenarios where both scalability and adaptability are essential.
Author Contributions
Conceptualization, B.W. and L.W.; methodology, B.W.; software, B.W.; validation, B.W. and L.W.; formal analysis, B.W. and L.W.; investigation, B.W. and L.W.; resources, B.W. and Y.Y.; data curation, B.W. and L.W.; writing—original draft preparation, B.W.; writing—review and editing, L.W.; visualization, B.W.; supervision, L.W.; project administration, L.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The raw data supporting the conclusions of this article will be made available by the authors on request.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Preskill, J. Quantum computing in the NISQ era and beyond. Quantum 2018, 2, 79. [Google Scholar] [CrossRef] [Scilit]
- Rietsche, R.; Dremel, C.; Bosch, S.; Steinacker, L.; Meckel, M.; Leimeister, J.M. Quantum computing. Electron. Mark. 2022, 32, 2525–2536. [Google Scholar] [CrossRef] [Scilit]
- Rieffel, E.; Polak, W. An introduction to quantum computing for non-physicists. Acm Comput. Surv. (CSUR) 2000, 32, 300–335. [Google Scholar] [CrossRef] [Scilit]
- AbuGhanem, M. IBM quantum computers: Evolution, performance, and future directions. J. Supercomput. 2025, 81, 687. [Google Scholar] [CrossRef] [Scilit]
- Khrennikov, A. Echoing the recent Google success: Foundational roots of quantum supremacy. arXiv 2019, arXiv:1911.10337. [Google Scholar] [CrossRef] [Scilit]
- Hooyberghs, J. Introducing Microsoft Quantum Computing for Developers; Apress: Berkeley, CA, USA, 2022. [Google Scholar]
- Bayerstadler, A.; Becquin, G.; Binder, J.; Botter, T.; Ehm, H.; Ehmer, T.; Erdmann, M.; Gaus, N.; Harbach, P.; Hess, M.; et al. Industry quantum computing applications. EPJ Quantum Technol. 2021, 8, 25. [Google Scholar] [CrossRef] [Scilit]
- Bova, F.; Goldfarb, A.; Melko, R.G. Commercial applications of quantum computing. EPJ Quantum Technol. 2021, 8, 2. [Google Scholar] [CrossRef] [Scilit]
- Phillipson, F. Quantum computing in logistics and supply chain management an overview. arXiv 2024, arXiv:2402.17520. [Google Scholar] [CrossRef] [Scilit]
- Flöther, F.F. The state of quantum computing applications in health and medicine. Res. Dir. Quantum Technol. 2023, 1, e10. [Google Scholar] [CrossRef] [Scilit]
- Cao, Y.; Romero, J.; Olson, J.P.; Degroote, M.; Johnson, P.D.; Kieferová, M.; Kivlichan, I.D.; Menke, T.; Peropadre, B.; Sawaya, N.P.; et al. Quantum chemistry in the age of quantum computing. Chem. Rev. 2019, 119, 10856–10915. [Google Scholar] [CrossRef] [Scilit]
- Ajagekar, A.; You, F. Quantum computing for energy systems optimization: Challenges and opportunities. Energy 2019, 179, 76–89. [Google Scholar] [CrossRef] [Scilit]
- Fedorov, A.K.; Gisin, N.; Beloussov, S.M.; Lvovsky, A.I. Quantum computing at the quantum advantage threshold: A down-to-business review. arXiv 2022, arXiv:2203.17181. [Google Scholar] [CrossRef] [Scilit]
- Herman, D.; Googin, C.; Liu, X.; Sun, Y.; Galda, A.; Safro, I.; Pistoia, M.; Alexeev, Y. Quantum computing for finance. Nat. Rev. Phys. 2023, 5, 450–465. [Google Scholar] [CrossRef] [Scilit]
- Orús, R.; Mugel, S.; Lizaso, E. Quantum computing for finance: Overview and prospects. Rev. Phys. 2019, 4, 100028. [Google Scholar] [CrossRef] [Scilit]
- Herman, D.; Googin, C.; Liu, X.; Galda, A.; Safro, I.; Sun, Y.; Pistoia, M.; Alexeev, Y. A survey of quantum computing for finance. arXiv 2022, arXiv:2201.02773. [Google Scholar] [CrossRef] [Scilit]
- Rebentrost, P.; Gupt, B.; Bromley, T.R. Quantum computational finance: Monte Carlo pricing of financial derivatives. Phys. Rev. A 2018, 98, 022321. [Google Scholar] [CrossRef] [Scilit]
- Tang, Y.; Yan, J.; Hu, G.; Zhang, B.; Zhou, J. Recent progress and perspectives on quantum computing for finance. Serv. Oriented Comput. Appl. 2022, 16, 227–229. [Google Scholar] [CrossRef] [Scilit]
- Rebentrost, P.; Lloyd, S. Quantum computational finance: Quantum algorithm for portfolio optimization. KI-Künstliche Intell. 2024, 38, 327–338. [Google Scholar] [CrossRef] [Scilit]
- Zhou, J. Quantum finance: Exploring the implications of quantum computing on financial models. Comput. Econ. 2026, 67, 1043–1072. [Google Scholar] [CrossRef] [Scilit]
- Volpe, D.; Orlandi, G.; Turvani, G. Improving the solving of optimization problems: A comprehensive review of quantum approaches. Quantum Rep. 2025, 7, 3. [Google Scholar] [CrossRef] [Scilit]
- Hlatshwayo, M.Q.; Babel, M.; Islas-Sanchez, D.; Georgopoulos, K. A Technical Review of Quantum Computing Use Cases for Finance and Economics. Quantum Rep. 2026, 8, 26. [Google Scholar] [CrossRef] [Scilit]
- Doosti, M.; Wallden, P.; Hamill, C.B.; Hankache, R.; Brown, O.T.; Heunen, C. A brief review of quantum machine learning for financial services. arXiv 2024, arXiv:2407.12618. [Google Scholar] [CrossRef] [Scilit]
- Kumar, S.; Wilmott, C.M. Simulating the non-Hermitian dynamics of financial option pricing with quantum computers. Sci. Rep. 2025, 15, 13268. [Google Scholar] [CrossRef] [Scilit]
- Naik, A.S.; Yeniaras, E.; Hellstern, G.; Prasad, G.; Vishwakarma, S.K.L.P. From portfolio optimization to quantum blockchain and security: A systematic review of quantum computing in finance. Financ. Innov. 2025, 11, 1–67. [Google Scholar] [CrossRef] [Scilit]
- Olaiya, O.P.; Adesoga, T.O.; Adebayo, A.A.; Sotomi, F.M.; Adigun, O.A.; Ezeliora, P.M. Encryption techniques for financial data security in fintech applications. Int. J. Sci. Res. Arch. 2024, 12, 2942–2949. [Google Scholar] [CrossRef] [Scilit]
- Woerner, S.; Egger, D.J. Quantum risk analysis. npj Quantum Inf. 2019, 5, 15. [Google Scholar] [CrossRef] [Scilit]
- Wilkens, S.; Moorhouse, J. Quantum computing for financial risk measurement. Quantum Inf. Process. 2023, 22, 51. [Google Scholar] [CrossRef] [Scilit]
- Miyamoto, K. Quantum algorithm for calculating risk contributions in a credit portfolio. EPJ Quantum Technol. 2022, 9, 32. [Google Scholar] [CrossRef] [Scilit]
- Egger, D.J.; Gutiérrez, R.G.; Mestre, J.C.; Woerner, S. Credit risk analysis using quantum computers. IEEE Trans. Comput. 2020, 70, 2136–2145. [Google Scholar] [CrossRef] [Scilit]
- Braun, M.; Decker, T.; Hegemann, N.; Kerstan, S.; Schäfer, C. A quantum algorithm for the sensitivity analysis of business risks. arXiv 2021, arXiv:2103.05475. [Google Scholar] [CrossRef] [Scilit]
- Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
- Horodecki, R.; Horodecki, P.; Horodecki, M.; Horodecki, K. Quantum entanglement. Rev. Mod. Phys. 2009, 81, 865–942. [Google Scholar] [CrossRef] [Scilit]
- Cao, Y.; Zhao, Y.; Wang, Q.; Zhang, J.; Ng, S.X.; Hanzo, L. The evolution of quantum key distribution networks: On the road to the qinternet. IEEE Commun. Surv. Tutor. 2022, 24, 839–894. [Google Scholar] [CrossRef] [Scilit]
- Sarykalin, S.; Serraino, G.; Uryasev, S. Value-at-risk vs. conditional value-at-risk in risk management and optimization. In State-of-the-Art Decision-Making Tools in the Information-Intensive Age; Informs: Catonsville, MD, USA, 2008; pp. 270–294. [Google Scholar]
- Hong, L.J.; Hu, Z.; Liu, G. Monte Carlo methods for value-at-risk and conditional value-at-risk: A review. ACM Trans. Model. Comput. Simul. (TOMACS) 2014, 24, 1–37. [Google Scholar] [CrossRef] [Scilit]
- Brassard, G.; Hoyer, P.; Mosca, M.; Tapp, A. Quantum amplitude amplification and estimation. arXiv 2000, arXiv:quant-ph/0005055. [Google Scholar] [CrossRef] [Scilit]
- Steinbach, M.C. Markowitz revisited: Mean-variance models in financial portfolio analysis. SIAM Rev. 2001, 43, 31–85. [Google Scholar] [CrossRef] [Scilit]
- Elton, E.J.; Gruber, M.J.; Brown, S.J.; Goetzmann, W.N. Modern Portfolio Theory and Investment Analysis; John Wiley & Sons: Hoboken, NJ, USA, 2009. [Google Scholar]
- Glover, F.; Kochenberger, G.; Du, Y. A tutorial on formulating and using QUBO models. arXiv 2018, arXiv:1811.11538. [Google Scholar]
- Farhi, E.; Goldstone, J.; Gutmann, S. A quantum approximate optimization algorithm. arXiv 2014, arXiv:1411.4028. [Google Scholar] [CrossRef] [Scilit]
- Wurtz, J.; Love, P. MaxCut quantum approximate optimization algorithm performance guarantees for p > 1. Phys. Rev. A 2021, 103, 042612. [Google Scholar] [CrossRef] [Scilit]
- Zhou, L.; Wang, S.T.; Choi, S.; Pichler, H.; Lukin, M.D. Quantum approximate optimization algorithm: Performance, mechanism, and implementation on near-term devices. Phys. Rev. X 2020, 10, 021067. [Google Scholar] [CrossRef] [Scilit]
- Farhi, E.; Goldstone, J.; Gutmann, S. Quantum adiabatic evolution algorithms with different paths. arXiv 2002, arXiv:quant-ph/0208135. [Google Scholar] [CrossRef] [Scilit]
- Zenodo Data. Available online: https://zenodo.org/records/19367995 (accessed on 4 May 2026).
- Sharpe, W.F. The sharpe ratio. Streetwise—Best J. Portf. Manag. 1998, 3, 169–185. [Google Scholar] [CrossRef] [Scilit]
- Mattesi, M.; Asproni, L.; Mattia, C.; Tufano, S.; Ranieri, G.; Caputo, D.; Corbelletto, D. Diversifying investments and maximizing sharpe ratio: A novel quadratic unconstrained binary optimization formulation. Quantum Rep. 2024, 6, 244–262. [Google Scholar] [CrossRef] [Scilit]
- Zou, T.; Fang, Y.; Wang, J.; Dou, M.; Fu, J.; Zhao, Z.; Zhao, S.; Yu, L.; Zhao, D.; Chen, Z.; et al. QPanda3: A High-Performance Software-Hardware Collaborative Framework for Large-Scale Quantum-Classical Computing Integration. arXiv 2025, arXiv:2504.02455. [Google Scholar]
- Egger, D.J.; Mareček, J.; Woerner, S. Warm-starting quantum optimization. Quantum 2021, 5, 479. [Google Scholar] [CrossRef] [Scilit]
- Chandarana, P.; Hegade, N.N.; Paul, K.; Albarrán-Arriagada, F.; Solano, E.; Del Campo, A.; Chen, X. Digitized-counterdiabatic quantum approximate optimization algorithm. Phys. Rev. Res. 2022, 4, 013141. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.










