Verification of NP-complete problems: Difference between revisions

(Created page with " This protocol achieves the functionality of Quantum Cloning. Asymmetric universal cloning refers to a quantum cloning machine (QCM) where its output clones are not the sa...")
 
 
(15 intermediate revisions by 2 users not shown)
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>
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>


This protocol achieves the functionality of [[Quantum Cloning]]. Asymmetric universal cloning refers to a quantum cloning machine (QCM) where its output clones are not the same or in other words, they have different [[fidelities]]. Here we focus on <math>1 \rightarrow 1 + 1</math> universal cloning. In asymmetric cloning, we try to distribute information unequally among the copies. A trade-off relation exists between the fidelities, meaning if one of the copies are very close to the original state, the other one will be far from it. There are two approaches to this kind of cloning, both leading to same trade-off relation. Here we discuss the quantum circuit approach (Buzek et al., 1997) It can be also noted that the symmetric universal <math>1 \rightarrow 2</math> cloning can be considered as a special case of the asymmetric universal cloning where the information between copies has been equally distributed.
'''Tags:''' Verification, Quantum Advantage, Communication Complexity, QMA, BQP, NP-complete, unentanglement.  


'''Tags:''' [[Category: Building Blocks]][[:Category: Building Blocks|Building Blocks]], [[Quantum Cloning]], Universal Cloning, asymmetric cloning, copying quantum states, [[:Category: Quantum Functionality|Quantum Functionality]][[Category: Quantum Functionality]], [[:Category:Specific Task|Specific Task]][[Category:Specific Task]],symmetric or [[Optimal Universal N-M Cloning|Optimal or Symmetric Cloning]], [[Probabilistic Cloning]]
==Assumptions==
==Assumptions==
* We assume that the original input qubit is unknown and the protocol is independent of the original input state (universality).
* The problem must be a ''[[balanced formula]]'', meaning that every variable occurs in at most a constant number of clauses;
* The output copies are not identical and we are able to control the likelihood (fidelity) of the output copies to the original state by pre-preparing the ancillary states with special coefficients.
* It must be a [[PCP]], i.e. either the formula is satisfiable, or at least a fraction of the clauses must be unsatisfiable;
*''Exponential time hypothesis'', i.e. any NP-complete problem cannot be solved in sub-exponential time in the worst case.
* 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.
 
