Skip to Content
EntropyEntropy
  • Article
  • Open Access

6 August 2026

25 Pages

A Quantum Annealing Approach for Solving Optimal Feature Selection and Next Release Problems

,
and
1
School of Computer Science and Technology, University of Science and Technology of China, Hefei 230026, China
2
Hefei National Laboratory, University of Science and Technology of China, Hefei 230088, China
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Quantum Information and Quantum Computation

Abstract

Search-based software engineering (SBSE) tackles critical optimization problems in software engineering, including the next release problem (NRP) and feature selection problem (FSP). Traditional heuristic approaches and integer linear programming (ILP) methods work well for small- to medium-scale problems but face growing computational cost as instances scale up. We investigate quantum annealing (QA) as an optimization subroutine for multi-objective SBSE problems. We propose two QA-based algorithms tailored to different problem scales. For small-scale problems, we reformulate multi-objective optimization (MOO) as single-objective optimization (SOO) using penalty-based mappings for quantum processing. For large-scale problems that exceed current hardware capacity, we employ a decomposition strategy guided by maximum energy impact (MEI) that partitions the problem into smaller sub-QUBOs, integrating QA with a steepest-descent method for local search. Applied to NRP and FSP, our approaches are benchmarked against the heuristic NSGA-II, IBEA, and MOEA/D, as well as the ILP-based ϵ -constraint method. The experimental results reveal that while our methods produce fewer non-dominated solutions than ϵ -constraint, they achieve substantial reductions in execution time. Compared to the evolutionary baselines, our methods achieve competitive solution quality with lower runtime on the instances that they can encode. The penalty-based QUBO formulation fails to reach feasible regions on constraint-dense FSP instances, limiting the current applicability of the approach. QA is a promising but still hardware-limited component for multi-objective SBSE workflows, rather than a wholesale replacement for classical solvers.

1. Introduction

Software engineering is a vast and multifaceted field, encompassing the development, management, and enhancement of software. These considerations frequently involve striking a balance between different objectives that may compete or clash with one another [1]. A key challenge is the decision-making process in feature prioritization for software, where cost-effectiveness must be balanced with project requirements. Search-based software engineering (SBSE) addresses such challenges by conceptualizing them as search-based optimization problems and employing different kinds of optimal search algorithms derived from operational research to discover feasible solutions. Among the broad applications of SBSE, this work focuses on two fundamental optimization problems in software requirements engineering and software product line engineering: the next release problem (NRP) and the feature selection problem (FSP), both critical to advancing software engineering practices.
Many optimization problems involve multiple competing objectives that require simultaneous optimization, forming what are known as multi-objective optimization problems. Unlike single-objective optimization, which seeks a single optimal solution, these problems yield a set of solutions, collectively forming the Pareto front [2]. Within this set, no solution is universally superior to another; improving one objective often comes at the expense of another. The complexity of navigating the Pareto front has driven extensive research, with numerous methodologies proposed to address its inherent challenges. The Pareto front represents an area of interest in multi-objective optimization studies due to its inherent complexity and the challenges that it presents in achieving optimal solutions.

2. Related Work

The NRP and FSP are typical multi-objective optimization problems in software engineering, with numerous schemes proposed for their solution. NRP methods primarily fall into two categories: multi-objective evolutionary algorithm (MOEA) based on heuristic thought, and integer linear programming (ILP) based on operations research knowledge. Early in 2007, NSGA-II was used to solve the multi-objective NRP (MONRP) [3], followed by other evolutionary algorithms, such as genetic algorithms (GAs), ant colony optimization (HACO) with local search [4], particle swarm optimization with greedy initialization [5], and a hybrid artificial bee colony and differential evolution method (HABC-DE) [6]. On the ILP side, the  ϵ -constraint method was introduced in 2015 to address the NRP [7], with subsequent improvements like I-EC for bi-objective NRP and SolRep for tri-objective NRP [8].
Similarly, the FSP has also been tackled using both MOEA and ILP methods. The GA was first applied to the FSP in 2011 [9] and showed good performance. The introduction of MOEAs further advanced FSP solutions, with the Improved Binary Evolutionary Algorithm (IBEA) emerging as the most effective MOEA [10]. Subsequent hybrid approaches, such as IBED, which combines IBEA with differential evolution (DE), improved performance further [11]. Other hybrid strategies included integrating IBEA with constraint solvers, leading to the development of SATIBEA and SMTIBEA [12,13]. In addition to heuristic approaches, ILP methods like ϵ -constraint and SolRep [14] have been applied to the FSP. Notably, researchers have also explored combining ILP with IBEA, resulting in the MILPIBEA method [15].
MOEAs exhibit remarkable versatility, as they can solve problems without necessitating specific domain knowledge. However, their efficacy diminishes as the problem size increases, due to a sharp rise in computational time [16]. MOEAs often fail to identify all Pareto solutions, limiting their utility. In contrast, ILP holds the potential to find out all Pareto solutions. Nevertheless, it is not suitable for middle- or large-scale combinatorial optimization problems, which are NP-hard problems. As the problem size expands, the time required for finding valid solutions grows exponentially, making ILP less efficient. Therefore, when dealing with large-scale problems, both MOEAs and ILP grapple with the challenge of finding feasible solutions within a restricted time, hindering their application in complex software engineering environments. This highlights the urgent need for an efficient approach that can deliver high-quality solutions quickly in the context of SBSE.
Recent years have witnessed growing interest in applying quantum and quantum-inspired optimization techniques to combinatorial problems. The Quantum Approximate Optimization Algorithm (QAOA) and Variational Quantum Eigensolver (VQE) have been explored for graph partitioning, scheduling, and constraint satisfaction problems [17,18]. Quantum-inspired evolutionary algorithms incorporate quantum concepts such as superposition into classical metaheuristics [19]. Digital annealers, which simulate quantum annealing on specialized classical hardware, have been deployed for portfolio optimization and traffic routing [20]. While these approaches have demonstrated promise in operations research and industrial optimization, their application to software engineering decision problems—particularly multi-objective release planning and feature selection—remains limited.
Quantum annealing (QA) is a physical optimization technique that exploits quantum tunneling and superposition to explore solution landscapes. Its development can be traced to early quantum computing concepts in the 1980s [21], and commercial QA systems now integrate thousands of qubits. Theoretical work has shown that certain quantum algorithms offer polynomial or exponential speedups over classical methods [22,23], although practical demonstrations of quantum advantage remain confined to specific problem classes and hardware configurations.
In the context of combinatorial optimization, QA requires formulating problems as Quadratic Unconstrained Binary Optimization (QUBO) models, which can then be mapped onto the physical qubit topology of quantum annealers. While QA has been applied to domains such as machine learning, logistics, and bioinformatics, the SBSE community has not systematically investigated its applicability to multi-objective release planning and feature selection. The main challenge lies in adapting multi-objective software engineering problems—characterized by discrete constraints, feature dependencies, and competing stakeholder objectives—to the penalty-based QUBO framework required by current QA hardware. This work investigates whether and when QA provides practical benefits for NRP and FSP compared to established classical baselines. The minor-embedding process used to map a QUBO onto a QPU is illustrated in Figure 1.
Figure 1. Embedding on a QPU. This figure shows a QUBO problem embedded on a QPU. In the left part of the figure, H Q U B O has linear terms x 1 , x 2 , and x 3 and quadratic terms x 1 x 2 , x 1 x 3 , and x 2 x 3 . In the right part of the figure, H Q P U is described by qubits s 1 , s 2 , s 3 , and s 4 and couplers s 1 s 2 , s 1 s 3 , s 2 s 4 , and s 3 s 4 ; x 1 is mapped to { s 1 , s 2 } , while x 2 and x 3 are mapped to s 3 and s 4 , respectively; { s 1 , s 2 } is called a chain, and s 1 and s 2 are constrained to satisfy s 1 = s 2 . In other words, each variable is mapped to a set of qubits constrained to take the same value.

3. Methods

