In 2011, Scott Aaronson introduced a "quantum-flavored" perspective on a cornerstone of theoretical computer science: the #P-hardness of the matrix permanent. By bridging the gap between computational complexity and linear optics, Aaronson replaced the traditionally opaque combinatorial gadgets of Valiant’s proof with the modular, high-level language of quantum circuits.
The Complexity of the Permanent
The permanent of a matrix is a function that appears deceptively similar to the determinant but lacks the alternating minus signs. In 1979, Leslie Valiant proved that computing the permanent is #P-hard—meaning it is at least as difficult as counting the number of satisfying assignments for a Boolean formula. This result is a "crown jewel" of complexity theory, yet its standard proof is notoriously difficult to teach, relying on intricate graph-based gadgets that often feel like mathematical accidents.
Aaronson’s objective was to provide a proof where the hardness of the permanent feels natural rather than coincidental, utilizing the principles of quantum mechanics to provide a more intuitive derivation.
The Quantum Optical Framework
The proof constructs a bridge using three primary pillars:
- Quantum Amplitude Encoding: Any #P-hard problem, such as counting solutions to a Boolean circuit, can be encoded into the transition amplitude of a qubit-based quantum circuit. This involves decomposing complex logic into universal gate sets.
- The KLM Theorem: Knill, Laflamme, and Milburn (KLM) demonstrated that linear optics—using only beam splitters and phase shifters—combined with postselection (the ability to discard experimental runs that do not yield a specific result) is sufficient for universal quantum computation.
- The Permanent-Physics Connection: In a system of identical bosons (like photons), the probability amplitude of a specific outcome is exactly proportional to the permanent of the matrix describing the optical network.
By synthesizing these points, Aaronson demonstrates that the ability to compute the permanent efficiently would allow for the simulation of a postselected quantum computer, which in turn would solve #P-hard problems.
Key Insights: Natural Gadgets
Aaronson argues that while his proof might be technically longer if expanded to "assembly-level" logic, it is significantly more readable because it uses quantum gates as modular building blocks.
In Valiant’s original proof, gadgets are abstract graph components. In the quantum proof, the "gadgets" are physical components like beam splitters and "NS1" (nonlinear sign shift) gates. These components were originally designed by physicists for practical quantum computing, giving them a "natural semantics" that exists independently of the hardness proof.
The proof also highlights that postselection is the critical ingredient. It is the power to "postselect" on specific photon counts that elevates linear optics from a simple physical system to a #P-hard computational engine.
Results and Implications
The paper successfully derives the #P-hardness of the permanent as a direct consequence of the universality of postselected linear optics. Beyond the main theorem, the proof yields several strong corollaries:
- Hardness of the Sign: Even determining the sign of the permanent is shown to be #P-hard.
- Approximation Hardness: Because the sign is hard to determine, approximating the permanent to within any multiplicative factor is also #P-hard.
While the proof requires handling real-valued matrix entries and relies on existing reductions to prove hardness for specific subsets (like 0/1 matrices), it offers a truly independent path to Valiant's conclusion. This "quantum postselection" framework suggests a powerful new tool for proving the #P-hardness of other mathematical functions where standard combinatorial proofs remain elusive.
Summary updated