Constrained quantum optimization for extractive summarization on a trapped-ion quantum computer

Pradeep Niroula, Ruslan Shaydulin, Romina Yalovetzky, Pierre Minssen, Dylan Herman, Shaohan Hu, Marco Pistoia

This study, a collaboration between JPMorgan Chase and academic partners, marks a significant milestone in the Noisy Intermediate-Scale Quantum (NISQ) era. Moving beyond theoretical "toy" problems, the researchers successfully applied a 20-qubit trapped-ion quantum computer to a practical task: extractive text summarization. This work represents the largest-to-date execution of a constraint-preserving quantum optimization algorithm on gate-based hardware.

The Challenge of Constrained Optimization

Most research into the Quantum Approximate Optimization Algorithm (QAOA) focuses on unconstrained problems like MaxCut. However, real-world industrial applications—ranging from logistics to finance—are almost always defined by constraints.

In this study, the authors tackle Extractive Summarization (ES). The objective is to select a subset of $M$ sentences from a document of $N$ sentences that maximizes centrality (meaning) while minimizing redundancy. Mathematically, this is an NP-hard combinatorial optimization problem. For quantum computers, the difficulty lies in the search space; standard algorithms often produce "illegal" solutions (e.g., selecting more or fewer than the required $M$ sentences). While penalty terms can be added to the objective function to discourage invalid states, this often complicates the optimization landscape, making it harder for the quantum processor to find high-quality solutions.

Experimental Methodology

The researchers compared three distinct quantum approaches on the Quantinuum H1-1 trapped-ion processor:

  1. XY-QAOA: The primary focus of the study. It utilizes a specialized "mixer" operator that natively preserves the Hamming weight (the number of 1s in a bitstring), physically restricting the quantum state to valid solutions only.
  2. L-VQE (Layer Variational Quantum Eigensolver): A hardware-efficient, highly expressive algorithm that uses shallow circuits and relies on classical optimization to navigate the parameter space.
  3. Standard QAOA: The baseline approach, which uses mathematical penalty terms to enforce constraints.

To implement XY-QAOA, the team employed a "divide-and-conquer" strategy to prepare Dicke states—complex quantum superpositions of all possible valid sentence combinations. The experiments were conducted on 14-qubit ($N=14, M=8$) and 20-qubit ($N=20, M=14$) instances derived from the CNN/DailyMail dataset.

Key Insights: The Pareto Frontier of Constraints

A fundamental discovery of this research is the trade-off inherent in standard, penalty-based QAOA. The authors identified a "Pareto frontier" where the algorithm must choose between a high-quality solution that is likely invalid (out-of-constraint) or a low-quality solution that obeys the rules. This trade-off makes parameter tuning for unconstrained algorithms exceptionally difficult for real-world industrial problems.

Figure 4: Trade-offs between approximation ratio and in-constraint probability for standard QAOA, illustrating the Pareto frontier across different qubit scales.

Furthermore, the study highlights the importance of hardware architecture. While XY-QAOA ensures constraint satisfaction, it requires significantly deeper circuits—executing up to 765 total gates. The high-fidelity and all-to-all connectivity of the trapped-ion system were essential; on superconducting architectures with limited connectivity, these circuits would likely have been too deep to yield meaningful results.

Key Results and Performance

The study successfully demonstrated that constraint-preserving algorithms can maintain high performance even at the 20-qubit scale. XY-QAOA and L-VQE both significantly outperformed random guessing and standard QAOA in terms of reliability.

Figure 1: Performance comparison of QAOA, XY-QAOA, and L-VQE on 14 and 20 qubits, showing approximation ratios and the probability of returning a valid (in-constraint) solution.

On the physical H1-1 device, the team achieved approximation ratios of up to 92.1% and an in-constraint probability of 91.4%. As shown in the benchmarking data, while standard QAOA can occasionally find high approximation ratios, its probability of returning a valid result is drastically lower than the specialized XY-QAOA and L-VQE approaches.

Limitations and Future Outlook

Despite the mathematical success, the researchers noted a "summarization gap": the resulting summaries did not significantly outperform random selection when measured by standard NLP metrics like ROUGE scores. This suggests that the current mathematical formulation of extractive summarization may need refinement to better capture human-perceived quality.

Additionally, scalability remains a challenge. As systems move toward 50 or 100 qubits, the noise accumulated during deep circuit execution will become a major hurdle. However, this work provides a vital blueprint for handling the complex, constrained problems of the real world on quantum hardware, moving the field closer to practical quantum advantage.

Summary updated

BibTeX
@misc{niroula2022constrained,
  author = {Pradeep Niroula and Ruslan Shaydulin and Romina Yalovetzky and Pierre Minssen and Dylan Herman and Shaohan Hu and Marco Pistoia},
  title = {{Constrained quantum optimization for extractive summarization on a trapped-ion quantum computer}},
  year = {2022},
  eprint = {2206.06290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.06290},
}
Figure