Existing methods for solving SBSE are mainly divided into two categories: MOEAs and ILP. Under such a circumstance, the two solving methods that are successfully applied to the MOO problem—the NSGA-II method and ϵ -constraint method—are adopted in this study to provide a fundamental approach to the SBSE problem.
To apply the quantum annealing approach to SBSE, the problem must first be transformed into a QUBO model and then mapped onto the qubit topology. The utilization of quantum phenomena, such as superposition and entanglement [24], is instrumental in this process. The ultimate goal is to find the lowest-energy state of the system during the annealing procedure. This method is primarily effective for resolving single-objective optimization problems. However, multi-objective optimization problems, characterized by multiple conflicting objectives, necessitate a different approach.
In this work, we study the application of QA to multi-objective NRPs and FSPs at both small and large scales. To address this, we develop two separate algorithms that make use of QA as an optimization subroutine. Detailed algorithmic procedures and pseudocode for both methods are provided in Appendix A. For small-scale problems, which fit within the computational capacity of current quantum computers, we propose Multi-Objective Quantum Annealing (MOQA). MOQA employs a weighted aggregation approach to transform the multi-objective optimization problem into a single objective format, and then converts constraints into a QUBO model for QA processing. On the other hand, for large-scale problems that exceed the direct computational ability of current quantum computers, we introduce Classical–Quantum Hybrid Annealing (CQHA). CQHA decomposes the large-scale problem into multiple sub-problems using the maximum energy impact (MEI) method [25], which isolates the influential variables to simplify computation. This method is then combined with the steepest-descent method to enhance local search capability. This hybrid approach is expected to yield a greater number of non-dominated solutions [26,27]. In multi-objective optimization, a dominated solution refers to a solution that is inferior to another solution in all objectives. Such solutions are generally considered to be less desirable, as they are outperformed by other solutions in the search space. The significance of producing dominated solutions lies in their ability to help refine the search process by eliminating less efficient alternatives, keeping the non-dominated solutions. By focusing on non-dominated solutions, an algorithm can concentrate on finding the Pareto-optimal front, ensuring that the resulting solutions represent the best trade-offs among conflicting objectives.
According to [28], NSGA-II demonstrated the fastest execution time among 19 state-of-the-art MOEA methods. To evaluate efficiency, we compare our QA-based methods against NSGA-II, assessing which methods find solutions more efficiently without compromising solution quality. Additionally, we benchmark against the ILP method ϵ -constraint in small cases where exact methods perform well. The results indicate that, on the instances that they can encode, the QA-based methods are competitive with NSGA-II in solution quality while reducing wall-clock running time by an average of 30.8% (small cases) and 94.1% (large cases). We caution that these gains reflect the combined effect of the QUBO formulation, the hybrid algorithm design, and the quantum sampler, and should not be attributed to quantum annealing alone; isolating the contribution of the quantum component is left as an explicit item for future work (see Section 5). For very small cases (fewer than 50 variables), ϵ -constraint is faster than QA, but as the problem size grows, its runtime increases sharply, exceeding QA’s by more than two orders of magnitude on the largest instances tested.
In summary, our main contributions are as follows:
  • We convert the nonlinear logic formulae in the FSP and NRP into a QUBO model, so that these problems can be solved by a quantum computer. We also give the derivation process of the conversion.
  • We apply QA to solve multi-objective problems and propose two methods, namely, MOQA for small-scale problems and CQHA for large-scale problems. While quantum and quantum-inspired optimization has been studied in operations research and other domains, its use for multi-objective NRPs and FSPs in SBSE has received comparatively little attention, and our study contributes empirical evidence on where it helps and where it does not.
  • We apply the maximum energy impact (MEI) method to decompose the large-scale problem into multiple sub-problems, making them solvable on quantum computers with limited hardware.
  • Compared with representative classical baselines (MOEA methods NSGA-II, IBEA, and MOEA/D, and the ILP-based ϵ -constraint method), our proposed methods improve runtime efficiency while delivering competitive solution quality on the instances that they can encode. We also report and analyze a negative result—the failure of the penalty-based QUBO formulation on constraint-dense FSP instances—so that the applicability boundary of the approach is clearly delimited.

4. Experiments

4.1. Research Questions

To gain deeper insight into the performance of our proposed approaches, we seek to address the following research questions (RQs):
  • On small-scale problems, how would MOQA perform on multi-objective NRPs and FSPs compared with the ILP method ϵ -constraint and the MOEA method NSGA-II?
  • On large-scale problems, how would CQHA perform on multi-objective NRPs and FSPs compared with NSGA-II?
  • How would CQHA behave when discarding some of the lower-energy sub-problems?
  • How would the hybrid algorithm behave when the size of the data increases?
  • How would the D-Wave solver behave when different numbers of qubits are available?

4.2. Evaluation Setup

4.2.1. Datasets

Our approach to addressing NRPs utilizes realistic datasets from the ReleasePlanner projects [29]—specifically, the MSWord and RP datasets. In these datasets, each stakeholder assigns a revenue value to each requirement, while a cost is attributed to the corresponding requirements. Revenue computation in our work follows the methodology established in [8,30]. Additionally, we include the Baan dataset [31] and five synthetic datasets, commonly referred to as the classical datasets [32] (denoted as classic-1 to classic-5).
Our study addresses FSPs by utilizing software product line datasets sourced from SPLOT Search [33], a widely recognized benchmark repository among researchers. It includes multiple datasets such as WebPortal, Drupal, BerkeleyDB, ERS, and E-Shop. We also incorporate classical datasets from the LVAT project repository [34], specifically toybox and uClinux. For larger datasets like eCos and LinuxX86, both CQHA and NSGA-II struggle to find feasible solutions, leading to their exclusion from the experiment.
To strengthen the validity of our experiments, we introduce two datasets artificially generated by the SPLOT FM generator [33]: SPLOT-1 and SPLOT-2. Each feature present in these models is characterized by four attributes: Richness, Reliability, Defects, and Cost [35].
The datasets used in our experiments are based on the most classical and widely used benchmarks in NRPs and FSPs. All selected models are intended to facilitate direct comparisons with prior studies [8,11,14,36].

4.2.2. Environment

We utilized Python 3.8 and the D-Wave Ocean SDK 6.4 to interface with the D-Wave Leap Advantage System 4.1 machine, boasting 5760 active physical qubits; jMetal 5.10 in Java was employed for NSGA-II as our MOEA method, and IBM ILOG CPLEX 12.1 [37] was employed as our ILP solver in exact methods.
Our experiments were conducted on an Ubuntu 18.04 system with an Intel(R) Xeon(R) Platinum 8160 processor and 376 GB of RAM.

4.3. Quality Indicators

For multi-objective problems, besides execution time and the number of non-dominated solutions for each method, we adopted four quality indicators: hypervolume (HV), inverted generational distance (IGD), spacing (SP), and number of Pareto non-dominated solutions (NoP; ∥ N S ∥ ) [7,14,38].
Note that in Table 1, Table 2, Table 3, Table 4, Table 5, Table 6, Table 7 and Table 8, time (s) denotes the execution time for each method, measured in seconds.  ∥ S ∥ represents the number of correct non-dominated solutions separately found by the corresponding method. ∥ N S ∥ denotes the number of correct non-dominated solutions that are not dominated by any method. In other words, it counts the solutions from all methods combined that are Pareto-optimal and not dominated by any solution from any other method. These are the solutions that form the approximate Pareto front. In these tables, bold type in dataset and column headings is structural. Where bold type appears in data cells, it identifies the best value for the corresponding metric and instance. We first calculate the approximate Pareto front by the union of all methods, and then we use it to guide the calculation of ∥ N S ∥ , HV, IGD, and SP.
  • HV: Hypervolume quantifies the volume of the region dominated by the solution set. We normalize the objective coefficient before calculating HV, and a higher HV value is preferred.
  • IGD: Inverted Generational Distance measures how closely the solution set approximates the Pareto front, and a lower IGD value is preferred.
  • SP: Spacing calculates the standard deviation of the shortest distances between each solution and its nearest solution, and a lower SP value is preferred.
  • NoP: This indicator counts the number of correct non-dominated solutions in the approximate Pareto front, which consists of the solutions set obtained by all methods.

4.4. Answer to RQ1

