Abstract
In recent years, many computational tasks have been proposed as candidates for showing a quantum computational advantage, that is an advantage in the time needed to perform the task using a quantum instead of a classical machine. Nevertheless, practical demonstrations of such an advantage remain particularly challenging because of the difficulty in bringing together all necessary theoretical and experimental ingredients. Here, we show an experimental demonstration of a quantum computational advantage in a proververifier interactive setting, where the computational task consists in the verification of an NPcomplete problem by a verifier who only gets limited information about the proof sent by an untrusted prover in the form of a series of unentangled quantum states. We provide a simple linear optical implementation that can perform this verification task efficiently (within a few seconds), while we also provide strong evidence that, fixing the size of the proof, a classical computer would take much longer time (assuming only that it takes exponential time to solve an NPcomplete problem). While our computational advantage concerns a specific task in a scenario of mostly theoretical interest, it brings us a step closer to potential useful applications, such as serverclient quantum computing.
Introduction
Quantum technologies explore the possibility of using quantum resources in order to demonstrate in practice an advantage in terms of computational time, security or communication efficiency. A series of proposals of tasks for which a computational advantage can be shown have appeared, including Boson Sampling^{1,2}, which has been implemented for small sizes^{3,4,5,6,7}, and sparse commuting (IQP) or random quantum circuits^{8,9,10,11,12,13,14}. The quest for such a quantum computational advantage has culminated recently with a demonstration of a random circuit sampling task by Google using the 53qubit superconducting chip Sycamore^{15}.
One of the major difficulties in gaining confidence with these experimental demonstrations, and cause for some doubts (see Ref. ^{16}), is that these are not well established tasks for which classical methods have been developed for long, thus making benchmarking against classical methods difficult. In particular, although the asymptotic theoretical separation between quantum and classical methods is based on strong computational complexity theoretic assumptions (namely, polynomial hierarchy collapses at the third level), this is less clear when considering the exact scaling of the optimal classical algorithm to solve the task at intermediate sizes and in the presence of noise. Moreover, the verification of the advantage provided by the quantum machine can only happen for a very narrow range of parameters where the classical complexity is just out of reach but some kind of verification (usually of smaller or simpler instances) is still possible to perform on a classical computer. Last, the main open question is to demonstrate such superior behavior for a useful task, thus proving the disruptive potential of quantum technologies.
In this work, we study the power of quantum technologies to provide a computational advantage in an interactive setting, where first we allow two parties to interact in a predefined manner, and then we look at the time it takes for one of them to resolve a specific computational task when they can use quantum or classical resources. Specifically, we study the task of verifying NPcomplete problems, in particular whether a set of boolean constraints have a satisfying assignment to them or not, when an untrusted party provides some limited information about the solution of the problem. For this task, we show that we can achieve a quantum advantage exploiting experimental techniques involving coherent states, linear optics and singlephoton detection.
Before explaining this further let us remark a few properties of our result: first, the quantum hardware we use is simple and the demonstration can be readily reproduced in wellequipped quantum photonics labs; second, our task is inherently verifiable since the output is a YES/NO answer and not a sample from an exponential size distribution (we emphasize here that the quantum machine in our scenario is certainly not solving NPcomplete problems but merely verifies whether a solution exists or not with limited information about the possible solution); third, the benchmarking against the best classical methods is based only on the assumption that NPcomplete problems do not have subexponential algorithms, a wellknown and widely accepted computational assumption^{17}; and finally, while previously experimentally demonstrated computational tasks are typically tailormade for showing quantum advantage with no direct connection to useful applications, the fast verification of NPcomplete problems with bounded information leakage could potentially lead to interesting applications, including in server–client quantum computing, authentication systems, ethical behavior enforcement, and blockchain technologies^{18}. At the same time, we stress that the computational advantage we achieve is not in the standard computational model where a single classical or quantum machine receives an input and computes an output, but in the interactive setting, where we first allow interaction with a second party before trying to resolve the computational task at hand.
Let us now describe our results on the demonstration of a quantum computational advantage in this interactive setting for NP verification in more detail.
The class of NPcomplete problems contains some of the most interesting problems both from a theoretical point of view and in practice. Such problems include the Traveling Salesman Problem, Satisfiability, and many problems related to combinatorial optimization, scheduling, networks, etc. The main characteristic of these problems is that while it is very difficult to find a solution, and in many cases even approximate the optimal solution, it is easy to verify a solution if someone provides one to us, even if this is an untrusted party. Moreover, the theory of NPcompleteness shows that all these different problems are related to each other through reductions, meaning that it suffices to study one of them in order to say something interesting about the entire class of problems.
Let us then focus on 2outof4 SAT, which can be obtained through a reduction of a 3SAT, the canonical NPcomplete problem. The 2outof4 SAT problem consists of a formula of N boolean variables in a conjunction of clauses, where each clause is satisfied if and only if exactly two of the four variables forming the clause are True. The task is to decide whether there exists an assignment to the variables (x_{1}, x_{2}, …, x_{N}), which satisfies all clauses of the formula, in other words for every clause two variables must be True and the other two must be False. We assume without loss of generality that our 2outof4 SAT instance meets the following two conditions. First, it is a balanced formula, meaning that every variable occurs in the same constant number of clauses, and second, it is a Probabilistically Checkable Proof (PCP), i.e., either the formula is satisfiable, or for any assignment at least δ fraction of the clauses is unsatisfiable, for some constant δ > 0. These conditions can always be guaranteed using a polynomial overhead in N and the theory of PCPs. Thus any NPcomplete problem can be reduced to a balanced 2outof4 SAT instance that is probabilistically checkable.
For the verification of such a 2outof4 SAT instance, we would like the verifier, Arthur, to accept a correct proof (a truth assignment of the variables that satisfies the formula) given by a prover, Merlin, with high probability, say \({\mathcal{C}}\ge 2/3\). We call this the completeness property of the verification scheme. If, on the other hand, the formula is not satisfiable, then for any potential proof he receives, Arthur must accept the proof with low probability, say \({\mathcal{S}}\le 1/3\). This is the soundness property of the verification scheme. For a 2outof4 SAT problem of size N, the best algorithms for finding a solution run in time exponential in N (using some sort of clever brute force search for a solution)^{19}, while the verification of a potential solution takes time linear in N. One important property of NPcomplete problems is that if we accept that the best algorithms for solving an NPcomplete problem are exponential in N, then if one has found or has been provided with part of a solution, for example the truth assignment to a subset of the variables of size t < N, then in the worst case the remaining time to complete the solution is still exponential in (N − t)^{17}.
The use of quantum protocols for verification in this socalled interactive proof setting was first employed in Ref. ^{20}, which introduced the concept of Quantum Merlin Arthur. Since then, QMA problems have been intensively studied^{21,22,23,24,25}. They are the quantum analog to NP problems in computational complexity theory and have the same completeness and soundness properties as the ones described above with the proofs encoded in quantum states.
By the results of Ref. ^{25}, we know that quantum Merlin Arthur interactive proof systems can be used to verify NPcomplete problems more efficiently than the classical ones. In particular, it was shown that a quantum verifier who receives \(O(\sqrt{N})\) unentangled copies of a quantum proof can verify efficiently the 2outof4 SAT instance by performing a number of tests/measurements on these states. Note that the assumption that the proofs are unentangled is crucial. Here, the quantum proof is the state \(\frac{1}{\sqrt{N}}\mathop{\sum }\nolimits_{i = 1}^{N}{(1)}^{{x}_{i}}\lefti\right\rangle\), i.e., the quantum state on \({\mathrm{log}\,}_{2}N\) qubits encoding the values of the assignment (x_{1}, …, x_{N}) as amplitudes. The information Arthur receives about the classical solution cannot be more than \(O(\sqrt{N}{\mathrm{log}\,}_{2}N)\) bits of information, since this is the number of qubits he receives, nevertheless, the verification becomes efficient in the quantum case: for the same amount of revealed information a classical verification protocol would require exponential time while it takes polynomial time for the quantum protocol to perform the task. We remark that one can see the quantum advantage either as a computational advantage, as we do in our work, where we ask how long the verification will take in the quantum and classical case if we fix the size of the message sent by the prover, or as an information advantage, where we ask what size of quantum or classical message is needed if we fix the time of the verification to be polynomial in the input size. We stress again that, in both cases, the advantage is not about solving NPcomplete problems, but about verifying them with limited information. In Ref. ^{26}, it was first shown that in theory it is possible to implement such a verification protocol with single photons and linear optics, albeit a practical implementation is and will probably continue to be out of reach for photonics technology due to the extremely large number of elements in the proposed scheme.
Here, we overcome this limitation by proposing a quantum verification test that maintains the properties of the original one and at the same time uses new conceptual tools that make it practical. This allows us to provide the first experimental demonstration of an efficient quantum verification scheme for NPcomplete problems, and hence a strong provable quantum advantage for this task based on the assumption that finding a solution to NPcomplete problems takes exponential time on a classical computer. More precisely, we experimentally demonstrate how a quantum Arthur who receives an unentangled quantum proof of size \(\widetilde{O}({N}^{3/4})\) (where \(\widetilde{O}\) denotes the order up to logarithmic terms) can verify 2outof4 SAT instances in time linear in N, while a wellknown assumption is that any known classical algorithm takes time exponential in \((N\widetilde{O}({N}^{3/4}))\). The core idea of our protocol that enables us to perform the verification with coherent states and a simple linear optics scheme is based on the Sampling Matching problem defined and implemented in Ref. ^{27}. This is particularly appealing from a practical point of view because of the relative ease of preparation and manipulation of coherent states, which combined with linear optics transformations have made them attractive candidates for proving quantum advantage in communication complexity and security ^{28,29,30,31,32,33,34}. The use of the Sampling Matching is also one of the main conceptual differences of our current protocol with respect to the work of Ref. ^{26}, which provided a verification protocol with single photons and which cannot readily be made to work simply by mapping the single photons into coherent states.
In order to explain the importance of our result let us first go back to the classical case and describe a possible scheme for verification. Since we know that in case the formula is not satisfiable then for any assignment at least a constant δ fraction of the clauses are not satisfied, then for verification it suffices for Arthur to pick a random clause, obtain the values of the four variables and check whether the clause is satisfied or not. By repeating this for a small constant number of clauses, Arthur can verify with high probability whether the instance is satisfiable or not, and moreover, the information Arthur receives about the solution is very small (just the value of the variables in a few clauses). We can also see this protocol in a slightly modified version, which will be closer to our quantum verification protocol based on Sampling Matching. Instead of having Arthur pick uniformly at random a small number of clauses out of all possible clauses to verify, we can assume that Arthur picks each clause with some probability so in the end the expected number of clauses he picks is the same number as in the initial protocol.
There is of course a wellknown issue in these schemes. Once Merlin knows which clause Arthur wants to test, he can easily adapt the values of the variables to make this clause satisfiable. Arthur cannot force Merlin to be consistent across the different clauses, namely to keep the same value for each variable in the different clauses. One way to remedy this would be by having Merlin send the entire assignment to Arthur (which is the usual verification protocol), but in this case Arthur gets all the information about the classical solution. Another solution is through interactive computational zeroknowledge proofs, where one uses cryptographic primitives, i.e., bit commitment, in order to force the behavior of Merlin, but such schemes necessitate communication between Arthur and Merlin and only offer computational security^{35}.
Thus in the classical world, it is impossible to have a protocol with a single message from Merlin to Arthur that performs verification while at the same time Arthur does not learn the entire classical solution.
In the quantum world, using coherent states and a new efficient linear optics scheme based on the Sampling Matching, we can experimentally demonstrate exactly that: a quantum Arthur can efficiently verify instances of NPcomplete problems (in time linear in the size N) while at the same time receiving only a small amount of information about the solution (theoretically of order \(\widetilde{O}({N}^{3/4})\)). To show this advantage experimentally it was sufficient to use sequences of a few thousand coherent pulses, corresponding to a proof size N from 5000 to 15,000, with an average mean photon number per pulse on the order of 1, and standard InGaAs singlephoton detectors.
We are now ready to give the details of our quantum verification protocol, analyze its completeness and soundness, and provide the results of our experimental demonstration.
Results
Quantum proofs encoded in coherent states
In the first step of our verification protocol, Merlin sends the quantum proof to Arthur. We consider here that if the instance is satisfiable then an honest Merlin will use coherent states to encode the proof, exploiting the coherent state mapping introduced in Refs. ^{28,29}. More precisely, he encodes his proof x = (x_{1}, x_{2}, . . . , x_{N}) in a time sequence of N weak coherent states. He does this by applying the displacement operator \({\hat{D}}_{x}(\alpha )=\exp (\alpha {\hat{a}}_{x}^{\dagger }{\alpha }^{* }{\hat{a}}_{x})\) to the vacuum state, where \({\hat{a}}_{x}=\frac{1}{\sqrt{N}}\mathop{\sum }\nolimits_{k = 1}^{N}{(1)}^{{x}_{k}}{\hat{a}}_{k}\) is the annihilation operator of the entire coherent state mode, and \({\hat{a}}_{k}\) is the photon annihilation operator of the kth time mode. Hence,
where \({\left{(1)}^{{x}_{k}}\alpha \right\rangle }_{k}\) is a coherent state with mean photon number μ = ∣α∣^{2} occupying the kth time mode. Thus, the state \(\left{\alpha }_{x}\right\rangle\) has a mean photon number ∣α_{x}∣^{2} = N∣α∣^{2}, with the photons distributed over the entire sequence of N modes. Note that varying the parameter α controls how many photons are expected to be in the state; for example for α = 1, every coherent state in the sequence has on average one photon, while if we take \(\alpha =1/\sqrt{N}\), then on average only one photon will be present in the entire sequence.
In the singlephoton version of the original protocol^{25,26}, Merlin prepares \(O(\sqrt{N})\) unentangled copies of a state that consists of a single photon in N modes, i.e., a state in an Ndimensional Hilbert space. This implies that during the protocol the information revealed to Arthur is at most \(O(\sqrt{N}{\mathrm{log}\,}_{2}N)\) bits of information. Then, a number of tests are performed on these states to check that they are equal, uniform, and that they satisfy the boolean formula. For the equality, a SWAP test is performed between different copies of the proofs; for testing that the amplitudes of the states are roughly uniform, a test based on the Hidden Matching problem is performed; for satisfiability, the parity of four variables that belong to the same clause is measured in order to check whether the specific clause is satisfied. Each test is performed with some probability and if the test is successful, then Arthur accepts the instance as satisfiable.
An important feature of our protocol is that by using the Sampling Matching method we are able to combine the above tests into a single test and all copies of the proofs into a higher mean photon number sequence of N coherent states, which we also assume to be unentangled. By sending coherent states with a higher mean photon number ∣α∣^{2} we essentially increase the probability of measuring each variable and thus the information conveyed by Merlin; this is important for the uniformity and satisfiability parts of our verification test as we will see later. Increasing ∣α∣^{2} instead of sending multiple copies of the same state also allows us to avoid the necessity of applying the equality test that was ensuring that the copies are the same. On the other hand, the unentanglement assumption for the sequence of coherent pulses is necessary as it was in Refs. ^{24,25}, since otherwise this would lead to a subexponential quantum algorithm for solving NPcomplete problems, which is thought to not be possible.
We prove in the following that theoretically the average photon number for each of the N coherent states that the honest Merlin sends when the instance is satisfiable is of the order of ∣α∣^{2} = O(N^{−1/4}), which makes the information Arthur gets about the classical solution to be \(\widetilde{O}({N}^{3/4})\). In high level, this also implies that any classical verification algorithm with the same amount of information will take time exponential in \((N\widetilde{O}({N}^{3/4}))\), which becomes large enough for practical sizes of N. This is because Arthur can always enumerate over all possible proofs Merlin sends and perform the verification for each one of them. It will take him time exponential in \(\widetilde{O}({N}^{3/4})\) to enumerate over all possible proofs (since the information in them is less than \(\widetilde{O}({N}^{3/4})\)) and thus if the verification for each of them takes time less than exponential in \((N\widetilde{O}({N}^{3/4}))\) then this would imply a fast algorithm for NP.
Once Arthur receives the quantum proof as a sequence of unentangled coherent states from Merlin, he performs the verification by applying a verification test. We assume that Merlin can behave dishonestly in any way possible, apart from having to send unentangled states. Let us now describe this verification test and how it can be performed in a linear optical setting.
Verification test
As we discussed previously, the original verification test^{25} consists in first testing that the copies of the proofs are the same (which we have avoided by sending a single sequence of coherent states), and then that the amplitudes of each of these states are close to uniform. This test is necessary in order to show that Arthur can actually check all possible clauses with roughly uniform probability. Otherwise, Merlin can just force Arthur to always measure some specific subset of variables (the ones that can satisfy some corresponding subset of clauses) and thus convince Arthur of the validity of the assignment, even though no assignment exists that satisfies all clauses.
Here, we deal with this in a different way. Again, we want to ensure that Arthur will measure each clause with some probability, meaning that Merlin cannot force Arthur to measure only a specific subset of variables and clauses. This is where we use the idea of Sampling Matching^{27}, which was introduced as a practical version of Hidden Matching, the problem performed in the original uniformity test. Instead of interfering Merlin’s coherent states with themselves, we in fact input in an interferometer Merlin’s sequence of coherent states in one arm, and a new sequence of coherent states prepared by Arthur in the other arm. This is also the main difference with the singlephoton protocol in Ref. ^{26}.
More specifically, the test as depicted in Fig. 1 is the following. When Arthur receives the state \(\left{\alpha }_{x}\right\rangle\) from Merlin with the mean photon number ∣α_{x}∣^{2} predefined by the protocol, he generates his local state in the form of a sequence of uniform coherent pulses, with the same mean photon number. In particular, Arthur creates the state
such that ∣α_{0}∣^{2} = ∣α_{x}∣^{2}. He then sequentially interferes each of honest Merlin’s coherent states with his local coherent states in a balanced beam splitter and collects the outputs in the two singlephoton detectors, D_{0} and D_{1}. At each time step k, the input state in the beam splitter is \({\left{(1)}^{{x}_{k}}\alpha \right\rangle }_{k}\otimes {\left\alpha \right\rangle }_{k}\), while at the output modes we have,
Then, the probability of getting a click on each of the singlephoton detectors at the kth time step of the verification protocol is:
One way of understanding the above test is to note that it is guaranteed that Arthur receives a value for each variable with at least some probability, due to the photons in his own state. This way, Merlin cannot choose exactly for what variables Arthur will obtain a value. Thus, Arthur will end up obtaining the values of a subset of variables that is random enough (meaning Merlin cannot deterministically choose it) so that when he considers the clauses whose variables are in this subset, then either all of them will be satisfied in the YESinstance, or sufficiently many of them will not be satisfied in the NOinstance.
Now, if Merlin wants to send a value for a specific variable x_{k} to Arthur, then he can do it perfectly, since by constructing an honest coherent state of the form \({\left{(1)}^{{x}_{k}}\alpha \right\rangle }_{k}\), only one of the two detectors of Arthur has nonzero probability of clicking. On the other hand, if Merlin sends any state \(\left\beta \right\rangle\), then after the interaction with Arthur’s coherent state \(\left\alpha \right\rangle\) one important thing is true: no matter what Merlin’s state is, there is still a probability of a detector click, which is at least \(1{e}^{ \alpha { }^{2}}\) due to the photons in Arthur’s coherent state and the fact that we only perform linear optics operations that preserve the number of photons. In other words, Arthur obtains a value for each variable with some probability independent of Merlin’s message, and this value can be fixed by Merlin if he honestly sends a state that encodes a value.
After recording the results of his measurements, Arthur assigns values to the variables in the following way: if the detector D_{0} clicked, then the value is 0, if the detector D_{1} clicked then the value is 1, while he leaves the variables unassigned if no click was observed. Then, Arthur checks for each clause for which he has assigned a value to all four variables whether it is satisfied or not, namely if exactly two out of the four variables in the clause have value 1. In the ideal case where there are no errors, Arthur will accept if all clauses are satisfied and reject if any clause is not satisfied. In the presence of nonideal experimental conditions, we will see that Arthur will use a threshold and accept if at least that fraction of clauses are satisfied or else he will reject.
We are now ready to analyze the completeness of the protocol, namely the probability Arthur accepts assuming that the 2outof4 SAT instance is a satisfiable instance, in which case Merlin prepares a proof state in the form \(\left{\alpha }_{x}\right\rangle\) for a satisfying assignment x. Then, we discuss the soundness of the protocol, namely the case in which the instance has no satisfying assignment and where Merlin still wants Arthur to accept his proof and acts dishonestly. He will then try to send some general quantum state to trick Arthur, while, as we said, here we make the same type of assumption as in the original work of Aaronson et al.^{25}, namely that Merlin still sends a sequence of unentangled states. Later, we will complete the analysis by looking at the protocol under nonideal experimental conditions and see what level of noise the interferometric setup can tolerate in order to maintain a positive gap between the completeness and soundness probabilities.
The completeness corresponds to the probability that Arthur accepts the proof of Merlin in the case of a satisfiable instance, where Merlin sends the correct quantum state. As we have described, Arthur will retrieve the values of a number of variables that are encoded in the phases of Merlin’s sequence of coherent states by using his own local coherent states and the interferometric setup shown in Fig. 1. As long as Merlin honestly encodes the satisfying assignment into his coherent states then only one detector has nonzero probability of clicking and thus Arthur will never get a wrong value. Thus the only probability of rejecting comes from Arthur not obtaining the values of the four variables of any clause.
To estimate this probability, and hence the completeness, we remark again that the unentanglement promise guarantees that the probability of detecting a photon in each of the pulses in the sequence is independent of the remaining pulses of the sequence, since the pulses are unentangled between them. Furthermore, the probability of measuring a particular variable is independent of which clause Arthur is going to verify later on. If we now denote as \({p}_{h}\ge 1{e}^{2 \alpha { }^{2}}\) the probability that a detector clicks during a time step in an honest run (see Eq. (4)), then the probability that a specific clause is measured (meaning all four variables in the clause are measured) is at least \({p}_{h}^{4}\) (where we have used the independence remarks above).
We have also assumed that the instance is balanced and each variable appears in a constant number of clauses, which implies that the number of clauses in an instance of the problem is O(N).
Taking into account the above, we see that the probability that Arthur does not obtain the values of the four variables for any clause in an instance is at most \({(1{p}_{h}^{4})}^{O(N)}\). This can be made arbitrarily small, and therefore the completeness arbitrarily close to 1, as long as \({p}_{h}^{4}=O({N}^{1})\) for a large enough constant, which in turn implies that it suffices to take ∣α∣^{2} on the order of O(N^{−1/4}) with a large enough constant. Note that by taking ∣α∣^{2} on the order of O(N^{−1/4}), the verifier is expected to receive \(\widetilde{O}({N}^{3/4})\) clicks in the detectors. This is higher than the \(O(\sqrt{N})\) bits in the original protocol of Ref. ^{25}, where one can choose a specific measurement (depending on the clauses) to always get the value of a clause and hence check satisfiability. In fact the \(O(\sqrt{N})\) is needed to prove the uniformity of the state. In our case, the way we achieve a good probability of measuring all variables in a clause of the instance is by increasing the ∣α∣^{2} to ensure we are measuring enough variables, and that number needs to be now \(\widetilde{O}({N}^{3/4})\) to make the probabilities work out. We will see later that experimentally we will pick specific values for N and ∣α∣^{2} that keep the completeness higher than 0.9.
We are going to show now that if the 2outof4 SAT is a NO instance, then the soundness of the protocol, namely the probability of Arthur accepting the proof, is small enough no matter the strategy of the prover as long as the promise of unentanglement holds. For this, we highlight again two important features of our test and the properties of the SAT instances we are dealing with. First, at least a δ fraction of the clauses are unsatisfiable for any assignment of variables, and second, the probability of measuring a particular variable is lower bounded by the fact that Arthur inputs an honest coherent state into the interferometer, even if Merlin sends no photon in his corresponding state.
We can then bound the probability that Arthur measures the values of some variables and finds a clause that contains them and is not satisfied. We have already seen that the minimum probability of Arthur obtaining a value for any variable, no matter what Merlin sends, is \({p}_{d}\ge 1{e}^{ \alpha { }^{2}}\). Then, following the same rationale as before, since a constant δ fraction of clauses are unsatisfied for any assignment, we can conclude that the probability of measuring the values of four variables that make a clause unsatisfied is at least \(\delta {p}_{d}^{4}\). Assuming again that there are O(N) clauses in an instance, the probability that Arthur does not find any unsatisfied clause is at most \({(1\delta {p}_{d}^{4})}^{O(N)}\). So again we just need to pick ∣α∣^{2} large enough in order to make the soundness small enough. In particular, since δ is a constant, we can pick as before ∣α∣^{2} = O((δN)^{−1/4}) = O(N^{−1/4}) and make soundness arbitrarily small. We will see later that experimentally we will pick values for N and ∣α∣^{2} that keep the soundness lower than 0.6.
Classical complexity of verification
Our quantum verification test takes time O(N) to implement, since Arthur receives a sequence of N pulses that he interferes with his own coherent states and then he simply calculates the number of satisfied clauses (from the O(N) of them) before accepting or rejecting. To compare our test with classical resources in terms of complexity, we are making here a well founded assumption that any classical algorithm for solving 2outof4 SAT runs in time exponential in the instance size N. In particular, we consider the classical complexity to be of the form 2^{γN} for some constant γ ≤ 1. Shöning’s algorithm for 3SAT takes time (4/3)^{n} on average for instances of size n^{36}, while the bestknown practical SAT solvers can provide a complexity of O(1.307^{N}) = O(2^{0.4N})^{19}. We have also discussed previously that if the information that Arthur gets about the proof is t bits, then the running time of the classical algorithm remains exponential in (N − t).
The value of t, namely the bits of information Arthur obtains about the proof during the verification of a YES instance, can be easily upper bounded for our test by the number of detector clicks during the verification procedure. We want to remark here that in our setting we have an honest Arthur who tries to verify the instance and we do not have to consider a cheating Arthur as in the case of standard cryptographic settings. The expected number of clicks in Arthur’s detectors depends on the parameter ∣α∣^{2}, namely the average number of photons per pulse. In particular we have that the number of clicks is \(O(N(1{e}^{2\alpha { }^{2}}))\) and for our value of ∣α∣^{2} = O(N^{−1/4}) we have that the information obtained by Arthur is at most \(\widetilde{O}({N}^{3/4})\). Thus, by picking large enough N it is easy to make the difference \((N\widetilde{O}({N}^{3/4}))\) also large enough.
We will see later that experimentally we will keep this difference larger than 1000. This is an arbitrary choice that nonetheless is more than sufficient to confirm that the classical computation would be unfeasible. For example, given a difference of 150, we can calculate that we would need a 45digit number of operations to verify the SAT instance: even with processors working at 10 GHz and operated by 10 billion people, and repeating the operation in 10 billion planet Earth copies, parallelizing somehow the whole process, it would be necessary to wait around the age of the Universe to be able to classically verify such instances.
To summarize the above, in the setting that we have described we define the notion of quantum advantage for verifying NPcomplete problems of size N with bounded information when three conditions are fulfilled:

