1
$\begingroup$

In regards to "Classification with Quantum Neural Networks on near term processors" (which you can find here) , there are still a few things that do not make entirely sense to me.

First of all, why is the architecture called a "neural network"? As far as my knowledge goes, in classical ML, the fundamental unit of Neural Networks is the perceptron. However, in Farhi and Neven's paper, they never mention any form of Quantum Perceptron.

Secondly, I do not understand the figure describing the architecture (it's Figure 1 in the paper). If you look closely, there is some cross wiring, etc. (I have to admit, the figure looks like a Neural Network, but it doesn't make sense to me). I was able to implement the Subset Parity Problem using Qiskit (because nonetheless, I understand the math behind the model), and the circuit I got doesn't look like the one in the figure.

I hope you can clarify this for me.

Thank you in advance!

$\endgroup$
5
  • $\begingroup$ The transfer function for each perceptron is a non-linear function that takes a linear combination of inputs to produce an output. In the simplest case we try to approximate a function using as linear combination of functions (perceptrons). In qnn we already have our transfer functions defined ... they are our unitary rotations. Arbitary unitary operators can be decomposed into a sequence of controlled rotations, hence in a qnn we aim to approximate the function, an arbitary unitary, by searching for the sequence of rotations, in this case our parameters to adjust are the angles. $\endgroup$
    – Sam Palmer
    Commented May 27, 2020 at 18:07
  • $\begingroup$ to answer your question more directly, to me the definition of a neural network, now more a buzzword, is the application of a parametrisable combination of functions used to approximate a target function, whether this is 'wires and weights' or rotations. $\endgroup$
    – Sam Palmer
    Commented May 27, 2020 at 18:20
  • 1
    $\begingroup$ @SamPalmer but, if I'm reading the paper correctly, there is a crucial difference in that there is no nonlinearity in these "QNNs". In NNs, the nonlinearity component is pivotal, lest the whole function being linear and not able to capture complex patterns. There is nothing of that in the QNN (nor there could be, unless measurements are introduced). Their circuit is trained to reproduce unitary relations between input and output states. Tbh the only thing I see in common with NNs is the use of a parametrisation in terms of a sequence of trained maps.. $\endgroup$
    – glS
    Commented May 27, 2020 at 20:22
  • 1
    $\begingroup$ whether that's enough to justify the terminology, is a matter of opinion. IMHO it is a bit of a stretch, but others will disagree. Regardless, I don't see how this question can be answered objectively, in lack of a strict definition of what a "QNN" should be (which there isn't). Also, @Skyris each post should contain a single question. You can create different posts to ask different questions. $\endgroup$
    – glS
    Commented May 27, 2020 at 20:26
  • $\begingroup$ I agree, but these days what is going to keep you more relevant in search and citations, quantum neural network (sounds pretty awesome) or a universal unitary approximator circuit. Don't get me started on the overuse and hype of 'data science' buzzwords! However there a flavours of neural networks, and the full term quantum protects it somewhat of trying to be a direct implementation of a classical NN, I'm not well versed in qnns but it may be that this is the closest type of approximator to a nn that you can achieve on a quantum processor, which somewhat validates usage of the term qnn. $\endgroup$
    – Sam Palmer
    Commented May 28, 2020 at 1:53

1 Answer 1

2
$\begingroup$

On page 2, the authors of the paper write "We continue to use the word 'neural' to describe our network since the term has been adopted by the machine learning community recognizing that the connection to neuroscience is now only historical".

As for the question about subset parity, you implement subset parity with controlled unitary gates. However, controlled unitaries can be written as a product of n^2 two qubit unitaries. These two-qubit unitaries are exactly what is present in the diagram you mentioned in your question.

However, for other problems like MNIST classification, the authors randomly assign two qubit unitaries in the circuit. The Reed-Muller formula that is used for subset parity is just another way to think about the two-qubit unitaries.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.