To answer the question, we implemented small-scale problems that can be solved directly by a quantum computer with limited qubit capacity. We compared the results of ϵ -constraint (A), MOQA (B), and NSGA-II (C). ϵ -Constraint is an exact method for multi-objective problems that can search the whole Pareto front, and we used it to calculate the number of Pareto solutions of MOQA and NSGA-II, as well as using it as a reference for IGD indicators and HV indicators.
The parameters of NSGA-II followed the work in [7], with a population size of 100, crossover probability of 0.8, mutation probability of 1/n (where n is the size of decision variables), and evaluation of 20,000 (200 generations). For smaller cases (RP and MSWord), the evaluation was reduced to 10,000 (100 generations). For the MOQA method, we generated the weight W randomly 10 times to formulate problems into different QUBOs, and each QUBO was sampled 500 times with an annealing time of 20 μs, yielding 5000 samples per run. For all cases, both NSGA-II and MOQA repeated the run 30 times, and the results were averaged across these runs. We implemented all test cases, and the results are shown in Table 1 for NRP cases and Table 2 for FSP cases. In all cases, if a method is not listed in the table, it indicates that the method fails to find any non-dominated solution.
Table 1. Non-dominated solutions found by ϵ -constraint (A), MOQA (B), and NSGA-II (C) for small-scale NRP cases. Note that MOQA cannot find a non-dominated solution on Baan, and NSGA-II cannot find a non-dominated solution on classic-1, so these results are not included here.
Table 2. Non-dominated solutions found by ϵ -constraint (A), MOQA (B), and NSGA-II (C) for small-scale FSP cases. Note that ϵ -constraint cannot complete solving within 72 h, so these results are not shown in the table.
From the tables, we can observe that ϵ -constraint always finds all Pareto solutions, achieving an IGD score of 0 and excelling in both HV and SP indicators. MOQA finds all Pareto solutions on RP cases, while NSGA-II fails to identify all solutions in any of the test cases. For the smallest case RP, ϵ -constraint completes the solution in nearly two-thirds of the time required by MOQA and NSGA-II, although it takes significantly longer for larger datasets—particularly for E-Shop, where it cannot complete within 72 h. MOQA generally outperforms NSGA-II in terms of non-dominated solutions, except for the Baan case. On Baan, MOQA takes 1.15 s but fails to find any non-dominated solution, while NSGA-II finds 2.2 solutions on average in 2.21 s. Compared with ϵ -constraint, both MOQA and NSGA-II face difficulties in solving Baan. MOQA always performs better than NSGA-II on IGD and HV indicators (except for Baan), especially on classic-1, where NSGA-II takes 5.33 s (five times longer than MOQA) but cannot find a non-dominated solution. In most cases, MOQA performs better than NSGA-II on the SP indicator (except for ERS, Baan, and E-Shop), showcasing how solutions found by MOQA are more balanced than those found by NSGA-II. In terms of execution time, MOQA reduces the time by 30.8% on average compared to NSGA-II (excluding Baan), and by 69.5% compared to ϵ -constraint (excluding E-Shop).
For very small problem sizes, the  ϵ -constraint method finds solutions quickly and identifies the complete set of Pareto-optimal solutions, making it the preferred choice when computational cost is not a concern. However, its runtime grows exponentially with problem size; for instance, it fails to terminate within 72 h on E-Shop. In practical software engineering scenarios where turnaround time is critical, heuristic methods such as NSGA-II and MOQA become necessary alternatives.
Comparing the two heuristics, MOQA consistently identifies more non-dominated solutions in less time and achieves higher solution quality than NSGA-II across most instances.
Neither MOQA nor NSGA-II can guarantee finding all Pareto-optimal solutions, but their search strategies differ fundamentally. MOQA scalarizes the multi-objective problem with randomly sampled weights and solves each scalarization via quantum annealing. Because each weight vector directs the search toward a different region of the objective space, MOQA produces a diverse set of non-dominated solutions. Suboptimal solutions returned by the annealer may still be non-dominated with respect to the original multi-objective formulation, further enriching the solution set.
In contrast, NSGA-II evolves a single population that tends to converge toward a localized region of the Pareto front. MOQA’s use of uniformly distributed weights provides more balanced coverage of the objective space, which explains its generally superior performance on the HV and SP indicators.
For small-scale problems, the ϵ -constraint method remains the gold standard in solution quality. As problem size grows, its exponential runtime makes it impractical, and heuristic methods become essential. Among the heuristics, MOQA finds more non-dominated solutions in less time than NSGA-II while achieving competitive or superior quality on the IGD, HV, and SP indicators.

4.5. Extended Baseline Comparison

To further assess the competitiveness of MOQA, we compared it against three widely used MOEAs—NSGA-II, IBEA [10], and MOEA/D [39]—on synthetic NRP and FSP instances at three scales (small, medium, and large). Each algorithm was independently executed 5 times, and the mean values are reported. For NSGA-II, IBEA, and MOEA/D, the population size was set to 50 with 200 generations. MOQA adopted the same parameter settings as in RQ1. For NRP_large and FSP_large, MOQA was excluded because the problem size exceeded the capacity of the quantum annealer.
The results are presented in Table 3 for NRP instances and Table 4 for FSP instances.
Table 3. Comparison of MOQA, NSGA-II, IBEA, and MOEA/D on synthetic NRP instances. Best values are highlighted in bold. MOQA is not applicable to NRP_large.
Table 4. Comparison of MOQA, NSGA-II, IBEA, and MOEA/D on synthetic FSP instances. Best values are highlighted in bold. MOQA produces no feasible solution on FSP_med (marked “–”) and is not applicable to FSP_large.
Table 3 shows that MOQA obtains the largest number of non-dominated solutions ( ∥ N S ∥ ) and the highest HV on both NRP_small and NRP_med, confirming its advantage in solution diversity and coverage for small- to medium-scale NRP instances. On NRP_small, MOQA discovers 23.4 non-dominated solutions on average, substantially more than NSGA-II (16.2), IBEA (4.6), and MOEA/D (1.8). Although NSGA-II achieves the best IGD on NRP_small, indicating closer proximity to the reference front, MOQA’s HV is more than twice that of NSGA-II (0.0819 vs. 0.0387), reflecting broader coverage of the objective space.
On NRP_large, where MOQA is inapplicable, IBEA yields the most non-dominated solutions (15.0) and the best IGD (0.3254), while NSGA-II leads in HV (0.0573). MOEA/D performs comparably but does not dominate either baseline on any single metric.
Table 4 reveals a different picture for FSPs. On FSP_small, MOQA is the only algorithm that identifies non-dominated solutions (3.0 solutions with a perfect IGD of 0.0), whereas all three MOEAs fail to produce any. However, on FSP_med, MOQA produces zero feasible solutions across all runs. This failure stems from the high constraint density of the medium-scale FSP instance: the penalty terms required to encode constraints into the QUBO objective overwhelm the original optimization landscape, preventing the annealer from reaching feasible regions. By contrast, NSGA-II handles this instance effectively, finding 15.8 non-dominated solutions. On FSP_large, only NSGA-II discovers non-dominated solutions (2.0), while IBEA and MOEA/D fail to produce any.

Statistical Significance

To evaluate whether the observed performance differences were statistically significant, we applied the Wilcoxon signed-rank test (two-sided, α = 0.05 ) to the 5 independent runs for each pair of algorithms. Table 5 reports the p-values for comparisons on datasets where MOQA is applicable.
Table 5. Wilcoxon signed-rank test p-values for MOQA vs. each baseline; *: p < 0.1 . With 5 runs, the minimum achievable p-value is 0.0625.
The results show that MOQA’s HV advantage over NSGA-II and IBEA reaches marginal significance ( p = 0.0625 ) on both NRP_small and NRP_med. Similarly, MOQA’s superiority in ∥ N S ∥ over IBEA and MOEA/D is marginally significant. It should be noted that with only 5 paired observations, the minimum achievable p-value for the Wilcoxon signed-rank test is 0.0625, which inherently limits the ability to establish strong statistical significance. Nonetheless, the consistent direction of the differences across all datasets lends support to the practical significance of MOQA’s advantage.
These extended results corroborate the findings from RQ1: MOQA is effective for small- to medium-scale problems where the QUBO formulation can be directly embedded on quantum hardware. At the same time, its reliance on penalty-based constraint handling renders it vulnerable to constraint-dense problems such as FSP_med, where classical MOEAs prove more robust.

4.6. Answer to RQ2

To answer the question, we implemented large-scale test cases that cannot be solved directly by a quantum computer with limited qubit support. For these cases, the exact method cannot complete within a practical time budget. Therefore, we compared the performance of CQHA with only the NSGA-II algorithm.
For CQHA, we generated weights randomly 10 times, and each weight was sampled 500 times with a 20 μs annealing time. As noted in the Methods section, CQHA’s performance varies with different rate parameters. To facilitate a unified comparison, the  r a t e in CQHA was set to 100%.
As for NSGA-II, the population size was set to 500, and the evaluation was set to 500,000 (1000 generations). We used the solution composition of CQHA and NSGA-II to approximate the Pareto front to calculate metrics such as IGD and HV, providing a fair basis for evaluating the solution quality of both methods. In most NRP cases, it is difficult for NSGA-II to find more than two non-dominated solutions, so the SP indicator was excluded for large-scale NRP cases. The results are displayed in Table 6 for NRP cases and Table 7 for FSP cases.
We note that the reported CQHA times are end-to-end wall-clock times measured on the client side and, therefore, include the full quantum-annealing overhead: QUBO construction, minor embedding, network communication with the D-Wave Leap service, QPU programming, sampling, and readout, in addition to the classical decomposition and steepest-descent steps. As the D-Wave timing data in Section 4.9 show, per-call QPU programming and access overheads are substantial and largely fixed with respect to problem size, so the wall-clock comparison is conservative rather than favorable to CQHA. It should also be noted that QA and NSGA-II run on different hardware (a remote QPU service versus a local CPU), so absolute time comparisons reflect the deployed systems as a whole rather than an idealized like-for-like measurement.
Table 6. Non-dominated solutions found by CQHA (A) and NSGA-II (B) for large-scale NRP cases.
Table 7. Non-dominated solutions found by CQHA (A) and NSGA-II (B) for large-scale FSP systems.
From the tables, it is evident that, in most cases, CQHA outperforms NSGA-II by identifying more non-dominated solutions (NSGA-II struggles to find a solution that is not dominated by CQHA). Especially for SPLOT-1 and SPLOT-2, which are not shown in the tables, NSGA-II takes a very long time with the given parameters, but it fails to discover a feasible solution. In contrast, CQHA takes merely 44.58 s to find 70.0 non-dominated solutions for SPLOT-1 and 48.01 s to find 29.2 non-dominated solutions for SPLOT-2, on average. Compared with NSGA-II, CQHA reduces the running time by 94.1% while yielding over 30 times more non-dominated solutions. CQHA also outperforms NSGA-II in terms of both IGD and HV. The difference in IGD scores between the classic-5 and uClinux datasets is more than 100 times, indicating that CQHA’s solutions are closer to the Pareto front.
In the FSP cases toybox and uClinux, NSGA-II performs better on the SP indicator, resulting in lower SP scores, suggesting that it finds more evenly distributed solutions than CQHA. Decomposing a large-scale problem into multiple sub-problems is lossy and may discard some global information, leading to over-optimization in certain cases and affecting the performance of CQHA on SP metrics. The local search in CQHA also concentrates its solution set in the solution space. By contrast, NSGA-II balances all objectives globally, which lets it perform better on SP than CQHA.
The answer to RQ2 is as follows: In NRP cases, CQHA identifies more non-dominated solutions in less time, and it outperforms NSGA-II on IGD, HV, and SP indicators. For FSP cases, CQHA generates more non-dominated solutions in less time, while NSGA-II achieves a more evenly distributed solution set.