1.
The verification of the proof by a quantum Arthur takes time linear in N;

2.
The obtained completeness is high enough and soundness low enough, where in our case we have set \({\mathcal{C}}\;> \; 0.9\) and \({\mathcal{S}}\;<\;0.6\);

3.
The number of bits of information on the proof that Arthur obtains is much smaller than N, in our case at least 1000 bits smaller, so that the classical complexity of performing the same task is such that it is effectively unfeasible.
Dealing with practical imperfections
Let us now consider how we can take into account practical imperfections in our verification test in view of its experimental implementation for demonstrating a quantum advantage as we have defined it above.
Up till now we have assumed that Arthur measures the values of the variables perfectly when Merlin is honest. In a practical setting, however, this may not be the case due to errors coming mainly from the imperfect visibility of the interferometric setup and the finite quantum efficiency and dark counts of the singlephoton detectors.
There is a simple way to remedy the verification test in order to deal with such imperfections. Arthur performs the same measurements and assigns values to the variables in the following way: when only one detector clicks then he assigns the corresponding value to the variable, i.e., he assigns the value 0 if he registers a click in detector D_{0} and nothing in D_{1} and vice versa; when both detectors click (which can occur in practice due to the imperfections) then he assigns a uniformly random value to the variable; when no detector clicks then the variable remains unassigned. Note that the fact of picking a random value for a variable in case of double clicks, instead of ignoring this variable, helps avoiding the case where Merlin would input a large number of photons to force double clicks for the variables that he would not want Arthur to measure. Once Arthur assigns the values to the variables, he looks at the clauses for which all four variables have been assigned a value and checks if the clause is satisfied, namely if exactly two out of four variables have the value 1. Knowing the experimental parameters, we can calculate the expected fraction of satisfied clauses in the YES instance (which should be only slightly less than 1 for photonic systems with low loss and errors) and the one in the NO instance (which should be much less than 1 for instances with large enough δ and small enough errors). Arthur can now define an appropriate threshold for the number of satisfied clauses above which he accepts and below which he rejects, and assuming an appropriate gap between the number of satisfied clauses in the YES and NO instances we can then guarantee a large gap between completeness and soundness using simple Chernoff bound calculations.
We will try now to find an experimental parameter regime where we can show quantum advantage. For this, we first make one more assumption about the dishonest Merlin, which is that he always sends states that have the correct mean photon number μ = ∣α∣^{2} specified by the protocol, while he can freely choose the assignment values in order to trick Arthur to accept. Note that here we are not trying to define a general interactive proof (ArthurMerlin) system; we are trying to construct a specific computational task for experimentally demonstrating quantum advantage. Thus, we add on top of the unentanglement assumption the assumption of states with the appropriate mean photon number so as to make the implementation of this task simpler. This essentially corresponds to a dishonest Merlin who can only cheat “classically”, in the sense that he can choose whatever assignment he wants for the variables encoded in the quantum states and then send states of the form in Eq. (1) (see also Fig. 1). This is an assumption that is only needed in order to perform our proof of principle experiment but it is not needed for any of the previous analysis of the protocol, including about completeness and soundness. In fact, even without this assumption we can find a parameter regime where the experimental demonstration is possible, albeit these parameters were just out of reach with our photonics setup but can very well be achieved in the near future. We will also discuss later how Arthur may in fact be able to force this behavior of Merlin, namely instead of assuming that dishonest Merlin sends states with the correct mean photon number, Arthur can verify this himself by slightly changing the protocol itself. In any case, we emphasize again that our goal here is to define a specific theoretical scenario and a concrete computational task for which we can show a quantum advantage.
We denote the imperfect visibility of Arthur’s interferometer by ν (with ν = 1 in the ideal case) and the dark count probability of the singlephoton detectors by p_{dark}. As we will justify later, the effect of the random detection events due to the dark counts can be neglected. To understand the effect of the imperfect visibility, we see that, for example, for an input state in the beam splitter at the kth time step \({\left\alpha \right\rangle }_{k}\otimes {\left\alpha \right\rangle }_{k}\) (corresponding to x_{k} = 0), the output state will be \({\left\sqrt{2\nu }\alpha \right\rangle }_{{D}_{0},k}\otimes {\left\sqrt{2(1\nu )}\alpha \right\rangle }_{{D}_{1},k}\), hence there is a nonzero probability of a click in the wrong detector (D_{1} in this case). We can then calculate the probability of detecting a photon in the correct and wrong detector (and nothing in the other) as follows,
Moreover, we calculate the probability of a click in both detectors as,
These double clicks do not contain any information but, as we have explained, they will be used by Arthur to pick a random value for the variable, so they play a role in the verification test. Note that the average number of expected detector clicks is given by (p_{c} + p_{w} + p_{dc})N ≈ p_{h}N (with an equality for negligible p_{dark} as in our case). Note also that all quantities depend on ∣α∣^{2} and ν, but we have neglected the effect of the losses in the system, as we will also justify later.
Let us now calculate, taking into account the above, the expected number of satisfied measured clauses Arthur should obtain in the YES and NO instances. In the YES instance, all clauses are satisfied by the assignment, and the probability that Arthur measures a satisfied clause will be the sum of three terms,
The first term is the probability of getting four correct values for the four variables; the second of getting four wrong values; and the third is the sum of the probabilities of two correct and two wrong values in a way that the 2outof4 clause remains satisfied.
In the NO instance, we upper bound the probability of measuring a satisfied clause as follows,
This is the probability of measuring a clause (for negligible p_{dark}) minus the probability of measuring an unsatisfied clause. To provide a bound on the latter we note that, for any assignment, there is at least a δ fraction of unsatisfiable clauses that will not be satisfied if measured correctly, namely with probability p_{Y}, and a fraction 1 − δ of satisfiable clauses that will be unsatisfied if measured incorrectly, namely with probability \({p}_{h}^{4}{p}_{Y}\).
It is then straightforward to find the expected number of measured satisfied clauses \({T}_{{\mathcal{C}}}\) in the YES instance and \({T}_{{\mathcal{S}}}\) in the NO instance, by multiplying the above probabilities with the number of clauses that we assume is some constant (greater than 1) times N. Thus, we have \({T}_{{\mathcal{C}}}{T}_{{\mathcal{S}}}\ge ({p}_{Y}{p}_{N})N\). Our experimental values will be such that \({T}_{{\mathcal{C}}}{T}_{{\mathcal{S}}}\) is a large enough number to allow us to use Chernoff bounds to guarantee a sufficiently large gap between completeness and soundness.
More specifically, we define a threshold for Arthur’s verification as \(T=({T}_{{\mathcal{C}}}+{T}_{{\mathcal{S}}})/2\), in other words Arthur accepts if and only if at least T measured clauses are satisfied. By a simple Chernoff bound we can then see that the completeness can go arbitrarily close to 1 and the soundness arbitrarily close to 0 by properly tuning the value of ∣α∣^{2}, and again as ∣α∣^{2} = O(N^{−1/4}). More precisely, we use the following inequalities for completeness and soundness,
To illustrate how this analysis allows us to identify an experimental parameter regime where it is possible to demonstrate a quantum advantage for our verification task, we show in Fig. 2 theoretical bounds for the fraction of measured satisfied clauses in the YES and NO instances, as well as the gap between the completeness and soundness, as a function of the mean photon number μ = ∣α∣^{2}, for N = 10000, ν = 0.91, δ = 0.15, and negligible dark counts. We can see that for our aforementioned target gap, where we want to keep the completeness above 0.9 and the soundness below 0.6, there is a region of μ where quantum advantage can be shown for the chosen parameters.
Let us now discuss the more general scenario where the dishonest Merlin may send any unentangled state (including with no or many more photons). This is a more complicated case to analyze, but we do know that whatever Merlin does, Arthur will still receive a value for a variable from the photons he inputs himself in the interferometer, which is at least \({p}_{d}=1{e}^{ \alpha { }^{2}}\). If we drop the assumption that Merlin will only send coherent states with the correct mean photon number, we can still find a region with a positive gap between completeness and soundness, albeit with more stringent experimental conditions that were not fulfilled in our setup, in particular with respect to the required visibility, but that we believe can be fulfilled in the near future.
Note also that Arthur could potentially try to force Merlin to send states with the correct mean photon number by creating the pulses himself, sending them over to Merlin who prepares the state with the setup of Fig. 1 and returns it. Arthur can use random timings for his pulses impeding Merlin from injecting more photons and also use part of the pulses in order to count the number of clicks and convince himself that Merlin is not sending fewer photons over. Again, we do not need to do any of this for our demonstration of a quantum advantage, since we are free to define the computational task ourselves, namely verification of NP problems for a specific type of interactive proof systems, without having to deal with general cryptographic considerations and dishonest behaviors. Nevertheless, this would provide a simple solution in case one might want to use our protocol in practical scenarios, for example for server–client verification.
Last, we claim that losses are not important in our setting. Again, this is a verification scenario where an honest Arthur tries to efficiently verify an NP instance with the “small” help of an untrustful Merlin. Hence, Arthur and Merlin can jointly measure the potential losses during a calibration phase before the actual verification starts and increase the power of their pulses by the factor 1/η, where η includes the channel and detection efficiency. Thus, we do not have to worry here about an Arthur that can use the losses to his benefit.
To summarize the above and in preparation for the description of our experimental implementation, we provide below a stepbystep outline of the protocol in Box 1.
Experimental results
We now have all the ingredients to describe the experimental implementation of our verification test and the assessment of the quantum advantage for this task. As we defined previously, we need to satisfy three conditions to show quantum advantage. We need the verification procedure to take time linear in N, to have completeness and soundness such that \({\mathcal{C}}\;> \; 0.9\) and \({\mathcal{S}}\;<\;0.6\), and that the number of clicks Arthur registers is much smaller than the input size N.
First, as we will see, in our experiment we use indeed a train of coherent pulses of size N and some simple classical postprocessing of the measurement results, so our test satisfies condition 1. In fact, the real time to run the verification procedure for N between 5000 and 14,000 was a fraction of a second for the quantum part, a few seconds for the classical postprocessing and a couple of minutes for the calibration procedure for each run.
Second, we will show that our verification procedure has high completeness, i.e., when the instance is satisfiable and Merlin sends to Arthur a satisfying assignment encoded in the coherent states, then Arthur accepts with high probability. For the same experimental parameters we will then use our theoretical analysis that upper bounds the maximum soundness of our protocol for any strategy of Merlin, and ensure that the soundness is much lower than the experimentally demonstrated completeness, thus proving condition 2 of quantum advantage.
In fact, to simplify the classical pre and postprocessing, we experimentally perform a modified version of the test, where we do not sample balanced and probabilistically checkable YES instances with planted satisfying assignments (this is far from being straightforward), but we generate uniformly random Nbit strings (for several values of N) that correspond to satisfying assignments. Note that a uniform distribution of the satisfying assignments is the hardest case for the problem, since with any other distribution, Arthur would already have some information about the possible solutions to the problem. After that, we check the number of the variables for which Arthur obtains the correct value, the number of wrong values, and the number of undefined variables. From these numbers we compute the expected number of satisfied and unsatisfied clauses Arthur will get on a random YES instance, and using the threshold that has been defined in the calibration phase of the experiment described below, we conclude whether Arthur would accept or reject the instance, thus estimating the completeness of our protocol.
Finally, the measurements events of Arthur are also used to ensure that condition 3 for quantum advantage is satisfied.
Let us now provide more details on our experiments. The experimental setup is shown in Fig. 3. The coherent light pulses are generated using a continuous wave laser source emitting light at 1560 nm followed by an amplitude modulator, at a rate of 50 kHz and with a pulse duration of 10 ns. An unbalanced beam splitter is used to monitor the pulse power and a variable optical attenuator (VOA) to set the mean photon number at the desired level. We then use a balanced beam splitter to direct the coherent pulses to Arthur and Merlin. Following the scheme for the verification test shown in Fig. 1, Merlin impinges his proof on the phase of the pulses using a phase modulator (PM). Arthur and Merlin then both use a set of variable optical attenuators to finely tune and equalize the power of the signals entering the output balanced beam splitter of the interferometer. The pulses are finally detected by two InGaAs singlephoton detectors (D_{0} and D_{1}) and the measurement results are collected by Arthur. The experiment is controlled by a data acquisition card and the data is analyzed with dedicated software.
We perform several preliminary measurements and calibrations before moving on with the verification test. In particular, we calibrate the voltage level needed to induce a πphase shift, V_{π}, with the phase modulator off line. Phase drifts may occur during the experiment and affect the obtained visibility, hence requiring realtime phase correction techniques^{27}. In our case the time scale of the drift (on the order of 5 s) was much longer than the duration of each run of the protocol (around a fraction of a second) and it was therefore not necessary to use such feedback loops. Arthur and Merlin also need to carefully equalize the power of their pulses before interfering them, as required by our test. To do this, Arthur calibrates the losses in Merlin’s path by first removing his signal, measuring detection events due to Merlin’s signal only, for several values of the mean photon number, and then minimizing the clicks on one of the detectors with his signal reconnected. This procedure also allows Arthur and Merlin to determine the losses in their setup, and hence the efficiency η, which includes the channel efficiency η_{channel} ≈ 38%, and the quantum efficiency of the singlephoton detectors, η_{det} ≈ 25%. As we have explained, this parameter does not play a direct role in our verification test.
Importantly, the above calibration procedure allows Arthur to evaluate the visibility of the interferometer, which is central to the assessment of the performance of our test. Indeed, we use this estimation as benchmark for the expected number of satisfied clauses in the YES and NO instances, and correspondingly define a threshold for accepting a proof, as we have detailed previously. A low visibility will increase the number of errors so that we will need to increase δ in order to verify the solution with sufficient completeness and soundness.
In our experiment, we use the nominal value ν_{N} = 0.93, as well as μ_{N} = 1.31, and set correspondingly δ = 0.15. These values are chosen such that in our theoretical estimations (see Fig. 2) the conditions \({\mathcal{C}}\;> \;0.9\) and \({\mathcal{S}}\;<\;0.6\) are satisfied at the same time for all the values of N that we will be using. The value of δ will be fixed for all the runs; however, we experimentally measure the actual visibility in each case. We remark that here we are using a single laser to generate the pulse sequences of Arthur and Merlin, which is optimal for obtaining high visibility values. Nevertheless, it is still possible to use this setup for assessing the performance of our test for demonstrating a quantum advantage since all actions required by the test, as shown in Fig. 1, are performed independently.
We finally remark that the dark count probability in our setup is p_{dark} ~ 10^{−3}, and hence the effect of dark counts can safely be considered negligible for our values of ν and μ. In fact, for our choice of parameters, we have p_{c}, p_{w}, p_{dc} ≳ 10^{−2} as can be easily seen from Eqs. (5) and (6).
We are now ready to analyze our verification test enabling Arthur to verify efficiently that a given 2outof4 SAT instance is satisfiable. As we have explained, we assume that Merlin acts honestly and only the environment will lead to errors that will make Arthur reject a correct proof. After performing the preliminary calibrations, Merlin starts the test by encoding his proof on his coherent pulse sequence. Here, as a proof, we generated a random Boolean string of N variables (for several values of N). Arthur records all clicks t_{clk} including single and double clicks on both detectors. We denote the single clicks as s_{clk}. He assigns a bit 0 or 1 to variable x_{k} if the pulse at time step k resulted in a single click in detector D_{0} or in a single click in detector D_{1}, respectively. For the double clicks, he assigns a random value to the corresponding variable, while we leave all other variables undefined.
For computing the completeness of the verification, we need to decide if Arthur would have accepted or rejected the specific run of the verification test. Had we fixed a specific instance then Arthur would just check with the values of the variables that he has obtained, how many clauses are satisfied and how many clauses are not, and depending on the threshold T he would accept or reject. Note that Arthur can indeed compute the value of T given the experimental values of μ and ν.
As we said, in order to avoid the complications of sampling such classical instances in a fair way, we decide whether Arthur accepts or rejects the instance using the same threshold T, but estimating the number of clauses Arthur would have found satisfied or not, through the number of correct variable values he really obtained through the experiment. Since the instances are assumed to be balanced, this is equal on expectation over random instances to the corresponding calculations on the clauses.
In other words, from the number of all single clicks s_{clk}, the number of single clicks that correspond to the correct variable value c_{clk}, and the number of double clicks that are randomly assigned dc_{clk}, we can infer the probabilities \({p}_{d{c}_{\text{exp}}}=\frac{{t}_{\text{clk}}}{N}\), \({p}_{{c}_{\text{exp}}}=\frac{{c}_{\text{clk}}}{N}\) and \({p}_{{w}_{\text{exp}}}=\frac{{s}_{\text{clk}}{c}_{\text{clk}}}{N}\), from which we can compute the expected number of satisfied clauses in the YES and NO instances using Eqs. (8) and (9). Note that the expected numbers are sufficiently far from the threshold so that we do not expect the variance of the number of satisfied clauses (for each specific instance) to affect the completeness. For these experimental parameters we also compute the soundness, which is in fact very close to 0, see Fig. 4.
In order to prove the third condition for the quantum advantage, if the proof is accepted, we count the number of variables for which Arthur has no information, i.e., N − s_{clk}, which is the information that Arthur is missing to complete the solution. We remark again that a double click in both detectors does not provide any information to Arthur and we also assume that all single clicks reveal the true variable value. With only classical resources, Arthur would need a computational time of \({2}^{\gamma (N{s}_{\text{clk}})}\), for some prefactor γ (for SAT solvers around 0.4). As we have explained, here we claim quantum advantage if N − s_{clk} is larger than 1000, but it is clear that for any given threshold one can reach quantum advantage by increasing N and improving ν.
In Table 1 we summarize our experimental data for fixed δ, slightly varying μ, and ν evaluated for every input size N. We include the number of single clicks, correct clicks, double clicks, missing bits, as well as the threshold T and the number of computed satisfied clauses in each case. As we can see, the number of bits Arthur still misses at the end of the protocol increases with N, which means that the problem is becoming more and more difficult for classical computation as N increases. Moreover, starting from N = 6000, we see that the computed number of satisfied clauses is much bigger than the threshold, hence the completeness is very close to one.
Finally, in Fig. 4 we compare the simulations with a typical run of the experiment for various N fixing the nominal photon number μ_{N}, visibility ν_{N} and the constant δ. Notice how the gap between completeness and soundness increases with N and very fast becomes almost 1. In the experimental runs shown in the figure, the only point for which we cannot show quantum advantage is the one at N = 5000, since the gap between completeness and soundness is not large enough. This is due to a low level of visibility that induced a too large number of incorrect detections in this case.
Discussion
Our result is an experimental demonstration of a computational quantum advantage in the interactive setting with linear optics. The simplicity of our experimental implementation, in addition to the powerful algorithmic idea of the Sampling Matching, exemplifies the power of linear optics, and in particular of coherent state mappings, not only for communication but also for computational tasks. It will be interesting to investigate further applications of linear optics, in particular in the frame of nearterm quantum technologies. Moreover, we would like to argue that our computational task, that of efficiently verifying NPcomplete problems with limited leakage of knowledge about the proof, is a step closer to useful applications, even though it remains for the time being a theoretical scenario. In fact, one can start imagining applications in a nearterm quantum cloud, where a powerful quantum server might have the ability to perform some difficult computation, and the much less powerful client can verify the validity of the computation, without the server needing to reveal all the information to the client. Such limitedknowledge proof systems could also have applications in a future quantum internet, similarly to classical zeroknowledge proofs that can be used for identification, authentication or blockchain. It still remains an open question to find the first concrete realworld application of quantum computers and our results show that linear optics might provide an alternative route towards that goal.
Data availability
The experimental data that support the finding are available from the authors upon request.
References
 1.
