2

Statement of the problem.

I want to consider/design a quantum circuit that takes as input two vectors $\vert x \rangle$  and $\vert y \rangle$. The output of this quantum circuit must contain the reflected vector of   $\vert y \rangle$  with respect to  $\vert x \rangle$  (and whatever else that is irrelevant to the purpose ) . I can't find a solution to this problem.  I am not sure if this reference might give a clue towards a solution (programmable quantum gate arrays?). We work in a Hilbert space of fixed (but large) dimension.

Question.  Does such a quantum circuit exist?

Note that a solution for this problem is important,  because if such a quantum circuit exists, then an exponential speedup of Grover's algorithm would become a possibility (relevant for practical problems ),  as can be seen in this question .

glS
  • 24,708
  • 5
  • 34
  • 108

1 Answers1

4

Such an operation would not be linear in the $|x\rangle$ input.

Consider the simplest example with $|x\rangle$ and $|y\rangle$ two qubits. We want an operation implementing the following transformation: $$|x\rangle\otimes |y\rangle\to |\psi_{x,y}\rangle\otimes(-|y\rangle + 2|x\rangle\langle x|y\rangle),\tag1$$ for some output qubit $|\psi_{x,y}\rangle$. Consider how this would work on the computational basis: $$\begin{align} |0,0\rangle&\to \phantom{-}|\psi_{00},0\rangle, \\ |0,1\rangle&\to -|\psi_{01},1\rangle, \\ |1,0\rangle&\to -|\psi_{10},0\rangle, \\ |1,1\rangle&\to \phantom{-}|\psi_{11},1\rangle. \end{align}$$ Now consider the action of this map on $|+,0\rangle$. Eq. (1) would tell us that $$|+,0\rangle\to -|0\rangle+2\frac{1}{\sqrt2}|+\rangle = |1\rangle.$$ At the same time, linearity would imply $$|+,0\rangle\to (|\psi_{00}\rangle-|\psi_{10}\rangle)\otimes|0\rangle,$$ which is clearly not how the reflection operation should behave.