4.7. Answer to RQ3

To answer this question, when the decomposer broke down QUBO into multiple sub-QUBOs, we separately selected the top 30%, 50%, 70%, and 90% of sub-QUBOs based on their MEIs to participate in the QA process, thereby exploring the performance of CQHA under different r a t e parameters. The values of the remaining variables that did not participate in the QA process were solved using ClassicalSolver with initial values. In this experiment, we selected the test cases classic-2, classic-3, toybox, and uClinux, and the results are shown in Table 8.
Table 8. Performance of CQHA with different sub-QUBO participation rates in multi-objective problems. Here, ∥ N S ∥ is computed against the reference front formed by the union of the five r a t e configurations in this experiment, so its values are not directly comparable to the ∥ N S ∥ reported in Table 6, which uses a different reference set.
The percentage in the first column of Table 8 indicates the r a t e of sub-QUBOs participating in the QA process. From Table 8, we can observe that CQHA may find more non-dominated solutions (given as ∥ N S ∥ ) in a shorter time when some sub-QUBOs are discarded. However, the performance of CQHA varies with different rates , and there is no clear pattern, so we set the rate to 100%, as described in the Methods section. In classic-2, using 90% of sub-QUBOs to participate in the QA process gets the largest number of non-dominated solutions and performs best on the HV and SP indicators. However, it also takes the longest time, even exceeding the 100% setting, which suggests that the steepest-descent method requires more time for local search when more sub-QUBOs are retained. The 90% rate performs worst on the IGD indicator, indicating that its solutions, though broadly distributed, lie farther from the reference front. In addition, setting the r a t e to 30% or 70% can find more non-dominated solutions in a shorter time than the complete CQHA. In classic-3 and uClinux, only when the r a t e is set to 90% does the performance lag behind the complete CQHA. In other cases, a faster search for more non-dominated solutions is achieved, supported by the indicators IGD and HV. Nevertheless, the performance is opposite on the SP indicator, with the complete CQHA achieving the best scores. In toybox, when the r a t e is set below 100%, more non-dominated solutions can be found in less time, and both IGD and HV indicators show improvement. However, when the r a t e is set to 50%, 70%, or 90%, its performance on SP is worse than the 100% case.
The outcome aligns with practical experience. In CQHA, we decompose a large-scale QUBO into smaller sub-QUBOs by the variable’s maximal energy impact to enable the quantum computer to solve them. Moreover, this decomposition also destroys the problem’s structure, which will affect the problem-solving. The influence of each sub-QUBO on the result varies. Discarding some sub-QUBOs with minimal impact can speed up CQHA without reducing the quality of the solution. However, discarding some sub-QUBOs will also narrow the algorithm’s focus, which may affect the uniformity of the solution distribution.
The answer to RQ3 is that discarding some sub-QUBOs with a lower energy impact can accelerate CQHA and find more non-dominated solutions, but the distribution of these solutions may be less uniform in the target space.

4.8. Answer to RQ4

To answer RQ4, we conducted experiments using the hybrid solver on test cases uClinux and classic-4, with varying data sizes. They represent NRPs and FSPs separately, as we used in the previous RQs. The goal is to understand how the performance of the hybrid CQHA is affected by increasing data sizes. As expected, the decomposer proves time-consuming for small-scale problems, where further size reduction is unnecessary. The elapsed times for different data sizes are presented in Table 9.
Table 9. Performance of CQHA with increasing data sizes.
For uClinux, the elapsed time decreases as the problem size increases up to 1000, so the method becomes more efficient at larger sizes. The elapsed time then stabilizes around 4.69 s at size 1200, indicating a performance plateau. For classic-4, the elapsed time decreases sharply from size 100 to 500, increases slightly at size 1000, and then stabilizes at size 1200. This suggests that while the hybrid CQHA handles larger problem sizes more efficiently initially, it may encounter challenges that slightly reduce its efficiency at higher sizes, particularly for problems with more constraints and complex variable interactions like classic-4. In conclusion, the performance improves with increasing problem sizes up to a certain point, after which the efficiency stabilizes or slightly decreases.

4.9. Answer to RQ5

To address this question, we need to explore the solving capability of the D-Wave solver, by testing QUBO problems with random initialization of different sizes. Gaining deeper insight into the computational capacity of the D-Wave quantum computer enables more efficient solution strategies when scaling data and algorithms. The results are presented in Table 10.
Table 10. Performance of D-Wave solver on QUBO problems with different numbers of qubits.
The results provide key insights into the computational capacity of the D-Wave solver. It successfully solves problems up to 150 qubits but fails at 200 qubits due to embedding issues, highlighting the increasing challenge of qubit connectivity as problem size grows.
In addition, we analyzed various time metrics to further assess performance:
  • QPU Sampling Time: This metric quantifies the time required by the quantum processing unit (QPU) to perform the QA process for a given QUBO problem. As the problem size increases, the QPU sampling time rises correspondingly. This behavior is expected because larger problems involve more qubits and interactions, requiring more time for the QA process to explore the solution space and find the optimal or near-optimal solutions. For instance, the QPU sampling time for a 50-qubit problem is approximately 12,984.0 μs, while for a 150-qubit problem it doubles to 25,686.0 μs. This trend highlights the direct correlation between problem size and the time required for quantum sampling.
  • QPU Access Time: This metric captures the total time taken for the QPU to become available for a new computation, including overhead from accessing the quantum processor. Similar to the QPU sampling time, the QPU access time increases with the problem size, indicating that larger problems impose greater demands on the quantum hardware. Moreover, a consistent overhead is observed in the QPU access time across different problem sizes. For example, the QPU access time for a 50-qubit problem is 28,744.37 μs, while for a 150-qubit problem it rises to 41,449.17 μs. This suggests that while the access time is partly dependent on the problem size, fixed overheads related to system operation and communication also contribute significantly.
  • QPU Programming Time: This metric measures the time required to program the QPU with a specific problem instance, including embedding the QUBO problem into the hardware’s qubit connectivity graph. Interestingly, the QPU programming time remains relatively constant across different problem sizes, with values around 15,760 μs. This suggests that the programming phase, which includes setting up the problem on the QPU and configuring the necessary parameters, is not significantly affected by the problem size. Once the embedding process is completed, the time required to program the QPU does not scale with the number of qubits involved in the problem.
When the problem size increases to 200 qubits, the solver fails to find a suitable embedding. The limited connectivity between qubits in the D-Wave machine makes it difficult to embed larger problems with dense connectivity. The D-Wave solver is thus effective for QUBO problems up to 150 qubits, and embedding limits prevent successful solving beyond this size. Improvements in problem sparsity and qubit connectivity may help overcome these challenges, allowing for the solving of larger QUBO problems.

4.10. Sampler Ablation: Isolating the Architectural Contribution

