<p>Thanks for your question!  There are two answers, depending on whether you're interested in the hardness results for <i>exact</i> or <i>approximate</i> BosonSampling.</p>

<p>In the exact case, we prove that given <i>any</i> n-by-n complex matrix A, you can construct an optical experiment that produces a particular output with probability proportional to |Per(A)|<sup>2</sup>.  This, in turn, implies that no classical polynomial-time algorithm can sample from exactly the same distribution as the optical experiment (given a description of the experiment as input), unless P<sup>#P</sup> = BPP<sup>NP</sup>.  In fact we can strengthen that, to give a <i>single</i> distribution D<sub>n</sub> (depending only on the input length n) that can be sampled using an optical experiment of poly(n) size, but that can't be sampled classically in poly(n) time unless P<sup>#P</sup> = BPP<sup>NP</sup>.</p>

<p>In the approximate case, the situation is more complicated.  Our main result says that, if there's a classical polynomial-time algorithm that simulates the optical experiment even <i>approximately</i> (in the sense of sampling from a probability distribution over outputs that's 1/poly(n)-close in variation distance), then in BPP<sup>NP</sup>, you can approximate |Per(A)|<sup>2</sup>, with high probability over an n-by-n matrix A of i.i.d. Gaussians with mean 0 and variance 1.</p>

<p>We <i>conjecture</i> that the above problem is #P-hard (at the very least, not in BPP<sup>NP</sup>), and pages 57-82 of <a href="http://www.scottaaronson.com/papers/optics.pdf">our paper</a> are all about the evidence for that conjecture.</p>

<p>Of course, maybe our conjecture is false, and one can actually give a poly-time algorithm to approximate the permanents of i.i.d. Gaussian matrices.  That would be a phenomenal result!  However, the whole point of 85% of the work we did was to base everything on a hardness conjecture that was as clean, simple, and "quantum-free" as possible.  In other words, instead of the assumption</p>

<p>"approximating the permanents of some weird, special matrices that happen to arise in our experiment is #P-hard,"</p>

<p>we show that it suffices to make the assumption</p>

<p>"approximating the permanents of i.i.d. Gaussian matrices is #P-hard."</p>

CC BY-SA 2.5
2010-11-13T23:45:31.450Z
always makes me happy when the author of a paper responds here to questions about the paper :)
Suresh Venkat
CC BY-SA 2.5
2010-11-13T16:44:55.467Z
2010-11-13T17:12:51.387Z
2010-11-13T17:12:51.387Z
Scott Aaronson
<p>In <em>The computational complexity of linear optics</em> (<a href="http://eccc.uni-trier.de/report/2010/170/">ECCC TR10-170</a>), Scott Aaronson and Alex Arkhipov argue that if quantum computers can be efficiently simulated by classical computers then the polynomial hierarchy collapses to the third level.  The motivating problem is sampling from a distribution defined by a linear-optical network; this distribution can be expressed as the permanent of a particular matrix.  In the classical case all entries of the matrix are non-negative, and so a probabilistic polynomial-time algorithm exists, as shown by Mark Jerrum, Alistair Sinclair, and Eric Vigoda (JACM 2004, doi: <a href="http://dx.doi.org/10.1145/1008731.1008738">10.1145/1008731.1008738</a>).  In the quantum case the entries are complex numbers.  Note that in the general case (when the entries are not required to be non-negative) the permanent cannot be approximated even within a constant factor, by Valiant's classic 1979 result.</p>

<p>The paper defines a distribution $D_A$ defined by a matrix $A$, and a sampling problem</p>

<blockquote>
  <p><strong>BosonSampling</strong><br>
  <em>Input:</em> matrix $A$<br>
  <em>Sample:</em> from distribution $D_A$</p>
</blockquote>

<p>Using a hardness result seems to be weak evidence for a separation between the classical and quantum worlds, since it is possible that the class of matrices in the specific quantum setup will all be of special form.  They might have complex entries, but may still possess a lot of structure.  There could therefore exist an efficient sampling procedure for such matrices, even though the general problem is #P-hard.</p>



<blockquote>
  <p>How does the use of BosonSampling in the paper avoid easy classes?</p>
</blockquote>