Aaronson, S. & Arkhipov, A. “The computational complexity of linear optics,” in Proceedings of the 43rd annual ACM symposium on Theory of Computing. pp. 333–342, ACM, 2011.
 2.
Neville, A. et al. Classical boson sampling algorithms with superior performance to nearterm experiments. Nat. Phys. 13, 1153 (2017).
 3.
Broome, M. A. et al. Photonic boson sampling in a tunable circuit. Science 339, 794–798 (2013).
 4.
Tillmann, M. et al. Experimental boson sampling. Nat. Photon. 7, 540–544 (2013).
 5.
Crespi, A. et al. Integrated multimode interferometers with arbitrary designs for photonic boson sampling. Nat. Photon. 7, 545–549 (2013).
 6.
Bentivegna, M. et al. Experimental scattershot boson sampling. Sci. Adv. 17, e1400255 (2015).
 7.
Zhong, H.S. et al. Experimental gaussian boson sampling. Sci. Bull. 64, 511–515 (2019).
 8.
Farhi, E. & Harrow, A. W. “Quantum supremacy through the quantum approximate optimization algorithm,” arXiv preprint arXiv:1602.07674, 2016.
 9.
Bremner, M. J., Montanaro, A. & Shepherd, D. J. Achieving quantum supremacy with sparse and noisy commuting quantum computations. Quantum 1, 8 (2017).
 10.
