[Paper Review] Knapsack Problem variants of QAOA for battery revenue optimisation
This paper proposes two Quantum Approximate Optimization Algorithm (QAOA) variants for battery revenue optimization, modeled as a constrained Knapsack Problem. The first uses a quadratic penalty in an Ising formulation but fails to converge at shallow depths; the second employs a non-Ising, linear penalty approach with O(n log n) qubits and O(p(log₂ n)³) runtime, achieving approximations within 95% of the optimal solution at p ≤ 10, demonstrating feasibility for non-Ising problems with shallow circuits.
We implement two Quantum Approximate Optimisation Algorithm (QAOA) variants for a battery revenue optimisation problem, equivalent to the weakly NP-hard Knapsack Problem. Both approaches investigate how to tackle constrained problems with QAOA. A first 'constrained' approach introduces a quadratic penalty to enforce the constraint to be respected strictly and reformulates the problem into an Ising Problem. However, simulations on IBM's simulator highlight non-convergent results for intermediate depth ($ p\leq 50$). A second 'relaxed' approach applies the QAOA with a non-Ising target function to compute a linear penalty, running in time $O(p(\log_2 n)^3)$ and needing $O(n \log n)$ qubits. Simulations reveal an exponential improvement over the number of depth levels and obtain approximations about $0.95$ of the optimum with shallow depth ($p \leq 10$).
Motivation & Objective
- To address battery revenue optimization as a constrained Knapsack Problem, a weakly NP-hard combinatorial optimization problem.
- To investigate the applicability of QAOA to non-Ising objective functions, extending beyond current Ising-only implementations.
- To evaluate constrained optimization strategies in QAOA, particularly penalty-based methods for handling constraints.
- To explore the trade-offs between circuit depth, qubit count, and solution quality in near-term quantum algorithms.
- To demonstrate that QAOA can effectively handle linear constraints and non-Ising objectives with shallow-depth circuits.
Proposed method
- Proposes a 'constrained' QAOA variant using a quadratic penalty to enforce capacity constraints, reformulating the problem into an Ising Hamiltonian.
- Develops a 'relaxed' QAOA approach with a non-Ising objective function and a linear penalty term to avoid over-constraining the solution space.
- Employs a multi-subroutine architecture: cost calculation, constraint testing, penalty dephasing, and reinitialization, each implemented using controlled quantum adders and ancilla qubits.
- Uses O(n log n) qubits and achieves O(p(log₂ n)³) circuit depth complexity, scaling efficiently with problem size.
- Introduces a penalty Hamiltonian that applies phase shifts only when constraints are violated, enabling continuous optimization over feasible solutions.
- Employs a variational quantum circuit with p layers, optimizing angles β and γ via classical optimization to maximize expected revenue.
Experimental results
Research questions
- RQ1Can QAOA be successfully applied to non-Ising objective functions, such as revenue maximization with linear constraints?
- RQ2Does a linear penalty approach outperform a quadratic penalty in QAOA for constrained Knapsack Problems at shallow circuit depths?
- RQ3What is the trade-off between qubit count and circuit depth in QAOA implementations for practical optimization problems?
- RQ4How effective is the relaxed QAOA approach in approximating the optimal solution for battery revenue optimization with p ≤ 10?
- RQ5Can QAOA handle complex, real-world constraints like battery capacity and degradation without resorting to Ising-formulated penalties?
Key findings
- The constrained QAOA approach with quadratic penalty failed to converge in simulations on IBM’s simulator for circuit depths p ≤ 50, indicating instability with shallow circuits.
- The relaxed QAOA approach achieved solution approximations within 95% of the optimal value using only p ≤ 10 circuit layers, demonstrating strong performance at shallow depth.
- The relaxed approach required O(n log n) qubits and had an overall circuit depth complexity of O(p(log₂ n)³), enabling efficient scaling.
- Simulations showed that the relaxed QAOA with penalty consistently outperformed the unconstrained version, especially for larger problem sizes.
- The results suggest that non-Ising objective functions with linear penalties are viable and effective for QAOA, expanding its applicability beyond Ising formulations.
- The study provides empirical evidence that QAOA can handle linear constraints and complex objectives in near-term quantum devices, despite hardware limitations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.