The fact that the operation is non-linear (rather than just non-unitary) tells you that there is no way of using additional ancillary degrees of freedom to implement it: there is no quantum channel achieving this operation. At the same time, for every $x$, the action on $y$ is linear (and if this wasn't the case, that would be a rather big problem for anything Grover-related).

This means that $x$ needs to be part of the specification of $\Phi$, which is how it usually appears when discussing Grover (the projections are essentially unitaries parametrised by an $x$). Now, this might appear contradictory: after all, if I "enlarge enough the black box", at some point I must be able to describe the choice of $x$ as input to some operation. If I were to guess, the solution to this conundrum is that this reflection operation is possible, as long as you don't require it to work on all $x$. In other words, it's fine to have this operation, provided you restrict the possible choices of $x$ to an orthogonal set of vectors (e.g. $|0\rangle$ and $|1\rangle$ in this case). Note how this is exactly the same situation you have for the "cloning operation".

glS
  • 24,708
  • 5
  • 34
  • 108
  • Thank you @glS . No wonder I couldn't find a solution. I don't know if specially designed quantum systems (not necessarily standard quantum circuits) can solve the problem or whether it's possible to approximate this mapping with standard quantum circuits (or some other method). Feedback appreciated. – Cristian Dumitrescu May 09 '20 at 19:01
  • @CristianDumitrescu the comment turned out to be too long so I added it to the answer. In summary, I don't think you can approximate this in any way: there is no way to go around the non-linearity of the operation. However, for things like Grover, you probably don't need it. The reflection operation can be implemented, you just can't have it work reliably for non-orthogonal values of $x$, but I don't think you need that – glS May 09 '20 at 19:16
  • I know there is a lot of research in nonlinear quantum gates at the moment. If this operator can be successfully implemented then an exponential speedup of Grover's algorithm is possible (as can be seen in the second link in my question),  and that means that most/all practical problems (in industry,  technology,  etc.) of interest  could be solved efficiently. Thank you for your feedback @glS – Cristian Dumitrescu May 10 '20 at 22:57
  • @CristianDumitrescu The "nonlinearity" in the "research in nonlinear gates" you might have seen is not the same "nonlinearity" I'm talking about here. Any evolution following the rules of QM is linear, in the sense that $\Phi(\rho+\sigma)=\Phi(\rho)+\Phi(\sigma)$. There is no going around this staying within QM. However, the term "nonlinearity" is also used in the context of bosonic systems to refer to dynamics that are nonlinear in the creation/annihilation operators. E.g. a squeezing operator is "nonlinear" in this sense. These are very different notions, despite the confusing notation. – glS May 10 '20 at 23:01
  • (unless of course you are referring to research into extensions of quantum mechanics) – glS May 10 '20 at 23:05
  • I don't dare say that the Schrodinger's equation is missing some small nonlinear terms , that's beyond my level. I browsed the paper: https://arxiv.org/abs/quant-ph/9801041 but I didn't study it. I just hope that there is a way to implement this operator and efficiently solve all hard problems of practical interest. @glS – Cristian Dumitrescu May 10 '20 at 23:27
  • I read carefully your answer. In the reference linked in my question (Programmable quantum gate arrays) it is proved that a deterministic programmable gate array must have as many Hilbert dimensions in the program register as programs are implemented (consequence of the orthogonality of the program states). If each program is given as input on n qubits, then n programs would require the array to have $n^2$ qubits in the program register, but in principle possible. In our case $\vert x \rangle$ is the program, the reflection axis. – Cristian Dumitrescu May 16 '20 at 07:08
  • And that means that the algorithm described in the related question (linked in my question ) can be implemented. That is $\vert \xi_1 \rangle = U_s U_\omega \vert s \rangle$ , $\vert \xi_2 \rangle = U_{\xi_1} U_\omega \vert s \rangle$ , $\vert \xi_3 \rangle = U_{\xi_2} U_\omega \vert s \rangle$ , ...........$\vert \xi_n \rangle = U_{\xi_{n-1}} U_\omega \vert s \rangle$ . And this algorithm finds a solution exponentially faster than Grover. In other words, for a fixed large n we can actually build this complex quantum circuit that would solve problems of practical interest efficiently. – Cristian Dumitrescu May 16 '20 at 07:25
  • Am I correct in my assessment and understanding of this problem? Your feedback will be greatly appreciated @glS related to the two comments above. – Cristian Dumitrescu May 16 '20 at 07:30
  • @CristianDumitrescu I'm afraid I don't quite have the time to properly go through that paper or your other question right now. From a very cursory look at the paper, I notice they mention that the different programs need to be orthogonal, which sounds quite close to my statement about the rotation axes (which should be directly relatable to "programs") needing to be orthogonal. I would suggest you to ask another question focusing on this specific issue (and make it as specific as possible, which is always better), as comments are not really built for discussions. – glS May 16 '20 at 08:08
  • One thing I'd note is that Grover's algorithm is provably optimal though, so I'm doubtful about claims of an exponentially faster version of it – glS May 16 '20 at 08:09
  • Yes, after reading your answer and comments I understood better the paper mentioned. I will study Grover's optimality proof in order to see whether there are certain assumptions in that proof that do not apply to the recursive procedure outlined above. One difference that I see is that we have to fix n (the number of qubits) in advance, the presumably faster algorithm is only relevant in connection to practical problems of interest, Since I am not an expert in quantum computing I could surely use some help with this. In any case thank you @glS – Cristian Dumitrescu May 17 '20 at 04:53
  • I followed your advice @glS That's the best I can do. https://quantumcomputing.stackexchange.com/q/12071/10110 – Cristian Dumitrescu May 18 '20 at 23:50
  • I am currently looking into a different approach @glS https://quantumcomputing.stackexchange.com/q/12143/10110 Same objective, efficiently solving NP complete problems. Feedback appreciated. – Cristian Dumitrescu May 23 '20 at 17:19