A central concern is whether the performance of the hybrid CQHA pipeline stems from quantum annealing itself or from its surrounding architecture (the penalty-based QUBO formulation, MEI-guided decomposition, composition, and classical steepest-descent local search). To disentangle these factors, we conducted a controlled ablation in which the sub-QUBO sampler inside CQHA was replaced by three classical solvers—simulated annealing (SA), tabu search, and steepest descent—while every other component of the pipeline was held fixed. If solution quality is governed by the surrounding architecture rather than by the sampler, the three variants should be statistically indistinguishable.
Because access to physical quantum-annealing hardware is subject to job-queue scheduling and limited access windows, the large number of paired runs required for this ablation could not be executed on the QPU within the revision period; we therefore instantiated the ablation with classical samplers of the same sub-QUBOs. This design nonetheless directly answers the causal question: it measures how much of CQHA’s quality depends on the choice of sub-QUBO solver as opposed to the hybrid scaffold. We report hypervolume (HV, higher is better) over 20 independent runs per configuration on structurally representative NRP and FSP instances, and we assess differences with the two-sided Wilcoxon signed-rank test against the SA variant.
Table 11 shows that the three sub-QUBO samplers produce statistically indistinguishable hypervolume on every instance (all p > 0.05 ), and the mean differences are within one standard deviation. This indicates that, at the problem sizes reachable in this study, CQHA’s solution quality is governed by its hybrid decomposition-and-repair architecture rather than by any sampler-specific property. Two implications follow: First, the framework is sampler-agnostic; it does not depend on a quantum sampler to achieve its reported quality, which strengthens rather than weakens the practical case for the pipeline, since it can immediately benefit from whichever sub-QUBO solver—classical, quantum, or hybrid—performs best on a given deployment. Second, claims of a quantum-specific advantage cannot be supported by the present data; establishing such an advantage would require the same controlled ablation executed on quantum hardware at scales beyond classical reach, which we discuss below as a primary direction for future work.
Table 11. Sampler ablation within the CQHA pipeline. Mean ± standard deviation of hypervolume over 20 independent runs, with the sub-QUBO solver swapped among simulated annealing (SA), tabu search, and steepest descent while all other pipeline components are fixed. The rightmost columns report two-sided Wilcoxon signed-rank p-values against the SA variant; n.s. denotes p > 0.05 .

5. Discussion

Threats to Validity: The datasets used in this study were drawn primarily from early-stage projects and may not fully capture the complexity of contemporary software systems. Evaluating the proposed methods on larger, more recent industrial datasets would strengthen the generalizability of the findings.
Another potential threat concerns the parameter settings of the evolutionary baselines and QA. For NSGA-II, IBEA, and MOEA/D, we adopted the population size, crossover, and mutation settings recommended in prior SBSE studies [7,10], rather than performing per-instance hyper-parameter tuning. It is therefore possible that more carefully tuned evolutionary baselines would narrow or, in some instances, close the gap that we report; our comparison should be read as “QA-based methods versus standard-configuration baselines” rather than versus fully optimized ones. Symmetrically, QA involves numerous parameters (annealing time, number of reads, chain strength, embedding) for which no principled tuning guidelines exist, and the sensitivity analysis presented here does not cover all configurations. We mitigated stochasticity through multiple independent runs, but we do not claim that any algorithm is operating at its best achievable configuration.
  • Isolating the Quantum Contribution: A central threat to the interpretation of our results is that CQHA is a hybrid pipeline: it combines a penalty-based QUBO formulation, MEI-guided decomposition, quantum sampling of sub-QUBOs, and a classical steepest-descent local search. Because these components act together, the observed runtime and solution-quality gains cannot be attributed to quantum annealing in isolation. It is plausible that a large fraction of the benefit stems from the decomposition and local-search structure rather than from the quantum sampler per se.
A rigorous attribution would require an ablation in which the quantum sampler is replaced by a classical solver (such as simulated annealing, tabu search, or steepest descent) applied to the same sub-QUBOs, while holding the decomposition, composition, and local-search steps fixed. If solution quality (measured by hypervolume, IGD, and spacing) proves statistically indistinguishable across samplers, it would indicate that the performance gain derives primarily from the hybrid architectural design rather than from quantum-specific sampling properties. Conversely, if the quantum sampler yields a measurable advantage, it would establish a genuine quantum contribution under the present problem sizes and hardware constraints. We carried out exactly this ablation, with 20 independent runs per configuration; the results are presented in Section 4.10 and summarized below.
Across all tested NRP and FSP instances, the three sub-QUBO samplers yielded statistically indistinguishable hypervolume (all p > 0.05), which indicates that the measured gains stem from the hybrid decomposition-and-repair architecture rather than from any sampler-specific property. The hybrid framework itself therefore represents a methodological contribution: it demonstrates that QUBO-based decomposition paired with local repair can compete with population-based evolutionary algorithms on multi-objective SBSE problems, and it establishes a sampler-agnostic pipeline that can benefit from future improvements in quantum hardware, classical heuristics, or hybrid solvers. The present paper should thus be read as establishing that the QA-based pipeline is competitive, and as identifying the architectural components whose interplay determines solution quality, rather than as claiming that quantum annealing alone is responsible for the observed gains.
  • Scope of the Present Evidence: Two boundaries of this evidence must be stated plainly: First, the sampler ablation was instantiated with classical solvers rather than executed on physical quantum-annealing hardware. Access to the QPU is subject to job-queue scheduling and limited access windows, which constrained the volume of paired, multi-run experiments that we could perform on real hardware within the revision period. The sampler-agnostic result establishes that the framework does not depend on a quantum sampler to reach its reported quality, but it neither confirms nor excludes a genuine quantum advantage at problem scales beyond the current classical reach; closing this gap requires the same controlled ablation run on a QPU with embedding, chain-strength, and readout effects fully included. Second, the ablation and extended reproduction used NRP and FSP instances that reproduce the structural properties of the originally reported benchmarks (objective ranges, precedence graphs, and feature-model constraint types) but are not the identical datasets. Absolute indicator values are therefore not directly comparable to the original tables, and only the relative, within-pipeline comparisons should be read as conclusive. We regard QPU-based validation of the ablation and replication on the original industrial datasets as the two principal directions for future work.
  • Statistical Power: The extended baseline comparison and its Wilcoxon signed-rank analysis were based on five independent runs per configuration. With five paired samples, the smallest attainable two-sided p-value was 0.0625, so no comparison could reach the conventional 0.05 threshold, regardless of effect size. The significance results reported in Table 5 should therefore be interpreted as indicative of a consistent direction of effect, rather than as strong confirmatory evidence. Increasing the number of independent runs to 20–50, as is standard practice for stochastic optimizers, would be needed to establish statistical significance at α = 0.05 ; we note the higher run counts already used for the RQ1 comparison (30 runs) as a partial step in this direction, and full 20–50-run replication of the extended comparison is planned.
  • Constraint Handling Limitations: The extended baseline comparison (Section 4.5) exposes an important limitation of the QUBO-based approach that we consider a first-class finding rather than an incidental observation. Feature models impose dense logical dependencies (mandatory, optional, requires, and mutually exclusive relations), and each such constraint must be encoded as a quadratic penalty added to the objective. As constraint density grows, two coupled problems arise: First, the penalty weights required to make constraint violations energetically unfavorable must be large relative to the objective coefficients; this inflates the dynamic range of the QUBO and, once mapped through minor embedding and finite chain strengths, degrades the effective precision with which the annealer can distinguish competing feasible configurations. Second, the feasible region becomes a small, fragmented subset of the Boolean cube, so the low-energy landscape is dominated by penalty terms and the annealer is repeatedly driven into infeasible basins. The combined effect is that the sampler expends its budget on constraint satisfaction rather than objective optimization.
This mechanism is exactly what we observed on FSP_med, where MOQA returned no feasible solution across all runs, while NSGA-II—which enforces feasibility through its variation and repair operators rather than through penalties—solved the same instance effectively (15.8 non-dominated solutions on average). We emphasize that this is a limitation of the penalty-based QUBO encoding under current hardware precision, not evidence that FSP is intrinsically unsuitable for quantum optimization: MOQA did succeed on the sparser FSP_small instance, where it was the only method to recover non-dominated solutions. The practical implication is that the applicability of the present approach is bounded by constraint density, and reporting this boundary is essential for setting realistic expectations. Promising remedies for future work include constraint-preserving embeddings that keep feasibility off the objective, Lagrangian or adaptive penalty schedules, and hybrid repair operators that project infeasible samples back onto the feasible region before composition.
  • Generality of Quantum Annealing: Current QA hardware imposes strict limits on the number of qubits and their connectivity, which constrains the scale of problems that can be annealed directly. Within the CQHA framework, large-scale problems are decomposed into sub-problems whose size is bounded by the hardware capacity. As the original problem grows, the number of sub-problems increases accordingly, widening the gap between the decomposed formulation and the original objective, and making it harder to obtain high-quality feasible solutions.
