|
a |
|
b/R&D/054 Kernel-based training.md |
|
|
1 |
[Kernel-based training parameter study](https://github.com/kevinkawchak/Medical-Quantum-Machine-Learning/blob/main/Code/PennyLane/Quantum%20Parameters%20II/Kernel-based%20training%20parameter%20study%2011-16-23.pdf) PDF 11/16/23. |
|
|
2 |
|
|
|
3 |
Purpose: Thoroughly analyze the effects adding quantum parameters has on model performance <br> |
|
|
4 |
|
|
|
5 |
Plan: <br> |
|
|
6 |
1) Improve runtimes by switching from lightning.qubit to lightning.gpu quantum device |
|
|
7 |
2) Improve runtimes by switching from parameter-shift to adjoint differentiation method |
|
|
8 |
3) Run 3 sets of 10 experiments: Increasing Layers 1-10 for ‘CNOT’, ‘CZ’, and ‘CY’ imprimitives <br> |
|
|
9 |
|
|
|
10 |
Experimental: Using a Python IDE, 30 experiments were completed to determine accuracies of the Iris |
|
|
11 |
2 Class dataset, the test loss, and model runtimes <br> |
|
|
12 |
|
|
|
13 |
Results: All experiments with at least 4 Ansatz Layers achieved 100% Test Accuracy. The CY based |
|
|
14 |
circuit with 8 Layers achieved the best Loss minimum of 0.035. Runtimes for 10 Layers favored |
|
|
15 |
‘CNOT’ at 95.8s, followed by ‘CY’ at 104.2s, and ‘CZ’ at 104.2s. A separate embedding quantum |
|
|
16 |
circuit in the demonstration also achieved perfect test accuracy |