Editing Verification of NP-complete problems

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
The aim of the protocol is to verify NP-complete problems in the context of [[communication complexity]], so in the case in which the amount of communication between the involved parties is a resource. By definition, if a problem is in NP then it is possible to verify efficiently if a given solution is correct. However, if the given solution, or [[witness]], is incomplete then the verification process is exponential in the size of the missing information.</br>
The aim of the protocol is to verify NP-complete problems in the context of [[communication complexity]], so in the case in which the amount of communication between the involved parties is a resource. By definition, if a problem is in NP then it is possible to verify efficiently if a given solution is correct. However, if the given solution, or [[witness]], is incomplete then the verification process is exponential in the size of the missing information.</br>
In this setting, Merlin,  an overpowerful but untrusted prover, wants to convince Arthur, a honest but computationally bounded verifier, that he has the solution to a specific NP-complete problem. It was shown by [[Verification of NP-complete problems#References|ADS (2008)]] that if Merlin sends quantum proofs revealing only partial information about the complete solution, Arthur can efficiently verify it in a probabilistic sense, giving rise to a computational advantage with no analogous in the classical world. These quantum class of problems is called QMA, as in Quantum Merlin Arthur, and is the generalization of NP problems as it consists to the class of languages that can be verified efficiently with quantum proofs.</br>
In this setting, Merlin,  an overpowerful but untrusted prover, wants to convince Arthur, a honest but computationally bounded verifier, that he has the solution to a specific NP-complete problem. It was shown by [[Aaronson et al.]] that if Merlin sends quantum proofs revealing only partial information about the complete solution, Arthur can efficiently verify it in a probabilistic sense, giving rise to a computational advantage with no analogous in the classical world. These quantum class of problems is called QMA, as in Quantum Merlin Arthur, and is the generalization of NP problems as it consists to the class of languages that can be verified efficiently with quantum proofs.</br>


'''Tags:''' Verification, Quantum Advantage, Communication Complexity, QMA, BQP, NP-complete, unentanglement.  
'''Tags:''' Verification, Quantum Advantage, Communication Complexity, QMA, BQP, NP-complete, unentanglement.  
Line 6: Line 6:
==Assumptions==
==Assumptions==
* The problem must be a ''[[balanced formula]]'', meaning that every variable occurs in at most a constant number of clauses;
* The problem must be a ''[[balanced formula]]'', meaning that every variable occurs in at most a constant number of clauses;
* It must be a [[PCP]], i.e. either the formula is satisfiable, or at least a fraction of the clauses must be unsatisfiable;
\item it must be a [[PCP]], i.e. either the formula is satisfiable, or at least a fraction of the clauses must
*''Exponential time hypothesis'', i.e. any NP-complete problem cannot be solved in sub-exponential time in the worst case.
be unsatisfiable;
*''Exponential time hypothesis'', i.e. any NP-complete problem cannot be solved in subexponential time in the worst case.
* There is a promise of no [[entanglement]] between the quantum proofs.
* There is a promise of no [[entanglement]] between the quantum proofs.


The first two conditions are always met when reducing the NP problem to a [[3SAT]] and then to a [[2-out-of-4SAT]]. The exponential hypothesis is unproven but very accredited conjecture which implies that <math>P\neq NP</math>. The [[un-entanglement]] promise is typical in these scenarios as it was proved that Merlin can always cheat by entangling the proofs and there is no way for Arthur to verify state by pre-preparing the ancillary states with special coefficients.
The first two conditions are always met when reducing the NP problem to a [[3SAT]] and then to a [[2-out-of-4SAT]]. The exponential hypothesis is unproven but very accredited conjecture which implies that <math>P\neq NP</math>. The [[un-entanglement]] promise is typical in these scenarios as it was proved that Merlin can always cheat by entangling the proofs and there is no way for Arthur to verify.state by pre-preparing the ancillary states with special coefficients.


==Outline==
==Outline==
In order to verify an N size 2-out-of-4SAT problem, Merlin is required to send the proof encrypted in the phase of a quantum state in a superposition of N orthogonal modes. Furthermore, he will need to send order <math>\sqrt{N}</math> identical copies of this quantum state. However, due to the Holevo bound, Arthur can retrieve at most order <math>\sqrt{N}\log_2 N</math> bits of information on average by just measuring the state, which is only a small fraction of the whole N bits solution. Therefore, to verify the correctness of the proof and the honesty of Merlin, Arthur will need to perform three distinct tests. In [[Verification of NP-complete problems#References|ADS (2017)]] they specify how these tests could be performed using a single photon source and linear optics, so in the following we will refer to it, even though the protocol can be implemented with any quantum information carriers. Each test is performed with probability 1/3.
In order to verify an N size 2-out-of-4SAT problem, Merlin is required to send the proof encrypted in the phase of a quantum state in a superposition of N orthogonal modes. Furthermore, he will need to send order <math>\sqrt{N}</math> identical copies of this quantum state. However, due to the Holevo bound, Arthur can retrieve at most order <math>\sqrt{N}\log_2 N</math> bits of information on average by just measuring the state, which is only a small fraction of the whole N bits solution. Therefore, to verify the correctness of the proof and the honesty of Merlin, Arthur will need to perform three distinct tests. In [[Arrazolla et al.]] they specify how these tests could be performed using a single photon source and linear optics, so in the following we will refer to it, even though the protocol can be implemented with any quantum information carriers. Each test is performed with probability 1/3.
*'''Satisfiability Test''' In this test Arthur chooses one of the copies of the quantum proofs and verifies that Merlin's assignment is correct, i.e. it solves his 2-out-of-4 SAT for some clauses. Because of the probabilistic nature of the protocol he will only be able to verify some of the clauses and will reject only if he detects incorrectness (so he will accept even if he does not detect anything at all).
*'''Satisfiability Test''' In this test Arthur chooses one of the copies of the quantum proofs and verifies that Merlin's assignment is correct, i.e. it solves his 2-out-of-4 SAT for some clauses. Because of the probabilistic nature of the protocol he will only be able to verify some of the clauses and will reject only if he detects incorrectness (so he will accept even if he does not detect anything at all).
*'''Uniformity Test''' Merlin can cheat by sending a state which is not proper, in which case the satisfiability test might accept even if there is no correct assignment to the problem. In order to avoid this, Arthur can perform a test on all the proofs to check if the incoming states are in the expected form.
*'''Uniformity Test''' Merlin can cheat by sending a state which is not proper, in which case the satisfiability test might accept even if there is no correct assignment to the problem. In order to avoid this, Arthur can perform a test on all the proofs to check if the incoming states are in the expected form.
*'''Symmetry Test:''' The quantum proofs might not be identical, which might mislead Arthur into believe a dishonest Merlin. To prevent this, Arthur chooses two copies at random and perform a SWAP test to see if they are the same quantum state.
*'''Symmetry Test:''' The quantum proofs might not be identical, which might mislead Arthur into believe a dishonest Merlin. To prevent this, Arthur chooses two copies at random and perform a SWAP test to see if they are the same quantum state.
==Notation==
==Notations Used==
**<math>N:</math> size of the problem
**<math>N:</math> size of the problem
**<math>x=\{x_1 x_2 ... x_N\}:</math> Merlin's assignment to solve the problem
**<math>x=\{x_1 x_2 ... x_N\}:</math> Merlin's assignment to solve the problem
Line 24: Line 25:
**<math>|\psi_x\rangle_k=\frac{1}{\sqrt{N}}\sum_{i=1}^N(-1)^{x_i}|i\rangle:</math> <math>k^th</math> quantum proof encoding the assignment x
**<math>|\psi_x\rangle_k=\frac{1}{\sqrt{N}}\sum_{i=1}^N(-1)^{x_i}|i\rangle:</math> <math>k^th</math> quantum proof encoding the assignment x
**<math>\mathcal{M}</math>: set of all the possible matchings between two indices in [N].
**<math>\mathcal{M}</math>: set of all the possible matchings between two indices in [N].
==Hardware Requirements==
==Hardware Requirements==
* '''Network Stage:''' [[:Category: Prepare and Measure Network Stage|Prepare and Measure]][[Category: Prepare and Measure Network Stage]]
* '''Network Stage:''' [[:Category: Prepare and Measure Network Stage|Prepare and Measure]][[Category: Prepare and Measure Network Stage]]
* '''Relevant Parameters:'''
* '''Relevant Parameters:'''
** <math>K=O(\sqrt{N})</math> single photon sources.
** <math>K=O(\sqrt{N}</math> single photon sources.
** K fixed  cascades  of  beamsplitters  of  depth <math>O(\log N)</math> each  preparing  a  single  photon  in  an equal superposition over N modes.
** K fixed  cascades  of  beamsplitters  of  depth <math>O(\log N)</math> each  preparing  a  single  photon  in  an equal superposition over N modes.
** KN phase-shifters, one for each mode.
** KN phase-shifters, one for each mode.
Line 34: Line 34:
** <math>K N\times N</math> active switches that perform arbitrary permutations of N modes.
** <math>K N\times N</math> active switches that perform arbitrary permutations of N modes.
** One <math>2N\times 2N</math> switch performing permutation of 2N modes.
** One <math>2N\times 2N</math> switch performing permutation of 2N modes.
** <math>O(N)</math> four-mode interferometers for the satisfiability test.
** O(N) four-mode interferometers for the satisfiability test.
** <math>O(KN)</math> two-mode interferometers for uniformity and symmetry tests.
** O(KN) two-mode interferometers for uniformity and symmetry tests.
** <math>O(KN)</math> photon number resolving detectors.
** O(KN) photon number resolving detectors.


==Properties==
==Properties==
Line 47: Line 47:
* It has been theorized that N needs to be at least about 500 in order to have the advantage over the best classical protocol.
* It has been theorized that N needs to be at least about 500 in order to have the advantage over the best classical protocol.


==Pseudocode==
==Pseudo Code==
<u>'''Stage 1'''</u> State Preparation
===General Case===
#  Merlin prepares  <math>K=O(\sqrt{N})</math> copies of the state <math>|\psi_x\rangle_k=\frac{1}{\sqrt{N}}\sum_{i=1}^N(-1)^{x_i}|i\rangle</math>.
<u>'''Stage 1'''</u>
# Sends each copy <math>|\psi\rangle_k</math> to Arthur through their quantum channel.
#
# Arthur chooses at random which test to perform.
<u>'''Stage 2'''</u>
<u>'''Stage 2'''</u> Satisfiability
*
# Arthur partition the clauses in blocks so that each block contain at most one variable.
#He decides at random which block to use and prepares his interferometers so that for each clause the respective optical modes will interfere as in the figure.
# If he detects a photon in the first detector he rejects the proof, otherwise he accepts.
<u>'''Stage 3'''</u> Uniformity
# Arthur chooses a matching <math>\mathcal{M}</math> over [N].
# He then measures each copy in the basis <math>\frac{|i\rangle+|j\rangle}{\sqrt{2}}, \frac{|i\rangle-|j\rangle}{\sqrt{2}}</math>, <math>\forall (i,j)\in \mathcal{M}</math> .
# He rejects if for any (i,j) he detects a photon in both detectors.
<u>'''Stage 4'''</u> Symmetry
# Arthur chooses at random an index <math>k\in\{2, ..., K\}</math>
# Performs a SWAP test between <math>|\psi\rangle_1</math> and <math>|\psi\rangle_k</math>.
# Accepts if SWAP test accepts.


==Further Information==
==References==
*'''Theoretical Papers'''
*'''Theoretical Papers'''
** [https://arxiv.org/abs/1711.02200 ADS (2017)]
** [https://arxiv.org/abs/1711.02200 ADS (2017)]
Please note that all contributions to Quantum Protocol Zoo may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Quantum Protocol Zoo:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)