As quantum hardware continues to scale in qubit count and connectivity, it may become feasible to anneal larger sub-problems directly, reducing the information loss inherent in decomposition and enabling more flexible weight-selection strategies for multi-objective quantum algorithms. Whether these developments will translate into solution quality that consistently surpasses that of purely classical approaches remains an open empirical question; the results in this paper establish competitiveness under current hardware, not a demonstrated quantum advantage.
  • Implications for Quantum Information Security: The rise of practical quantum computing carries a dual significance for software engineering that extends beyond the optimization gains demonstrated in this work. While we exploited quantum annealing to accelerate the solution of NP-hard release planning and feature selection problems, the same underlying physics that empowers these solvers also reshapes the threat model under which the resulting software systems must operate. Shor’s algorithm renders widely deployed public-key primitives (RSA, ECC, Diffie–Hellman) vulnerable once fault-tolerant gate-model machines mature, and Grover’s algorithm halves the effective security of symmetric ciphers and hash functions. Consequently, the requirements that an optimizer is asked to balance—cost, value, and reliability—are increasingly entangled with a quantum-resilience dimension: a release that ships cryptographically obsolete components may be optimal under classical objectives yet strictly dominated once post-quantum security is treated as a first-class constraint.
This observation suggests a natural extension of our formulation. The penalty-based QUBO mapping can be augmented with terms that penalize the selection of features or releases depending on quantum-vulnerable cryptographic libraries, or that reward the inclusion of NIST-standardized post-quantum schemes (e.g., ML-KEM and ML-DSA). Because such constraints remain quadratic in the binary decision variables, they integrate into the existing Ising/QUBO model without altering the solver pipeline, allowing security-aware release planning to be solved on the same quantum annealing hardware. In this sense, quantum computing acts simultaneously as the engine of our optimization method and as the catalyst that motivates a new class of security objectives for the problems that it solves.
From an information-theoretic standpoint, the migration toward quantum-safe systems is ultimately a question of preserving the entropy of secret keys against an adversary equipped with quantum search. Quantum key distribution (QKD) offers information-theoretic confidentiality grounded in the no-cloning theorem, whereas post-quantum cryptography retains the deployment model of classical software while relying on problems conjectured to resist quantum attack. We argue that search-based software engineering should incorporate these considerations directly into its objective functions, and that the quantum-accelerated solvers studied here provide a practical substrate for doing so. Investigating the trade-off frontier between development cost and quantum resilience, and quantifying it with the same multi-objective indicators (HV, IGD, SP) used throughout this paper, is a promising direction for future work.

6. Conclusions

This study investigated how quantum annealing can be used to solve the next release problem and feature selection problem in search-based software engineering. We proposed MOQA for small-scale instances that can be embedded directly on quantum hardware, and CQHA for large-scale instances that require decomposition and classical-quantum hybrid search. Across the reported experiments, the results show a clear trade-off between exactness and efficiency. For small-scale cases, the  ϵ -constraint method remains the strongest exact baseline when the full Pareto front is computationally affordable. However, as the problem size increases, its runtime grows rapidly. In contrast, MOQA offers competitive solution quality with markedly lower execution time, and on most instances it finds more non-dominated solutions than NSGA-II on the quality indicators considered in this study, subject to the statistical-power caveat discussed above. For large-scale cases, CQHA demonstrates that decomposition guided by maximum energy impact enables quantum annealing to remain useful beyond the direct capacity of current hardware. CQHA produces more non-dominated solutions than NSGA-II in most NRP and FSP cases while reducing runtime substantially. The analysis of the r a t e parameter further indicates that discarding low-impact sub-QUBOs can accelerate the search, although the best configuration is instance-dependent and may affect the uniformity of the obtained solution set. These findings position quantum annealing as a promising but still hardware-limited component for multi-objective SBSE workflows, particularly when fast generation of candidate solutions matters more than exhaustive enumeration of the Pareto front. We do not over-interpret these results. The observed gains arise from the full hybrid pipeline of QUBO formulation, decomposition, quantum sampling, and classical local search, so attributing them to quantum annealing alone would require a controlled ablation that replaces the quantum sampler with a classical one. An extended comparison against IBEA and MOEA/D with Wilcoxon signed-rank tests shows a consistent direction of advantage for MOQA on the instances that it can encode, although the evidence is indicative rather than confirmatory, and the penalty-based QUBO formulation fails outright on constraint-dense FSP instances. Future work will (i) repeat the sampler ablation on quantum hardware at scales beyond classical reach and extend the statistical evaluation of the remaining experiments to 20–50 runs; (ii) broaden the baseline set to include QAOA, VQE, quantum-inspired evolutionary algorithms, and digital annealers; and (iii) explore constraint-preserving embeddings and adaptive penalty schemes that better exploit improvements in quantum hardware and embedding capability.

Author Contributions

Methodology, Y.Z. and S.W.; software, Y.Z.; validation, Y.Z.; formal analysis, S.W.; investigation, Y.Z.; writing—original draft preparation, Y.Z.; conceptualization, Y.Z. and S.W.; supervision, W.Y. and S.W.; project administration, W.Y.; writing—review and editing, S.W. and W.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Quantum Science and Technology—National Science and Technology Major Project (Grant No. 2021ZD0302900).

Data Availability Statement

The benchmark instances and the code supporting the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

During the preparation of this work, the authors used ChatGPT (GPT-5.5, OpenAI) and DeepSeek (DeepSeek-V4-Pro, DeepSeek) in order to improve the language and readability of the manuscript. After using these tools, the authors reviewed and edited the content as needed, and they take full responsibility for the content of the published article.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Detailed Algorithmic Procedures

The overall process of using QA to solve the minimization problem is outlined in Figure A1.
Figure A1. Process of quantum annealing. For small-scale problems, we propose MOQA as the solution method. The significance of this study lies in acknowledging the inherent limitation of present-day quantum computing technology, whereby large-scale problems cannot be feasibly accommodated for quantum computation directly. For large-scale problems, we propose CQHA to apply QA effectively.

Appendix A.1. MOQA

MOQA involves random weights for objective aggregation to model different QUBOs, followed by multiple sampling iterations for each QUBO using QA. After repetitive sampling, the quantum computer generates a set of solutions, from which non-dominated solutions are selected.
The algorithm follows the steps outlined in Algorithm A1.
Note that scale( F i ) in line 4 normalizes objective F i , and randomWeight() in line 7 generates a random weight. In line 8, ModeltoQUBO( F ′ , W , G ) is responsible for converting the original problem into a QUBO model with the currently generated weight W. In line 9, E m b e d t o Q u a n t u m C o m p u t e r ( Q U B O ) maps the QUBO onto the QPU topology, and sample(bqm, r) in line 10 samples the embedded BQM with QA to obtain r solutions. The algorithm obtains the solution set S ′ and incorporates it into the total solution set S. Finally, the algorithm performs the non-dominated sorting procedure n o n D o m i n a t e d S e t S o r t ( F , S ) in line 13 to obtain the non-dominated solution set as the result.
To achieve a more evenly distributed solution, MOQA generates a series of random weights (n times) and finds multiple multi-objective optimal solutions (r times) for each weight. The purpose is not only to identify all optimal solutions within the weight but also to uncover suboptimal solutions that possibly serve as the multi-objective optimal solutions for the original problem. MOQA thus obtains n × r samples, with a time complexity of O ( n r ) for the sampling phase and O ( ( n r ) 2 ) in the non-dominated sorting process. Overall, the time complexity of the algorithm is O ( ( n r ) 2 ) .
Algorithm A1 MOQA for small-scale instances.
  1:
Input: F: objectives, G: constraints, n: the number of weights, r: number of samples
  2:
Output: S: solutions
  3:
for  i ← 1 ; i ≤ M ; i ← i + 1  do
  4:
     F i ′ ← scale( F i )
  5:
end for
  6:
for  k ← 1 ; k ≤ n ; k ← k + 1  do
  7:
     W ← randomWeight()
  8:
     Q U B O ← ModeltoQUBO( F ′ , W , G )
  9:
     b q m ← EmbedtoQuantumComputer( Q U B O )
10:
     S ′ ← sample( b q m , r)
11:
     S ← S ∪ S ′
12:
end for
13:
S ← nonDominatedSetSort(F,S)
14:
return S

Appendix A.2. CQHA

Given current hardware limitations [40,41], quantum computers cannot solve large-scale problems directly [42]. To address this, we introduce CQHA, which decomposes large-scale problems into sub-problems based on the MEI method and employs QA to solve them. Algorithm A2 outlines the general steps of CQHA to solve large-scale problems.
Algorithm A2 CQHA for large-scale instances.
  1:
Input: F: scaled objectives, G: constraints, n: the number of weights, r: number of samples, s: maximum number of variables for sub-QUBO
  2:
Output: S: solutions
  3:
for  k ← 1 to n do
  4:
     W ← RandomWeight()
  5:
     S ′ ← RandomInitialSolution()
  6:
     Q U B O ← ModeltoQUBO( F , W , G )
  7:
     s u b Q U B O s ← Decomposer( Q U B O , r a t e , s )
  8:
    while loop t times or algorithm is not converged do
  9:
        for qubo in s u b Q U B O s  do
10:
            S s u b ← QuantumSolver( q u b o )
11:
            S n e w ← Composer( S ′ , S s u b )
