Internal:Quantum Machine Learning: Difference between revisions
| Line 1: | Line 1: | ||
= Quantum convolutional neural networks for high energy physics data analysis = | = Quantum convolutional neural networks for high energy physics data analysis = | ||
=== Chen et al., Brookhaven National Labs | === Scalable Quantum Neural Networks for Classification === | ||
Jindi Wu, Zeyi Tao, Qun Li | |||
https://arxiv.org/abs/2208.07719 | |||
Relies on a hybrid classical-quantum architecture. Each subdomain has the following: | |||
1. Encoding Unit | |||
* Authors utilize angle encoding (N qubits for N features) because it can support gradient calculations | |||
* Amplitude encoding not used due to error rate and difficulty in computing gradients | |||
2. VQC | |||
* They follow the VQC introduced in https://www.tensorflow.org/quantum/tutorials/mnist#21_build_the_model_circuit | |||
3. Measurement | |||
* Calculation of the expectation value, seemingly Pauli-Z operator giving [-1, 1] | |||
4. The measurement of the sub domain is then encoded into a qubit in the next layer. | |||
Seemingly, this process combines both convolutional and pooling layers in the same way that Iris Cong et al. performs calculations. Advantageous over the qiskit implementation in that the "pooling layers" are not parameterized since the pooling is the measurement itself. Additionally, we can run circuits in parallel. | |||
=== Quantum convolutional neural networks === | |||
Iris Cong et al., Nature Physics | |||
https://doi.org/10.1038/s41567-019-0648-8 | |||
N qubit input requires O(log(N)) variational parameters. "This corresponds to a double exponential reduction compared with a generic quantum circuit-based classifier..." hopefully leading to faster training times? | |||
=== Quantum convolutional neural networks for high energy physics data analysis === | |||
Chen et al., Brookhaven National Labs | |||
https://journals.aps.org/prresearch/pdf/10.1103/PhysRevResearch.4.013231 | https://journals.aps.org/prresearch/pdf/10.1103/PhysRevResearch.4.013231 | ||
The (SIMULATED) QCNN follows the following protocol: | The (SIMULATED) QCNN follows the following protocol: | ||
1. Amplitude | 1. Feature mapped (Amplitude encoded?) particle images of size 30x30 are implemented in the encoding layer. | ||
2. A VQC acts as a convolutional layer. Convolutional outputs are calculated via the expectation value of the Pauli-Z operator acting on the first qubit. | 2. A VQC acts as a convolutional layer. Convolutional outputs are calculated via the expectation value of the Pauli-Z operator acting on the first qubit. | ||
Revision as of 12:17, 12 March 2023
Quantum convolutional neural networks for high energy physics data analysis
Scalable Quantum Neural Networks for Classification
Jindi Wu, Zeyi Tao, Qun Li https://arxiv.org/abs/2208.07719
Relies on a hybrid classical-quantum architecture. Each subdomain has the following:
1. Encoding Unit
- Authors utilize angle encoding (N qubits for N features) because it can support gradient calculations
- Amplitude encoding not used due to error rate and difficulty in computing gradients
2. VQC
- They follow the VQC introduced in https://www.tensorflow.org/quantum/tutorials/mnist#21_build_the_model_circuit
3. Measurement
- Calculation of the expectation value, seemingly Pauli-Z operator giving [-1, 1]
4. The measurement of the sub domain is then encoded into a qubit in the next layer.
Seemingly, this process combines both convolutional and pooling layers in the same way that Iris Cong et al. performs calculations. Advantageous over the qiskit implementation in that the "pooling layers" are not parameterized since the pooling is the measurement itself. Additionally, we can run circuits in parallel.
Quantum convolutional neural networks
Iris Cong et al., Nature Physics https://doi.org/10.1038/s41567-019-0648-8
N qubit input requires O(log(N)) variational parameters. "This corresponds to a double exponential reduction compared with a generic quantum circuit-based classifier..." hopefully leading to faster training times?
Quantum convolutional neural networks for high energy physics data analysis
Chen et al., Brookhaven National Labs https://journals.aps.org/prresearch/pdf/10.1103/PhysRevResearch.4.013231
The (SIMULATED) QCNN follows the following protocol:
1. Feature mapped (Amplitude encoded?) particle images of size 30x30 are implemented in the encoding layer.
2. A VQC acts as a convolutional layer. Convolutional outputs are calculated via the expectation value of the Pauli-Z operator acting on the first qubit.
3. Pooling is done classically with nonlinear activation functions in between convolutional layers (look deeper into this).
4. Categorical Cross Entropy Loss Function is applied to the final output.
5. Back Prop to adjust the parameters in the VQC's (convolutional layers).
We can implement this "by hand" in qiskit using their approximate expectation function on a Wahab GPU node using simulator.set_options(device='GPU'). This is considerable because it may be a faster process (also for larger circuits) than available public access QML methods.