Bravyi, S., Gosset, D. & Koenig, R. Quantum advantage with shallow circuits. Science 362, 308–311 (2018).
 11.
Gao, X., Wang, S.T. & Duan, L.M. Quantum supremacy for simulating a translationinvariant ising spin model. Phys. Rev. Lett. 118, 040502 (2017).
 12.
BermejoVega, J., Hangleiter, D., Schwarz, M., Raussendorf, R. & Eisert, J. Architectures for quantum simulation showing a quantum speedup. Phys. Rev. X 8, 021010 (2018).
 13.
Aaronson, S. & Chen, L. Complexitytheoretic foundations of quantum supremacy experiments, Computational Complexity Conference, (2017).
 14.
Boixo, S. et al. Characterizing quantum supremacy in nearterm devices. Nat. Phys. 14, 595 (2018).
 15.
Arute, F. Quantum supremacy using a programmable superconducting processor. Nature 574, 505–510 (2019).
 16.
Pednault, E., Gunnels, J. A., Nannicini, G. Horesh, L. & Wisnieff, R. “Leveraging secondary storage to simulate deep 54qubit sycamore circuits,” arXiv preprint arXiv:1910.09534, 2019.
 17.
Woeginger, G. J. Exact algorithms for nphard problems: a survey, in Combinatorial optimizationeureka, you shrink! pp. 185–207, Springer, 2003.
 18.