12:
           if  S n e w gets lower energy than S ′  then
13:
                S ′ ← S n e w
14:
           end if
15:
        end for
16:
         S ′ ← ClassicalSolver( S ′ )
17:
    end while
18:
     S ← S ∪ S ′
19:
end for
20:
S ← nonDominatedSetSort( F , S )
21:
return S
In Algorithm A2, R a n d o m W e i g h t ( ) generates weight W randomly (line 4), where R a n d o m I n i t i a l S o l u t i o n ( ) produces a randomly generated initial solution S ′ (line 5). S ′ is a global variable, updated whenever a newly obtained solution dominates it. With a given weight W, scaled objective F, and constraints G, M o d e l t o Q U B O ( F , W , G ) converts the problem into a QUBO model (line 6). In line 7, D e c o m p o s e r ( Q U B O , r a t e , s ) applies the MEI method to decompose the QUBO model into multiple sub-QUBOs. To enhance efficiency, only sub-QUBOs with significant energy impact are selected for the QA process. The parameter r a t e controls the proportion of sub-QUBOs participating in the QA process, with 100% indicating that all sub-QUBOs generated by the decomposer are sent to QuantumSolver. The parameter s indicates the maximum number of variables in each sub-QUBO. The maximum energy impact method is explained in detail with an example in the Decomposer subsection of Appendix A.
Each sub-QUBO obtained by the decomposer will be solved separately using QA, and the obtained solution S s u b is used to replace the initial solution S ′ to obtain a new solution S n e w . In line 10, Q u a n t u m S o l v e r ( q u b o ) uses the QA algorithm to solve each sub-QUBO. C o m p o s e r ( S ′ , S s u b ) then uses the solution of sub-QUBO S s u b to replace the corresponding variables in the initial solution S ′ (line 11), thereby obtaining a new solution S n e w .
If S n e w dominates S ′ , CQHA updates accordingly (lines 12–14). To enhance local search capabilities, C l a s s i c a l S o l v e r ( S ′ ) uses a classical local solver to further search the solution space of S ′ in line 16 (this work selects the steepest-descent algorithm as the local solver). The process iterates until either a predefined number of iterations t is reached or convergence is achieved. The solution S ′ obtained in each iteration will be merged into the solution set S (line 18). Finally, n o n D o m i n a t e d S e t S o r t ( F , S ) selects the non-dominated solution set from S as the result.

Decomposer

Algorithm A3 provides a detailed explanation of D e c o m p o s e r ( Q U B O , r a t e , s ) in line 7 of CQHA. The decomposition process aims to partition a QUBO into multiple sub-QUBOs based on maximum energy impact, ensuring that the resulting sub-problems remain computationally feasible for quantum annealing. The process begins with S e l e c t M a x E n e r g y V a r ( Q ) , which first selects a variable p with the largest coefficient from variables that have not been selected in QUBO Q in line 4, and then incorporates p into sub-QUBO S Q ′ in line 5. We loop lines 7–11 until the variable size of a sub-QUBO reaches the set value s. In line 7, S e l e c t C o n n e c t e d V a r ( p ) identifies all of the variables v along the shared edge (quadratic terms) connected to the selected variable p. In line 8, S e l e c t M a x E n e r g y V a r ( v ) selects the variable p ′ with the largest coefficient from the variable set v. The selected variable p ′ and the quadratic term p p ′ are incorporated into sub-QUBO S Q ′ in line 10. Lines 3 to 14 complete the decomposition of a sub-QUBO S Q ′ . We loop through these steps until all variables in Q are selected, and multiple sub-QUBOs are obtained and stored in S Q . We calculate the number of sub-QUBOs participating in the QA process n u m based on r a t e (line 15), and we select the n u m sub-QUBOs with the highest energy to finally participate in the QA process (line 16).
Algorithm A3 Process of decomposer.
  1:
Input: Q: QUBO, rate: ratio of sub-QUBO participating in QA process, s: the sub-QUBO’s maximum variable size.
  2:
Output:  S Q : sub-QUBOs set S Q ← ⌀
  3:
while Q remaining variables are not selected do
  4:
     p ← S e l e c t M a x E n e r g y V a r ( Q )
  5:
     S Q ′ ← p
  6:
    while Size( S Q ′ ) < s do
  7:
         v ← S e l e c t C o n n e c t e d V a r ( p )
  8:
         p ′ ← S e l e c t M a x E n e r g y V a r ( v )
  9:
// p p ′ represents the quadratic term of multiplying p ′ by p
10:
         S Q ′ ← S Q ′ + p ′ + p p ′
11:
         p ← p ′
12:
    end while
13:
     S Q ← S Q ∪ S Q ′
14:
end while
15:
n u m ← S i z e ( S Q ) ∗ r a t e
16:
S Q ← S e l e c t M a x E n e r g y S Q ( S Q , n u m )
17:
return S
The MEI decomposition is inherently lossy. To retain as much of the original problem structure as possible, we set the initial sub-QUBO size s as large as possible. If the sub-QUBO cannot be embedded into the quantum hardware, the size is progressively reduced in small increments until a valid embedding is achieved.
For illustration of how the decomposer works, consider the QUBO that consists of 12 variables. Our goal is to decompose this Q U B O into two sub-QUBOs, with the maximum variable size for each sub-QUBO being 6. To achieve this, we begin by identifying the variable x i with the largest energy impact. Next, we traverse the unselected variables connected to x i and select five variables with the highest energy values to form s u b Q U B O 1 . It follows that the remaining variables from a separate sub-QUBO, named s u b Q U B O 2 . Finally, we send these two sub-QUBOs to the quantum computer for solving, and then we construct the final solution to the initial problem using the composer.
The decomposition strategy balances problem complexity and hardware constraints, enabling QA to handle larger-scale optimization tasks.

