Background on Quantum Random Access Optimization: Quantum relaxations, quantum random access codes, rounding schemes#
This material provides a deeper look into the concepts behind Quantum Random Access Optimization.
Relaxations#
Consider a binary optimization problem defined on binary variables
Within mathematical optimization, relaxation is the strategy of taking some hard problem and mapping it onto a similar version of that problem which is (usually) easier to solve. The core idea here is that for useful relaxations, the solution to the relaxed problem can give information about the original problem and allow one to heuristically find better solutions. An example of relaxation could be something as simple as taking a discrete optimization problem and allowing a solver to optimize the problem using continuous variables. Once a solution is obtained for the relaxed problem, the solver must find a strategy for extracting a discrete solution from the relaxed solution of continuous values. This process of mapping the relaxed solution back onto original problem’s set of admissible solutions is often referred to as rounding.
For a concrete example of relaxation and rounding, see the Goemans-Williamson Algorithm for MaxCut.
Without loss of generality, the rest of this document will consider a
MaxCut objective
function defined on a graph
Quantum Relaxation#
Our goal is to define a relaxation of our MaxCut objective function. We
will do this by mapping our objective function’s binary variables into
the space of single qubit Pauli observables and by embedding the set of
feasible inputs to cut(
where
For this to be a valid relaxation of our problem, it must be the case that:
In order to guarantee this is true, we will enforce the stronger
condition that our relaxation commutes with our objective function.
In other words, cut(
A Simple Quantum Relaxation#
Before explicating the full quantum relaxation scheme based on single-qubit Quantum Random Access Codes (QRACs), it may be helpful to first discuss a version of quantum optimization which users may be more familiar with, but discussed in the language of quantum relaxation and rounding.
Consider the embedding
where
This sort of embedding is currently used by many near-term quantum
optimization algorithms, including many QAOA and VQE based
approaches.
Observe how although the relaxed version of our problem can exactly
reproduce the objective function cut(
Crucially, a relaxation is only useful if there is some practical way to
round relaxed solutions back onto the original problem’s set of
admissible solutions. For this particular quantum relaxation, the
rounding scheme is simply given by measuring each qubit of our relaxed
solution in the
Quantum Relaxations via Quantum Random Access Codes (QRACs)#
Quantum Random Access Codes were first outlined in 1983 by Stephen Wiesner [2] and were used in the context of communication complexity theory. We will not be using QRACs in the way they were originally conceived, instead we are co-opting them to define our quantum relaxations. For this reason will not provide a full introduction to RACs or QRACs, but encourage interested readers to seek out more information about them.
, , and Quantum Random Access Codes#
A
As we generalize the simple example above, it will be helpful to write out single qubit states decomposed in the Hermitian basis of Pauli observables.
The embeddings
Note that for when using a
Similarly, when
Recovering Encoded Bits#
Given a QRAC state, we can recover the values of the encoded bits by estimating the expectation value of each bit’s corresponding observable. Note that there is a re-scaling factor which depends on the density of the QRAC.
Encoded Problem Hamiltonians#
Using the tools we have outlined above, we can explicitly write out the
Hamiltonians which encode the relaxed versions of our MaxCut problem. We
do this by substituting each decision variable with the unique
observable that has been assigned to that variable under the embedding
Note that here,
Commutation of Quantum Relaxation#
Note that for the
Observe that under the
If however,
Practically, this means that our commutation relationship will break and
In order to restore the commutation of our encoding with our objective
function, we must introduce an additional constraint on the form of our
problem Hamiltonian. Specifically, we must guarantee that decision
variables which share an edge in our input graph
In [1] this is accomplished by finding a coloring of the graph G such that no vertices with the same color share an edge, and then assigning variables to the same qubit only if they have the same color.
Quantum Rounding Schemes#
Because the final solution we obtain for the relaxed problem
In [1] there are two strategies proposed for rounding
Semi-deterministic Rounding#
A natural choice for extracting a solution is to use the results of
Table
We handle this by returning the sign of the expectation value, leading to the following rounding scheme.
Where
Notice that semi-deterministic rounding will faithfully recover
Magic State Rounding#
Fig. 1 Three different encodings, the states and the measurement bases, of variables into a single qubit. (a) One variable per qubit. (b) Two variables per qubit. (c) Three variables per qubit. Taken from [1].#
Rather than seeking to independently distinguish each
Let
First, notice that for the
For the
Let
References#
[1] Bryce Fuller et al., “Approximate solutions of combinatorial problems via quantum relaxations,” (2021), arXiv:2111.03167,
[2] Stephen Wiesner, “Conjugate coding,” SIGACT News, vol. 15, issue 1, pp. 78-88, 1983. link
[3] Masahito Hayashi et al., “(4,1)-Quantum random access coding does not exist—one qubit is not enough to recover one of four bits,” New Journal of Physics, vol. 8, number 8, pp. 129, 2006. link