Abstract:The D-Wave adiabatic quantum annealer solves hard combinatorial optimization problems leveraging quantum physics. The newest version features over 1000 qubits and was released in August 2015. We were given access to such a machine, currently hosted at NASA Ames Research Center in California, to explore the potential for hard optimization problems that arise in the context of databases.
In this paper, we tackle the problem of multiple query optimization (MQO). We show how an MQO problem instance can be transformed into a mathematical formula that complies with the restrictive input format accepted by the quantum annealer. This formula is translated into weights on and between qubits such that the configuration minimizing the input formula can be found via a process called adiabatic quantum annealing. We analyze the asymptotic growth rate of the number of required qubits in the MQO problem dimensions as the number of qubits is currently the main factor restricting applicability. We experimentally compare the performance of the quantum annealer against other MQO algorithms executed on a traditional computer. While the problem sizes that can be treated are currently limited, we already find a class of problem instances where the quantum annealer is three orders of magnitude faster than other approaches.
What problem does this paper attempt to address?
The problem that this paper attempts to solve is the Multiple Query Optimization (MQO) problem. Specifically, the author explores how to use the D - Wave 2X adiabatic quantum annealer to solve the multiple - query - optimization problems that occur in databases. Traditional multiple - query - optimization methods face the challenges of low efficiency and high consumption of computing resources when dealing with large - scale data, while quantum - computing technologies, especially quantum - annealing technologies, are regarded as a possible solution due to their parallel - processing capabilities and potential acceleration effects.
### Main contributions of the paper
1. **Mapping algorithm**: The author proposes a method to transform multiple - query - optimization - problem instances into a form suitable for solving on a quantum annealer. This method includes two steps: logical mapping and physical mapping:
- **Logical mapping**: Transform the multiple - query - optimization problem into an energy formula (i.e., the QUBO problem), where each query plan corresponds to a binary variable, and the goal is to minimize the total execution cost.
- **Physical mapping**: Further transform the logical - energy formula into a physical - energy formula for execution on the D - Wave 2X quantum annealer. This step needs to consider the connection structure between qubits to ensure that each logical variable can be represented by a set of physical qubits.
2. **Complexity analysis**: The author analyzes the complexity of the mapping method, especially how the number of required qubits grows with the scale of the multiple - query - optimization problem. The study finds that the number of required qubits has a quadratic growth relationship with the number of plans for each query and at least a linear growth relationship with the number of queries.
3. **Experimental evaluation**: The author experimentally compares the performance of the quantum - annealing - based method with classical optimization algorithms on traditional computers (such as integer linear programming, genetic algorithms, and greedy heuristic algorithms) in solving multiple - query - optimization problems. Although the currently available number of qubits limits the scale of problems that can be processed, the experimental results show that, for some problem instances, the solving speed of the quantum annealer is three orders of magnitude faster than that of traditional methods.
### Conclusion
The paper demonstrates the potential of quantum - computing technologies in solving multiple - query - optimization problems. In particular, when dealing with specific types of problems, the quantum annealer shows a significant speed advantage. However, the current limited number of qubits in quantum annealers restricts their practical application range. In the future, with the development of quantum technologies, this limitation is expected to be alleviated, and the application prospects of quantum computing in the field of database optimization will be broader.