==Outline==
==Outline==
In this protocol, there are three main stages. The first stage is a preparation stage. we prepare two ancillary states with special coefficients which will lead to the desired flow of the information between copied states. The original state will not be engaged at this stage. At the second stage the cloner circuit will act on all the three states (the original and two other states) and at the second stage the two copied state will appear at two of the outputs and one of the outputs should be discarded. The Procedure will be as following:
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.
* Prepare two blank states and then perform a transformation taking these two states to a new state with pre-selected coefficients in such a way that the information distribution between two final states will be the desired.[[File:Asymmetriccloner.jpg|right|thumb|1000px| Graphical representation of the network for the asymmetric cloner. The CNOT gates are shown in the cloner section with control qubit (denoted as <math>\bullet</math> ) and a target qubit (denoted as <math>\circ</math> ). We separate the preparation of the quantum copier from the cloning process itself.]]  
*'''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).
*Perform the cloner circuit. the cloner circuit consists of four CNOT gate acting in all the three input qubits. For every CNOT gate, we have a control qubit (which indicates whether or not the CNOT should act) and a target qubit (which is the qubit that CNOT gate acts on it and flips it).  
*'''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.
* The two asymmetric clones will appear at two of the outputs (depending on the preparation stage) and the other output should be discarded.
*'''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.
==Notations Used==
==Notation==
**<math>|\psi\rangle_{in}:</math>The original input state
**<math>N:</math> size of the problem
**<math>\rho_{\psi_{in}}:</math> The density matrix of the input pure state equal to <math>|\psi_{in}\rangle\langle\psi_{in}|</math>
**<math>x=\{x_1 x_2 ... x_N\}:</math> Merlin's assignment to solve the problem
**<math>s_0:</math> The scaling parameter of the first clone
**<math>K=O(\sqrt{N}):</math> number of copies of the quantum proof
**<math>s_12:</math> The scaling parameter of the second clone
**<math>|i\rangle=|0\rangle_1|0\rangle_2...|1\rangle_i...|0\rangle_N:</math> state of one photon in the <math>i^th</math> optical mode and zero in the others
**<math>\rho_{a}^{out}:</math> The output density matrix of the first clone (equal to <math>|\psi_{a}^{out}\rangle\langle\psi_{a}^{out}|</math> if the output state is pure)
**<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>\rho_{b}^{out}:</math> The output density matrix of the second clone (equal to <math>|\psi_{b}^{out}\rangle\langle\psi_{b}^{out}|</math> if the output state is pure)
**<math>\mathcal{M}</math>: set of all the possible matchings between two indices in [N].
**<math>\hat{I}:</math> The ``Identity" or completely mixed density matrix
 
**<math>|0\rangle_{m_0} \otimes |0\rangle_{n_0} \equiv |00\rangle:</math> state of the ancillary qubits before preparation phase
==Hardware Requirements==
**<math>|\psi\rangle_{m_1,n_1}:</math> state of the ancillary qubits after the preparation
* '''Network Stage:''' [[:Category: Prepare and Measure Network Stage|Prepare and Measure]][[Category: Prepare and Measure Network Stage]]
**<math>c_j:</math> amplitudes (or coefficients) of the prepared state $|\psi\rangle_{m_1,n_1}$. These coefficients are being used to control the flow of the information between the copies before starting the cloning process.
* '''Relevant Parameters:'''
**<math>P_{k,l}:</math> The CNOT gate where the control qubit is <math>k</math> and the target qubit is <math>l</math>  
** <math>K=O(\sqrt{N})</math> single photon sources.
**<math>|\psi\rangle_{out}:</math> The total output of the asymmetric cloning circuit
** K fixed  cascades  of  beamsplitters  of  depth <math>O(\log N)</math> each  preparing  a  single  photon  in  an equal superposition over N modes.
**<math>|\Phi^+\rangle = \frac{1}{\sqrt{2}}(|00\rangle + |11\rangle):</math> Bell state
** KN phase-shifters, one for each mode.
**<math>|+\rangle =  \frac{1}{\sqrt{2}}(|0\rangle + |1\rangle):</math> Plus state. The eigenvector of Pauli X
** One <math>K\times K</math> block switch that permutes groups 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.
** <math>O(N)</math> four-mode interferometers for the satisfiability test.
** <math>O(KN)</math> two-mode interferometers for uniformity and symmetry tests.
** <math>O(KN)</math> photon number resolving detectors.


==Properties==
==Properties==
*The protocol assumes that the original input qubit is unknown and the protocol is independent of the original input state (universality).
The protocol
*The output copies are not identical and we are able to control the likelihood (fidelity) of the output copies to the original state by pre-preparing the ancillary states with special coefficients.
* involves two parties and one-way communication from the prover to the verifier.
*Claims for General case:
* assumes that anyone might be dishonest and still provide perfect completeness and constant soundness.
**Following inequality holds between the scaling factors <math>s_0</math> and <math>s_1</math></br>
* has a communication complexity of <math>O(\sqrt{N}\log_2N)</math> bits of information.
<math>s_0^2 + s_1^2 + s_0 s_1 - s_0 - s_1 \leq 0</math>
* runs in exponential time, while it can be shown that by using classical proofs, the best protocol run in exponential time in the size of N.
**This elliptic inequality shows the possible value of the scaling parameters.
* can be implemented with linear optics (not exclusively).
**Trade-off inequality between the fidelities of the clones:</br>
* It has been theorized that N needs to be at least about 500 in order to have the advantage over the best classical protocol.
<math>\sqrt{(1 - F_a)(1 - F_b)} \geq \frac{1}{2} - (1 - F_a) - (1 - F_b)</math>
**Optimality is provided when the fidelities of two clones, <math>F_a</math> and <math>F_b</math>, saturate the above inequality
*Claims for Special case with bell state:
**Following ellipse equation holds between the scaling factors <math>a</math> and <math>b</math></br>
<math>a^2 + b^2 + ab = 1</math>
**Following equations holds for fidelities of the clones:
<math>F_a = 1 - \frac{b^2}{2}, F_b = 1 - \frac{a^2}{2}</math>


==Pseudo Code==
==Pseudocode==
===General Case===
<u>'''Stage 1'''</u> State Preparation
For more generality, we use the [[density matrix]] representation of the states which includes [[mixed states]] as well as [[pure states]]. For a simple pure state <math>|\psi\rangle</math> the density matrix representation will be <math>\rho_{\psi} = |\psi\rangle\langle\psi|</math>. Let us assume the initial qubit to be in an unknown state <math>\rho_{\psi}</math>. Our task is to clone this qubit universally, i.e. input-state independently, in such a way, that we can control the scaling of the original and the clone at the output. In other words, we look for output which can be represented as below:</br>
# 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>.
<math>\rho_{a}^{out} = s_0 \rho_{\psi} + \frac{1 - s_0}{2} \hat{I}</math></br>
# Sends each copy <math>|\psi\rangle_k</math> to Arthur through their quantum channel.
<math>\rho_{b}^{out} = s_1 \rho_{\psi} + \frac{1 - s_1}{2} \hat{I}</math></br>
# Arthur chooses at random which test to perform.
Here we assume that the original qubit after the cloning is “scaled” by the factor <math>s_0</math>, while the copy is scaled by the factor <math>s_1</math>. These two scaling parameters are not independent and they are related by a specific inequality.</br></br>
<u>'''Stage 2'''</u> Satisfiability
<u>'''Stage 1'''</u> Cloner State Preparation
# Arthur partition the clauses in blocks so that each block contain at most one variable.
# Prepare the original qubit and two additional blank qubits <math>m</math> and <math>n</math> in pure states: <math>|0\rangle_{m_0} \otimes |0\rangle_{n_0} \equiv |00\rangle</math>
#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.
#Prepare <math>|\psi\rangle_{m_1,n_1} = c_1|00\rangle + c_2|01\rangle + c_3|10\rangle + c_4|11\rangle</math>, where the complex <math>c_i</math> coefficients will be specified so that the flow of information between the clones will be as desired. </br>At this stage the original qubit is not involved, but this preparation stage will affect the fidelity of the clones at the end of the process.
# If he detects a photon in the first detector he rejects the proof, otherwise he accepts.
#To prepare the <math>|\psi\rangle_{m_1,n_1}</math> state, a Unitary gate must be performed so that:
<u>'''Stage 3'''</u> Uniformity
<math>U|00\rangle = |\psi\rangle_{m_1,n_1}</math>
# Arthur chooses a matching <math>\mathcal{M}</math> over [N].
*Use following relations to specify <math>c_j</math> in terms of <math>a</math> and <math>b</math>:</br>
# 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> .
<math>c_1 = \sqrt{\frac{s_0 + s_1}{2}}</math>, <math>c_2 = \sqrt{\frac{1 - s_0}{2}}</math>, <math>c_3 = 0</math>, <math>c_4 = \sqrt{\frac{1 - s_1}{2}}</math></br>
# He rejects if for any (i,j) he detects a photon in both detectors.
these <math>c_j</math> satisfy the scaling equations and also the normalization condition of the state <math>|\psi\rangle_{m_1,n_1}</math>. They are being used to control the flow of information between the clones</br></br>
<u>'''Stage 4'''</u> Symmetry
<u>'''Stage 2'''</u> Cloning Circuit
# Arthur chooses at random an index <math>k\in\{2, ..., K\}</math>
*The cloning circuit consists of four CNOT gates acting on original and pre-prepared qubits from stage 2. We call the original qubit <math>|\psi\rangle_{in}</math>, ``first qubit", the first ancillary qubit of <math>|\psi\rangle_{m_1,n_1}</math>, ``second qubit" and the second one, ``third qubit". The CNOT gates will act as follows:
# Performs a SWAP test between <math>|\psi\rangle_1</math> and <math>|\psi\rangle_k</math>.
#First CNOT acts on first and second qubit while the first qubit is control and the second qubit is the target.
# Accepts if SWAP test accepts.
#Second CNOT acts on first and third qubit while the first qubit is control and the third qubit is the target.
# Third CNOT acts on first and second qubit while the second qubit is control and the first qubit is the target.
# Forth CNOT acts on first and third qubit while the third qubit is control and the first qubit is the target.
*Mathematically the cloning part of the protocol can be shown as:</br>
<math>|\psi\rangle_{out} = P_{3,1} P_{2,1} P_{1,3} P_{1,2} |\psi\rangle_{in} |\psi\rangle_{m_1,n_1}</math></br></br>
<u>'''Stage 3'''</u> Discarding ancillary state
*Discard one of the extra states. The output states will be the first and second (or third) output.</br></br>
===Special case with bell state:===
<u>'''Stage 1'''</u> Cloner state preparation
# Prepare the original qubit and two additional blank qubits <math>m</math> and <math>n</math> in pure states: <math>|0\rangle_{m_0} \otimes |0\rangle_{n_0} \equiv |00\rangle</math>
# Prepare <math>|\psi\rangle_{m_1,n_1} = a|\Phi^{+}\rangle_{m_1,n_1} + b|0\rangle_{m_1} |+\rangle_{n_1}</math>, where <math>|\Phi^{+}\rangle</math> is a [[Bell state]] and <math>|+\rangle = \frac{1}{\sqrt{2}}(|0\rangle + |1\rangle)</math>. In this case, the density matrix representation of the output states will be:</br>
<math>\rho_{a}^{out} = (1 - b^2) |\psi\rangle\langle\psi| + \frac{b^2}{2} \hat{I}</math></br>
<math>\rho_{b}^{out} = (1 - a^2) |\psi\rangle\langle\psi| + \frac{a^2}{2} \hat{I}</math></br>
<u>'''Stage 2'''</u> Cloning Circuit
* The cloning circuit is exactly the same as the general case. after the cloning circuit, the output state will be:</br>
<math>a|\psi\rangle_{in} |\Phi^+\rangle_{m,n} + b|\psi\rangle_m |\Phi^+\rangle_{in,n}</math>
The reduced density matrix of two clones A and B can be written in terms of their fidelities:</br>
<math>\rho_{a}^{out} = F_a |\psi\rangle\langle\psi| + (1 - F_a)|\psi^{\perp}\rangle\langle\psi^{\perp}|</math></br>
<math>\rho_{b}^{out} = F_b |\psi\rangle\langle\psi| + (1 - F_b)|\psi^{\perp}\rangle\langle\psi^{\perp}|</math></br>
<u>'''Stage 3'''</u> Discarding ancillary state
* The same as the general case.


==Further Information==
==Further Information==
*'''Theoretical Papers'''
** [https://arxiv.org/abs/1711.02200 ADS (2017)]
** [http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.244.6864&rep=rep1&type=pdf Tapp (2008)]
** [https://www.computer.org/csdl/10.1109/CCC.2008.5 ADBSF (2008)]
*'''Experimental Papers''' There has not been any experimental implementation of this protocol so far.
<div style='text-align: right;'>''*contributed by Federico Centrone''</div>
<div style='text-align: right;'>''*contributed by Federico Centrone''</div>

Latest revision as of 06:52, 11 June 2019

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.
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 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.

Tags: Verification, Quantum Advantage, Communication Complexity, QMA, BQP, NP-complete, unentanglement.

AssumptionsEdit

  • 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;
  • Exponential time hypothesis, i.e. any NP-complete problem cannot be solved in sub-exponential time in the worst case.
  • 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  . 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.

OutlineEdit

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   identical copies of this quantum state. However, due to the Holevo bound, Arthur can retrieve at most order   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 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.

  • 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.
  • 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.

NotationEdit

    •   size of the problem
    •   Merlin's assignment to solve the problem
    •   number of copies of the quantum proof
    •   state of one photon in the   optical mode and zero in the others
    •     quantum proof encoding the assignment x
    •  : set of all the possible matchings between two indices in [N].

Hardware RequirementsEdit

  • Network Stage: Prepare and Measure
  • Relevant Parameters:
    •   single photon sources.
    • K fixed cascades of beamsplitters of depth   each preparing a single photon in an equal superposition over N modes.
    • KN phase-shifters, one for each mode.
    • One   block switch that permutes groups of N modes.
    •   active switches that perform arbitrary permutations of N modes.
    • One   switch performing permutation of 2N modes.
    •   four-mode interferometers for the satisfiability test.
    •   two-mode interferometers for uniformity and symmetry tests.
    •   photon number resolving detectors.

PropertiesEdit

The protocol

  • involves two parties and one-way communication from the prover to the verifier.
  • assumes that anyone might be dishonest and still provide perfect completeness and constant soundness.
  • has a communication complexity of   bits of information.
  • runs in exponential time, while it can be shown that by using classical proofs, the best protocol run in exponential time in the size of N.
  • can be implemented with linear optics (not exclusively).
  • It has been theorized that N needs to be at least about 500 in order to have the advantage over the best classical protocol.

PseudocodeEdit

Stage 1 State Preparation

  1. Merlin prepares   copies of the state  .
  2. Sends each copy   to Arthur through their quantum channel.
  3. Arthur chooses at random which test to perform.

Stage 2 Satisfiability

  1. Arthur partition the clauses in blocks so that each block contain at most one variable.
  2. 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.
  3. If he detects a photon in the first detector he rejects the proof, otherwise he accepts.

Stage 3 Uniformity

  1. Arthur chooses a matching   over [N].
  2. He then measures each copy in the basis  ,   .
  3. He rejects if for any (i,j) he detects a photon in both detectors.

Stage 4 Symmetry

  1. Arthur chooses at random an index  
  2. Performs a SWAP test between   and  .
  3. Accepts if SWAP test accepts.

Further InformationEdit

*contributed by Federico Centrone