Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

< Back to Article

CQ-CNN: A lightweight hybrid classical–quantum convolutional neural network for Alzheimer’s disease detection using 3D structural brain MRI

Fig 5

The illustration depicts our CQ-CNN architecture for binary image classification.

The input is a grayscale 2D MRI slice of size 1x128x128, which passes through a convolutional layer with a 5x5 filter, a stride of 1, and no padding, producing 2x124x124 feature maps, followed by 2x2 max-pooling, which reduces it to 2x62x62. A second convolutional layer with the same filter settings generates 4x58x58 feature maps, which are then reduced to 4x29x29 through max-pooling. A dropout layer is applied for regularization, and the output is flattened for the fully connected (dense) layer. The processed data is then fed into the PQC, where classical data is encoded into quantum states, followed by ansatz layers with learnable parameters updated using the gradient descent algorithm defined in Eq 8, and finally measured to produce classification probabilities, resulting in the output vector γ.

Fig 5

doi: https://doi.org/10.1371/journal.pone.0331870.g005