QHDOPT: A Software for Nonlinear Optimization with Quantum Hamiltonian Descent
Samuel Kushnir, Jiaqi Leng, Yuxiang Peng, Lei Fan, Xiaodi Wu
TL;DR
QHDOPT introduces an open-source framework that enables nonlinear, box-constrained optimization on near-term quantum devices via the Quantum Hamiltonian Descent (QHD) algorithm. It leverages Hamiltonian-oriented programming (HOP) and the SimuQ stack to provide hardware-agnostic problem embedding, automatic differentiation, and a hybrid quantum-classical workflow that includes decoding and classical refinement. The paper demonstrates two concrete examples (QP and nonlinear exponential problems), benchmarks against classical solvers, and shows that quantum-assisted initialization combined with fast classical refiners can outperform purely classical approaches within current hardware limits. The work highlights the current frontier of quantum optimization software, addresses a gap in continuous optimization tooling, and outlines practical paths for expanding device support, problem classes, and global-optimality guarantees in future work.
Abstract
We develop an open-source, end-to-end software (named QHDOPT), which can solve nonlinear optimization problems using the quantum Hamiltonian descent (QHD) algorithm. QHDOPT offers an accessible interface and automatically maps tasks to various supported quantum backends (i.e., quantum hardware machines). These features enable users, even those without prior knowledge or experience in quantum computing, to utilize the power of existing quantum devices for nonlinear and nonconvex optimization tasks. In its intermediate compilation layer, QHDOPT employs SimuQ, an efficient interface for Hamiltonian-oriented programming, to facilitate multiple algorithmic specifications and ensure compatible cross-hardware deployment. The detailed documentation of QHDOPT is available at https://github.com/jiaqileng/QHDOPT.
