13.3 Quantum neural networks
Let’s recall some definitions regarding neural networks from my book Dancing with Python. 211, Section 15.8 neural network quantum$neural network node neuron
Figure 13.3 shows a neural network with three input nodes, four nodes in the hidden layer, and two output nodes. Another name for a node is a neuron. I’ve shown weights w in the network on the connections from the input nodes going to the hidden nodes, and from the hidden nodes to the output nodes. Note how the network sends the value of each node to every node in the next layer.
We compute a value from the input values and weights for each node in the hidden layers. These are real numbers that we may restrict to the binary values 0 and 1. We also have an associated activation function for each node in the hidden layer, determining what value to send to...