<p>The paper uses a lot of background I don't have in quantum complexity.  Given all the quantum people on this site, I'd really appreciate a pointer in the right direction.  How would the arguments hold up if one were to discover that the class of complex-valued matrices seen in a specific experimental setup actually corresponded to a class of distributions that was easy to sample from?  Or is there something inherent in the quantum system that guarantees this cannot happen?</p>

<cc.complexity-theory><quantum-computing>
How does the BosonSampling paper avoid easy classes of complex matrices?
András Salamon
# How does the BosonSampling paper avoid easy classes of complex matrices?

(Asked by: username_0 on 2010-11-11)

In *The computational complexity of linear optics* ([ECCC TR10-170](http://eccc.uni-trier.de/report/2010/170/)), Scott Aaronson and Alex Arkhipov argue that if quantum computers can be efficiently simulated by classical computers then the polynomial hierarchy collapses to the third level. The motivating problem is sampling from a distribution defined by a linear-optical network; this distribution can be expressed as the permanent of a particular matrix. In the classical case all entries of the matrix are non-negative, and so a probabilistic polynomial-time algorithm exists, as shown by Mark Jerrum, Alistair Sinclair, and Eric Vigoda (JACM 2004, doi: [10.1145/1008731.1008738](http://dx.doi.org/10.1145/1008731.1008738)). In the quantum case the entries are complex numbers. Note that in the general case (when the entries are not required to be non-negative) the permanent cannot be approximated even within a constant factor, by Valiant's classic 1979 result.

The paper defines a distribution $D\_A$ defined by a matrix $A$, and a sampling problem

> **BosonSampling**  
> *Input:* matrix $A$  
> *Sample:* from distribution $D\_A$

Using a hardness result seems to be weak evidence for a separation between the classical and quantum worlds, since it is possible that the class of matrices in the specific quantum setup will all be of special form. They might have complex entries, but may still possess a lot of structure. There could therefore exist an efficient sampling procedure for such matrices, even though the general problem is #P-hard.

> How does the use of BosonSampling in the paper avoid easy classes?

The paper uses a lot of background I don't have in quantum complexity. Given all the quantum people on this site, I'd really appreciate a pointer in the right direction. How would the arguments hold up if one were to discover that the class of complex-valued matrices seen in a specific experimental setup actually corresponded to a class of distributions that was easy to sample from? Or is there something inherent in the quantum system that guarantees this cannot happen?

**Tags:** cc.complexity-theory, quantum-computing

---

## 1 answers

### Answer by username_1 on 2010-11-13. Score: 27 | Accepted answer

Thanks for your question! There are two answers, depending on whether you're interested in the hardness results for *exact* or *approximate* BosonSampling.

In the exact case, we prove that given *any* n-by-n complex matrix A, you can construct an optical experiment that produces a particular output with probability proportional to |Per(A)|2. This, in turn, implies that no classical polynomial-time algorithm can sample from exactly the same distribution as the optical experiment (given a description of the experiment as input), unless P#P = BPPNP. In fact we can strengthen that, to give a *single* distribution Dn (depending only on the input length n) that can be sampled using an optical experiment of poly(n) size, but that can't be sampled classically in poly(n) time unless P#P = BPPNP.

In the approximate case, the situation is more complicated. Our main result says that, if there's a classical polynomial-time algorithm that simulates the optical experiment even *approximately* (in the sense of sampling from a probability distribution over outputs that's 1/poly(n)-close in variation distance), then in BPPNP, you can approximate |Per(A)|2, with high probability over an n-by-n matrix A of i.i.d. Gaussians with mean 0 and variance 1.

We *conjecture* that the above problem is #P-hard (at the very least, not in BPPNP), and pages 57-82 of [our paper](http://www.scottaaronson.com/papers/optics.pdf) are all about the evidence for that conjecture.

Of course, maybe our conjecture is false, and one can actually give a poly-time algorithm to approximate the permanents of i.i.d. Gaussian matrices. That would be a phenomenal result! However, the whole point of 85% of the work we did was to base everything on a hardness conjecture that was as clean, simple, and "quantum-free" as possible. In other words, instead of the assumption

"approximating the permanents of some weird, special matrices that happen to arise in our experiment is #P-hard,"

we show that it suffices to make the assumption

"approximating the permanents of i.i.d. Gaussian matrices is #P-hard."

> **Comments:**
> **username_2**: always makes me happy when the author of a paper responds here to questions about the paper :)  

---

