Constrained Adiabatic Quantum Programming
Abstract
To find a -clique in a graph, adiabatic quantum computation (AQC) evolves a quantum system from the minimum of an initial cost function to the minimum of a problem cost function that penalizes non-cliques. Existing AQC languages fix the initial cost function, so the search ranges over all subsets of the vertices, although only the subsets of size can be answers. We present ENQ+, an AQC language in which the programmer writes both cost functions. Data constraints define the problem cost function. Relational constraints, a new construct, declare the moves the search may make between configurations and define the initial cost function. For the clique, a single relational constraint, which exchanges a chosen vertex with an unchosen one, confines the search to the subsets of size . ENQ+ thereby turns constrained quantum annealing, which physicists set up by hand for individual problems, into a programming construct. We give ENQ+ a semantics in many-world configuration (MWC) graphs, whose nodes are configurations and whose edges are moves, and derive from it a step-wise semantics of adiabatic evolution. We prove that a run stays within the component of the MWC graph that contains its initial state, and that a run from an approximate initial state still reaches the answer, with probability equal to its squared overlap with the exact one. We compile ENQ+ to quantum circuits, prove the compilation correct with respect to the semantics, and use ENQ+ to program the Three-Dimensional Matching, Hamiltonian Cycle, and Traveling Salesperson problems.
Create a lesson
Related papers
Quantum resources constrain function approximation
Shared title terminologyquant-phOxana Shaya, Lirandë Pira
Circuit compilation in the quspect quantum SDK: selecting routings after coupling-constrained resynthesis
Shared title terminologyquant-phXusheng Xu, Runqing Zhang, Hongtao Xue et al.
Quantum adiabatic and diabatic optimization: A Hilbert space engineering strategy with Rydberg arrays
Shared title terminologyquant-phRui Lin
Noise-Aware Testing of NISQ Quantum Programs: Self-Baseline Oracle with a Controlled False-Positive Rate
Shared title terminologyquant-phMir Mohammad Yousuf, Shabir Ahmad Sofi
Programming Quantum Circuit Parameters with Large Language Models
Shared title terminologyquant-phTiago de Souza Farias, Caio Moraes Porto, Matheus da Silva Fonseca et al.
Exact approach to double- and triple-excitation bound state in open quantum systems
Shared title terminologyquant-phX. S. Sun, H. T. Cui, Y. A. Yan et al.