Morais, E., Koens, T., Van Wijk, C. & Koren, A. A survey on zero knowledge range proofs and applications. SN Appl. Sci. 1, 946 (2019).
 19.
Hansen, T. D., Kaplan, H., Zamir, O. & Zwick, U. Faster ksat algorithms using biasedppsz, in Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, pp. 578–589, 2019.
 20.
Knill, E. “Quantum randomness and nondeterminism,” arXiv preprint quantph/9610012, 1996.
 21.
Kempe, J. & Regev, O. 3local hamiltonian is qmacomplete. Quantum Info. Comput. 258–264 (2003).
 22.
Kitaev, A. & Watrous, J. “Parallelization, amplification, and exponential time simulation of quantum interactive proof systems,” in Proceedings of the thirtysecond annual ACM symposium on Theory of computing, pp. 608–617, 2000.
 23.
Watrous, J. “Succinct quantum proofs for properties of finite groups,” in Proceedings 41st Annual Symposium on Foundations of Computer Science, pp. 537–546, IEEE, 2000.
 24.
Kobayashi, H., Matsumoto, K. & Yamakami, T. “Quantum merlinarthur proof systems: Are multiple merlins more helpful to arthur?,” in International Symposium on Algorithms and Computation, pp. 189–198, Springer, 2003.
 25.
