← Latest papers
⚛️ quantum physics

Two exact quantum queries use at most six variables

This paper provides the first unconditional analytic proof that every total Boolean function computable exactly with at most two quantum queries depends on no more than six input variables, a sharp bound established by overcoming interference challenges through a novel rigid support-and-branch decomposition.

Original authors: Yaqiao Li

Published 2026-10-27
📖 4 min read🧠 Deep dive

Original authors: Yaqiao Li

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the realm of computing, there is a fundamental question about how much information a machine needs to solve a problem. Imagine a black box that holds a secret rule for turning a series of switches on and off into a final answer. To find out what that rule is, a computer must peek inside the box, checking the switches one by one. In the world of classical computers, checking these switches is a straightforward, step-by-step process. However, quantum computers operate on a different set of physical laws, allowing them to explore many possibilities at once. This ability, known as superposition, means a quantum computer can sometimes figure out the answer by asking far fewer questions than a classical machine ever could. The field of quantum query complexity studies exactly how many of these questions are necessary to solve a problem with absolute certainty, leaving no room for error.

For decades, researchers have known that if a quantum computer is allowed just one question, it can solve problems involving only two switches. The mystery lay in what happens when the computer is allowed a second question. Previous attempts to answer this relied on massive computer simulations that checked every possible combination of four switches. These simulations suggested that even with two questions, a quantum computer could not possibly solve a problem involving more than six switches. However, because these results depended on numerical calculations rather than a logical proof, a gap remained in the scientific understanding. It was possible, in theory, that a clever, undiscovered algorithm could break this limit.

A new study by Yaqiao Li closes this gap with a direct, logical proof that confirms the six-switch limit is absolute. The researcher demonstrated that any problem that can be solved exactly with two quantum questions must depend on no more than six input variables. This finding is not just a number; it reveals a rigid structural constraint on how quantum information flows. The proof works by showing that if a problem required seven or more variables, the quantum computer would be forced into a logical contradiction. Specifically, the first question would have to focus on a small group of switches, and the second question would have to branch out to handle the rest. The mathematics shows that this branching structure simply cannot accommodate more than six variables without breaking the rules of quantum mechanics.

The paper also clarifies why this proof was so difficult to find. In a single-question scenario, the paths a quantum computer takes are distinct and do not interfere with one another, making the math relatively simple. But with two questions, these paths can overlap and interfere, creating a complex web where the usual counting methods fail. Li overcame this by developing a new way to visualize the process, breaking the algorithm down into a "support" phase where the first question is asked, followed by a "branching" phase where the second question is asked based on the first result. This decomposition revealed that the interference patterns required to handle a seventh variable would destroy the certainty of the answer.

The result is a sharp, definitive boundary. The study confirms that the maximum number of variables for a two-question quantum algorithm is exactly six, matching a known lower bound where a specific six-variable problem was already proven to require two questions. This work removes the reliance on computer simulations and replaces them with a clear, analytical argument. It suggests that as we increase the number of allowed questions, the number of solvable variables grows in a predictable, exponential pattern, though the exact limit for three questions remains an open puzzle. By mapping the precise architecture of these quantum algorithms, the research provides a deeper understanding of the fundamental limits of quantum computation, showing that even with the power of superposition, there are hard walls that cannot be crossed.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →