[Paper Review] Quantum constraint learning for quantum approximate optimization algorithm
This paper proposes Quantum Constraint Learning (QCL) for the Quantum Approximate Optimization Algorithm (QAOA), using quantum machine learning to train a mixer Hamiltonian that enforces hard constraints in combinatorial optimization. The method learns a unitary evolution that restricts state evolution to the feasible subspace, enabling flexible circuit depth vs. constraint accuracy trade-offs in NISQ devices, with a novel Wasserstein-based performance metric showing improved constraint enforcement over random or unconstrained solutions.
The quantum approximate optimization algorithm (QAOA) is a hybrid quantum-classical variational algorithm that offers the potential to handle combinatorial optimization problems. Introducing constraints in such combinatorial optimization problems poses a significant challenge in the extensions of QAOA to support relevant larger-scale problems. This paper introduces a quantum machine learning approach to learn the mixer Hamiltonian required to hard constrain the search subspace. We show that this method can be used for encoding any general form of constraints. One can directly plug the learnt unitary into the QAOA framework using an adaptable ansatz. This procedure gives the flexibility to control the depth of the circuit at the cost of the accuracy of enforcing the constraint, thus having immediate application in the Noisy Intermediate Scale Quantum (NISQ) era. We also develop an intuitive metric that uses Wasserstein distance to assess the performance of general approximate optimization algorithms with/without constraints. Finally, using this metric, we evaluate the performance of the proposed algorithm.
Motivation & Objective
- To address the challenge of enforcing general hard constraints in QAOA, which is difficult with existing mixer Hamiltonian designs.
- To develop a flexible, trainable mixer Hamiltonian using quantum machine learning that preserves the constrained subspace during evolution.
- To enable a tunable trade-off between circuit depth and constraint accuracy in Noisy Intermediate-Scale Quantum (NISQ) devices.
- To introduce a new performance metric based on 1-Wasserstein distance to quantitatively evaluate constraint enforcement in approximate optimization algorithms.
- To demonstrate that the learned mixer outperforms random and unconstrained solutions in maintaining solution fidelity within the feasible subspace.
Proposed method
- Train a quantum circuit to learn the time-evolution unitary of a constraint Hamiltonian $ H_{qcl} $, such that $ e^{-iH_{qcl}t} \ket{\psi_i} \in \mathcal{H}_c $ for all $ \ket{\psi_i} \in \mathcal{H}_c $.
- Use a variational quantum circuit with a cost function based on the fidelity of state evolution within the constrained subspace $ \mathcal{H}_c $.
- Plug the trained $ H_{qcl} $ into the QAOA framework as the mixer Hamiltonian, replacing standard mixers like the X-mixer.
- Define a mapped basis $ \ket{\tilde{i}} $ that orders states first by constraint satisfaction and then by QUBO cost to enable a bounded metric for performance evaluation.
- Construct a 1-Wasserstein distance metric $ \zeta(\ket{\psi^*}) = 1 - W_1(\ket{\tilde{0}}, \ket{\psi^*}) $, where $ \ket{\tilde{0}} $ represents the ideal solution and $ \ket{\psi^*} $ is the output state.
- Use the metric to compare QCL-QAOA against random and unconstrained QAOA, with $ \zeta = 1 $ indicating perfect solution concentration and $ \zeta = 0.5 $ indicating random performance.
Experimental results
Research questions
- RQ1Can a quantum machine learning approach effectively learn a mixer Hamiltonian that enforces arbitrary hard constraints in QAOA?
- RQ2How does the trade-off between circuit depth and constraint accuracy manifest when using a learned mixer in QAOA?
- RQ3Can a Wasserstein-based metric provide a bounded, intuitive, and quantitative measure of constraint enforcement performance in approximate optimization?
- RQ4Does QCL-QAOA outperform random and unconstrained QAOA in maintaining solution fidelity within the feasible subspace?
- RQ5How does the performance of QCL-QAOA change with increasing QAOA depth $ p $, and does it exhibit an optimal $ p_0 $ before leakage into the unconstrained space occurs?
Key findings
- The QCL-QAOA method successfully learns a mixer Hamiltonian that restricts state evolution to the constrained subspace $ \mathcal{H}_c $, satisfying the theoretical conditions for hard constraint enforcement.
- The performance metric $ \zeta $ is bounded between 0 and 1, with $ \zeta = 1 $ indicating a perfect $ \delta $-function solution and $ \zeta = 0.5 $ indicating random performance, enabling quantitative comparison.
- For a 3-qubit example, the QCL-QAOA achieves a performance metric $ \zeta \approx 0.9 $ for the optimal solution, significantly outperforming random initialization ($ \zeta = 0.5 $).
- The method exhibits an optimal $ p_0 $ depth where constraint enforcement peaks; beyond this, leakage into the unconstrained space causes performance to degrade toward the global optimum, resembling standard QAOA.
- The learned mixer enables a tunable trade-off: deeper circuits improve constraint accuracy but increase error due to noise and leakage, making it suitable for NISQ-era applications.
- The approach generalizes to any constraint type, as the learning procedure is independent of the specific constraint structure, enabling direct plug-in into the QAOA framework with an adaptable ansatz.
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.