Aaronson, S., Beigi, S., Drucker, A., Fefferman, B. & Shor, P. “The power of unentanglement,” in 2008 23rd Annual IEEE Conference on Computational Complexity, pp. 223–236, IEEE, 2008.
 26.
Arrazola, J. M., Diamanti, E. & Kerenidis, I. Quantum superiority for verifying npcomplete problems with linear optics. npj Quant. Inform 4, 56 (2018).
 27.
Kumar, N., Kerenidis, I. & Diamanti, E. Experimental demonstration of quantum advantage for oneway communication complexity surpassing bestknown classical protocol. Nat. Commun. 10, 4152 (2019).
 28.
Arrazola, J. M. & Lütkenhaus, N. Quantum fingerprinting with coherent states and a constant mean number of photons. Phys. Rev. A 89, 062305 (2014).
 29.
Arrazola, J. M. & Lütkenhaus, N. Quantum communication with coherent states and linear optics. Phys. Rev. A 90, 042335 (2014).
 30.
Xu, F. et al. Experimental quantum fingerprinting with weak coherent pulses. Nat. Commun. 6, 8735 (2015).
 31.
Guan, J.Y. et al. Observation of quantum fingerprinting beating the classical limit. Phys. Rev. Lett. 116, 240502 (2016).
 32.