References

  1. Harman, M.; Mansouri, S.A.; Zhang, Y. Search-based software engineering: Trends, techniques and applications. ACM Comput. Surv. (CSUR) 2012, 45, 1–61. [Google Scholar] [CrossRef] [Scilit]
  2. Messac, A.; Puemi-Sukam, C.; Melachrinoudis, E. Aggregate objective functions and Pareto frontiers: Required relationships and practical implications. Optim. Eng. 2000, 1, 171–188. [Google Scholar] [CrossRef] [Scilit]
  3. Zhang, Y.; Harman, M.; Mansouri, S.A. The multi-objective next release problem. In Proceedings of the 9th Annual Conference on Genetic and Evolutionary Computation; Association for Computing Machinery: New York, NY, USA, 2007; pp. 1129–1137. [Google Scholar]
  4. Jiang, H.; Zhang, J.; Xuan, J.; Ren, Z.; Hu, Y. A hybrid ACO algorithm for the next release problem. In Proceedings of the 2nd International Conference on Software Engineering and Data Mining; IEEE: Piscataway, NJ, USA, 2010; pp. 166–171. [Google Scholar]
  5. Hamdy, A.; Mohamed, A. Greedy binary particle swarm optimization for multi-objective constrained next release problem. Int. J. Mach. Learn. Comput 2019, 9, 561–568. [Google Scholar] [CrossRef] [Scilit]
  6. Marghny, M.; Zanaty, E.A.; Dukhan, W.H.; Reyad, O. A hybrid multi-objective optimization algorithm for software requirement problem. Alex. Eng. J. 2022, 61, 6991–7005. [Google Scholar] [CrossRef] [Scilit]
  7. Veerapen, N.; Ochoa, G.; Harman, M.; Burke, E.K. An integer linear programming approach to the single and bi-objective next release problem. Inf. Softw. Technol. 2015, 65, 1–13. [Google Scholar] [CrossRef] [Scilit]
  8. Dong, S.; Xue, Y.; Brinkkemper, S.; Li, Y.F. Multi-objective integer programming approaches to Next Release Problem—Enhancing exact methods for finding whole pareto front. Inf. Softw. Technol. 2022, 147, 106825. [Google Scholar] [CrossRef] [Scilit]
  9. Guo, J.; White, J.; Wang, G.; Li, J.; Wang, Y. A genetic algorithm for optimized feature selection with resource constraints in software product lines. J. Syst. Softw. 2011, 84, 2208–2221. [Google Scholar] [CrossRef] [Scilit]
  10. Sayyad, A.S.; Ingram, J.; Menzies, T.; Ammar, H. Optimum feature selection in software product lines: Let your model and values guide your search. In Proceedings of the 2013 1st International Workshop on Combining Modelling and Search-Based Software Engineering (CMSBSE); IEEE: Piscataway, NJ, USA, 2013; pp. 22–27. [Google Scholar]
  11. Xue, Y.; Zhong, J.; Tan, T.H.; Liu, Y.; Cai, W.; Chen, M.; Sun, J. IBED: Combining IBEA and DE for optimal feature selection in software product line engineering. Appl. Soft Comput. 2016, 49, 1215–1231. [Google Scholar] [CrossRef] [Scilit]
  12. Henard, C.; Papadakis, M.; Harman, M.; Le Traon, Y. Combining multi-objective search and constraint solving for configuring large software product lines. In Proceedings of the 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering; IEEE: Piscataway, NJ, USA, 2015; Volume 1, pp. 517–528. [Google Scholar]
  13. Guo, J.; Liang, J.H.; Shi, K.; Yang, D.; Zhang, J.; Czarnecki, K.; Ganesh, V.; Yu, H. SMTIBEA: A hybrid multi-objective optimization algorithm for configuring large constrained software product lines. Softw. Syst. Model. 2019, 18, 1447–1466. [Google Scholar]
  14. Xue, Y.; Li, Y.F. Multi-Objective Integer Programming Approaches for Solving Optimal Feature Selection Problem: A New Perspective on Multi-Objective Optimization Problems in SBSE. In Proceedings of the ICSE ’18: 40th International Conference on Software Engineering; Association for Computing Machinery: New York, NY, USA, 2018; pp. 1231–1242. [Google Scholar] [CrossRef] [Scilit]
  15. Abdollahzadeh, B.; Gharehchopogh, F.S. A multi-objective optimization algorithm for feature selection problems. Eng. Comput. 2022, 38, 1845–1863. [Google Scholar]
  16. Wang, Z.; Rangaiah, G.P. Application and analysis of methods for selecting an optimal solution from the Pareto-optimal front obtained by multiobjective optimization. Ind. Eng. Chem. Res. 2017, 56, 560–574. [Google Scholar] [CrossRef] [Scilit]
  17. Farhi, E.; Goldstone, J.; Gutmann, S. A quantum approximate optimization algorithm. arXiv 2014, arXiv:1411.4028. [Google Scholar]
  18. Peruzzo, A.; McClean, J.; Shadbolt, P.; Yung, M.H.; Zhou, X.Q.; Love, P.J.; Aspuru-Guzik, A.; O’Brien, J.L. A variational eigenvalue solver on a photonic quantum processor. Nat. Commun. 2014, 5, 4213. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  19. Han, K.H.; Kim, J.H. Quantum-inspired evolutionary algorithm for a class of combinatorial optimization. IEEE Trans. Evol. Comput. 2002, 6, 580–593. [Google Scholar] [CrossRef] [Scilit]
  20. Aramon, M.; Rosenberg, G.; Valiante, E.; Miyazawa, T.; Tamura, H.; Katzgraber, H.G. Physics-inspired optimization for quadratic unconstrained problems using a digital annealer. Front. Phys. 2019, 7, 48. [Google Scholar] [CrossRef] [Scilit]
  21. Benioff, P. The computer as a physical system: A microscopic quantum mechanical Hamiltonian model of computers as represented by Turing machines. J. Stat. Phys. 1980, 22, 563–591. [Google Scholar] [CrossRef] [Scilit]
  22. Grover, L.K. A fast quantum mechanical algorithm for database search. In Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing; Association for Computing Machinery: New York, NY, USA, 1996; pp. 212–219. [Google Scholar]
  23. Vodeb, J.; Desaules, J.Y.; Hallam, A.; Rava, A.; Humar, G.; Willsch, D.; Jin, F.; Willsch, M.; Michielsen, K.; Papić, Z. Stirring the false vacuum via interacting quantized bubbles on a 5,564-qubit quantum annealer. Nat. Phys. 2025, 21, 386–392. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  24. Das, A.; Chakrabarti, B.K. Colloquium: Quantum annealing and analog quantum computation. Rev. Mod. Phys. 2008, 80, 1061. [Google Scholar] [CrossRef] [Scilit]
  25. D-Wave Systems Inc. Energy-Impact Decomposing. Available online: https://docs.dwavequantum.com/en/latest/quantum_research/decomposing.html (accessed on 13 July 2026).
  26. Özlen, M.; Azizoğlu, M. Multi-objective integer programming: A general approach for generating all non-dominated solutions. Eur. J. Oper. Res. 2009, 199, 25–35. [Google Scholar] [CrossRef] [Scilit]
  27. Deng, W.; Zhang, X.; Zhou, Y.; Liu, Y.; Zhou, X.; Chen, H.; Zhao, H. An enhanced fast non-dominated solution sorting genetic algorithm for multi-objective problems. Inf. Sci. 2022, 585, 441–453. [Google Scholar] [CrossRef] [Scilit]
  28. Rahimi, I.; Gandomi, A.H.; Nikoo, M.R.; Chen, F. A comparative study on evolutionary multi-objective algorithms for next release problem. Appl. Soft. Comput. 2023, 144, 110472. [Google Scholar]
  29. Karim, M.R.; Ruhe, G. Bi-objective genetic search for release planning in support of themes. In Proceedings of the Search-Based Software Engineering: 6th International Symposium, SSBSE 2014, Fortaleza, Brazil, 26–29 August 2014; Proceedings 6; Springer: Cham, Switzerland, 2014; pp. 123–137. [Google Scholar]
  30. Pitangueira, A.M.; Tonella, P.; Susi, A.; Maciel, R.S.P.; Barros, M. Minimizing the stakeholder dissatisfaction risk in requirement selection for next release planning. Inf. Softw. Technol. 2017, 87, 104–118. [Google Scholar] [CrossRef] [Scilit]
  31. Zhang, Y.; Harman, M.; Ochoa, G.; Ruhe, G.; Brinkkemper, S. An empirical study of meta-and hyper-heuristic search for multi-objective release planning. ACM Trans. Softw. Eng. Methodol. (TOSEM) 2018, 27, 1–32. [Google Scholar] [CrossRef] [Scilit]
  32. Xuan, J.; Jiang, H.; Ren, Z.; Luo, Z. Solving the large scale next release problem with a backbone-based multilevel algorithm. IEEE Trans. Softw. Eng. 2012, 38, 1195–1212. [Google Scholar] [CrossRef] [Scilit]
  33. Mendonca, M.; Branco, M.; Cowan, D. SPLOT: Software product lines online tools. In Proceedings of the 24th ACM SIGPLAN Conference Companion on Object Oriented Programming Systems Languages and Applications; Association for Computing Machinery: New York, NY, USA, 2009; pp. 761–762. [Google Scholar]
  34. Berger, T.; She, S.; Lotufo, R.; Wasowski, A.; Czarnecki, K. Variability Modeling in the Systems Software Domain; GSDLAB Technical Report; Generative Software Development Laboratory, University of Waterloo: Waterloo, ON, Canada, 2012. [Google Scholar]
  35. Sayyad, A.S.; Menzies, T.; Ammar, H. On the value of user preferences in search-based software engineering: A case study in software product lines. In Proceedings of the 2013 35th International Conference on Software Engineering (ICSE); IEEE: Piscataway, NJ, USA, 2013; pp. 492–501. [Google Scholar]
  36. Tan, T.H.; Xue, Y.; Chen, M.; Sun, J.; Liu, Y.; Dong, J.S. Optimizing selection of competing features via feedback-directed evolutionary algorithms. In Proceedings of the 2015 International Symposium on Software Testing and Analysis; Association for Computing Machinery: New York, NY, USA, 2015; pp. 246–256. [Google Scholar]
  37. IBM ILOG CPLEX. IBM ILOG CPLEX V12.1: User’s Manual for CPLEX; IBM Corporation: Armonk, NY, USA, 2009. [Google Scholar]
  38. Audet, C.; Bigeon, J.; Cartier, D.; Le Digabel, S.; Salomon, L. Performance indicators in multiobjective optimization. Eur. J. Oper. Res. 2021, 292, 397–422. [Google Scholar] [CrossRef] [Scilit]
  39. Zhang, Q.; Li, H. MOEA/D: A multiobjective evolutionary algorithm based on decomposition. IEEE Trans. Evol. Comput. 2007, 11, 712–731. [Google Scholar] [CrossRef] [Scilit]
  40. Tran, T.; Do, M.; Rieffel, E.; Frank, J.; Wang, Z.; O’Gorman, B.; Venturelli, D.; Beck, J. A hybrid quantum-classical approach to solving scheduling problems. In Proceedings of the International Symposium on Combinatorial Search; AAAI Press: Washington, DC, USA, 2016; Volume 7, pp. 98–106. [Google Scholar]
  41. Abbas, A.; Ambainis, A.; Augustino, B.; Bärtschi, A.; Buhrman, H.; Coffrin, C.; Cortiana, G.; Dunjko, V.; Egger, D.J.; Elmegreen, B.G.; et al. Challenges and opportunities in quantum optimization. Nat. Rev. Phys. 2024, 6, 718–735. [Google Scholar] [CrossRef] [Scilit]
  42. McGeoch, C.; Farré, P. D-Wave Hybrid Solver Service: An Overview; D-Wave System: Burnaby, BC, Canada, 2020. [Google Scholar]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.