From: Medical image diagnosis based on adaptive Hybrid Quantum CNN
Layer | Unary gate | Number of qubits | trainable variables |
---|---|---|---|
Quantum Convolutional Layer | 1 | 4 | 4 |
Pooling Layer | 0 | ||
Flatten Layer | 0 | ||
First Dense Layer with 128 neurons | 1 | 4 | (4 * 128) + 128 = 640 |
Second Dense Layer with 64 neurons | 1 | 4 | (128 * 64) + 64 = 8256 |
Third Dense Layer with 4 neurons | (64 * 4) + 4 = 260 |