Amiri, R. & Arrazola, J. M. Quantum money with nearly optimal error tolerance. Phys. Rev. A 95, 062334 (2017).
 33.
Kumar, N., Diamanti, E. & Kerenidis, I. Efficient quantum communications with coherent state fingerprints over multiple channels. Phys. Rev. A 95, 032337 (2017).
 34.
Kumar, N. Practically feasible robust quantum money with classical verification. Cryptography 3, 26 (2019).
 35.
Goldreich, O., Micali, S. & Wigderson, A. Proofs that yield nothing but their validity. J. ACM 38, 690–728 (1991).
 36.
Schöning, U. A probabilistic algorithm for ksat and constraint satisfaction, In Proceedings of IEEE Symposium of Foundations of Computer Science (FOCS), 1999.
Acknowledgements
We thank Matteo Schiavon for useful discussions and practical advice. We acknowledge financial support from the European Research Council project QUSCO (E.D.) and the French National Research Agency project quBIC.
Author information
Affiliations
Contributions
F.C. operated the experimental setup and analyzed the data. N.K. contributed to the design of the experiment. All authors contributed to the theoretical analysis and to writing the manuscript. E.D. and I.K. conceived and supervised the project.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Peer review information Nature Communications thanks Austin Lund and the other anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Centrone, F., Kumar, N., Diamanti, E. et al. Experimental demonstration of quantum advantage for NP verification with limited information. Nat Commun 12, 850 (2021). https://doi.org/10.1038/s41467021211191
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467021211191
Further reading

Quantum verification of NP problems with single photons and linear optics
Light: Science & Applications (2021)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.