This protocol uses a publicly available, de-identified, third-party voice-recording dataset. No new human-subject data were collected by the authors, and no additional institutional review board (IRB) approval was required for this study. The dataset described in the Dataset Acquisition and Participant-Level Data Handling subsection was originally collected under institutional ethical approval by Little et al.3, contains no directly identifying participant information (only anonymized recording identifiers), and is publicly available for research use. Confirm, according to your institutional policies, whether secondary analysis of this publicly available dataset requires ethics review. At the authors' institution, retrospective secondary analysis of this fully de-identified, publicly archived dataset was determined to be exempt from full IRB review.
Dataset Acquisition and Participant-Level Data Handling
The Parkinson’s Disease Classification dataset (UCI Machine Learning Repository, Dataset ID 174), originally described by Little et al.3, was downloaded. The dataset contained 195 sustained-vowel /a/ phonation recordings from 31 individuals (23 diagnosed with Parkinson Disease and 8 healthy controls; age range, 46–85 years). Because the repository does not provide a versioned DOI, the exact download date was recorded and reported in the Table of Materials. The dataset was provided as a comma-separated values (CSV) file (parkinsons.csv). No decompression or file conversion was required, and the file was imported directly using the read_csv function from the Pandas library (see Table of Materials).
The downloaded dataset was verified to contain 195 rows and 24 columns comprising one recording identifier column (format: phon_R01_S
subject
_
recording
), 22 continuous acoustic feature columns (Table 1), and one binary class-label column (status: 1 = Parkinson Disease; 0 = healthy control). Table 1 was used as the reference for all acoustic features and feature categories throughout the protocol.
| Category | Representative Features | Clinical Significance |
| Fundamental frequency | MDVP:Fo(Hz), MDVP:Fhi(Hz), MDVP:Flo(Hz) | Average, maximum, and minimum fundamental frequency of phonation; reflects stability of vocal fold vibration. |
| Jitter (frequency perturbation) | MDVP:Jitter(%), MDVP:Jitter(Abs), MDVP:RAP, MDVP:PPQ, Jitter:DDP | Cycle-to-cycle variation in pitch period, reflecting impaired laryngeal motor control. |
| Shimmer (amplitude perturbation) | MDVP:Shimmer, MDVP:Shimmer(dB), Shimmer:APQ3, Shimmer:APQ5, MDVP:APQ, Shimmer:DDA | Cycle-to-cycle variation in signal amplitude, reflecting breathy or unstable phonation. |
| Noise measures | NHR, HNR | Ratio of noise to harmonic (tonal) components of the voice signal. |
| Nonlinear dynamics / fractal scaling | RPDE, D2, DFA, spread1, spread2, PPE | Measures of nonlinear vocal dynamics, periodicity, and long-range temporal correlations associated with vocal fold vibration. |
Table 1: Acoustic feature categories used for Parkinson Disease classification. The 22 acoustic voice features extracted from the Parkinson's Disease Classification dataset are grouped into five feature categories: fundamental frequency, jitter, shimmer, noise measures, and nonlinear dynamics. Representative features are listed for each category together with their corresponding clinical significance. MDVP, Multidimensional Voice Program; RAP, relative average perturbation; PPQ, pitch period perturbation quotient; APQ, amplitude perturbation quotient; DDP, difference of differences of periods; DDA, average absolute difference of amplitudes; NHR, noise-to-harmonics ratio; HNR, harmonics-to-noise ratio; RPDE, recurrence period density entropy; D2, correlation dimension; DFA, detrended fluctuation analysis; PPE, pitch period entropy.
A participant identifier was extracted for each recording by parsing the substring preceding the final underscore in the recording name. For example, phon_R01_S01_1 and phon_R01_S01_2 were assigned to participant S01. Participant identifiers, rather than recording identifiers, were subsequently used for all grouped or leave-one-participant-out validation procedures described in the Evaluation Protocol subsection because recordings obtained from the same participant are acoustically correlated. After extraction, a frequency table of the identifiers was generated and inspected to confirm that all 195 recordings were assigned to exactly 31 unique participants, that no recording remained unassigned, and that the number of recordings per participant matched the source dataset documentation.
The class distribution was tabulated at both the recording level (147 Parkinson Disease recordings, 75.4%; 48 healthy-control recordings, 24.6%) and the participant level (23 of 31 participants, 74.2%, diagnosed with Parkinson Disease). Both distributions were reported because recording-level and participant-level class imbalance are not identical and influence downstream evaluation.
The absence of age- or sex-matched Parkinson Disease and healthy-control groups in the source dataset was documented as a study limitation and carried forward to the Discussion because this characteristic reflects the original data collection and cannot be corrected through downstream preprocessing.
Preprocessing Pipeline
All preprocessing procedures were performed independently within each training fold of the cross-validation procedure described in the Evaluation Protocol subsection. Both Min–Max normalization steps and principal component analysis (PCA) were fitted using only the training partition of each fold. The fitted transformations were subsequently applied to the corresponding held-out test partition without refitting to prevent information leakage from the test partition into the preprocessing parameters.
The 22 raw acoustic features in each training partition were normalized using a Min–Max scaler with an output range of [0, π]. The fitted scaler was then applied to both the training and test partitions of the corresponding fold (Equation 1). Equation 1 follows the standard Min–Max normalization formulation and was defined for the present protocol. Min–Max normalization was performed using the MinMaxScaler class from scikit-learn (version 1.8.0) with feature_range=(0, π), copy=True, and clip=False.
(1)
A PCA model with n_components = 4 was fitted using only the normalized training data. The fitted PCA transformation was then applied to both the training and test partitions. The proportion of total variance explained by the four retained principal components was recorded for each fold. Across the analyses reported here, the four retained principal components explained 81.5% of the total variance (50.3%, 16.3%, 9.4%, and 5.5%, respectively). PCA was performed using the PCA class with n_components=4, svd_solver="full", whiten=False, and random_state=42.
Because PCA may generate negative-valued component scores, a second Min–Max scaler with an output range of [0, π] was fitted using the PCA-transformed training partition. The fitted scaler was subsequently applied to both the training and test partitions. Any transformed test-partition value that fell outside the interval [0, π] was clipped to the nearest boundary because the scaler had been fitted using only the training partition. No zero-variance features were present in the dataset. The range of every feature across all 195 recordings was strictly positive; therefore, no division-by-zero condition arose. This was confirmed by verifying that the scaled output contained neither NaN nor infinite values.
The four re-normalized principal components were assigned sequentially as rotation angles for qubits 0, 1, 2, and 3 during the angle-encoding procedure described in the Quantum Circuit Construction subsection. The first principal component was assigned to qubit 0, the second to qubit 1, the third to qubit 2, and the fourth to qubit 3. This completed the preprocessing pipeline and transferred the processed classical features to the quantum circuit. After the second Min–Max scaling step, all output values were confirmed to lie within the interval [0, π]. Test-partition values that fell marginally outside this range because of floating-point rounding were clipped to the nearest boundary using the clip function from NumPy (version 2.4.4). This procedure ensured that all four inputs to the angle-encoding layer were valid rotation angles within the interval [0, π].
Quantum Circuit Construction
The four-qubit circuit was constructed using the statevector simulator listed in the Table of Materials and the gate sequence described below. Supplementary Coding File 1 was used as the complete executable circuit implementation, including all helper functions for gate construction and parameter-shift gradient computation. Figure 1 shows the complete workflow from voice-recording preprocessing through the four circuit layers, the classical post-processing head, and final classification.

Figure 1. System architecture and quantum circuit workflow. Workflow for Parkinson Disease classification from human voice recordings. The diagram shows voice-recording preprocessing, stratified or patient-grouped cross-validation, four-qubit parameterized quantum circuit execution, single-qubit Pauli-Z measurement on qubit 0, classical post-processing, and final binary classification as Parkinson Disease or healthy control. CNOT, controlled-NOT gate; PCA, principal component analysis; ReLU, rectified linear unit. Please click here to view a larger version of this figure.
A four-qubit register was initialized in the computational basis state ∣0000
.
For the angle-encoding layer, an Ry (xi) rotation gate was applied to qubit i, where i = 0,1,2,3, using the four angles produced by the preprocessing pipeline (Equation 2). Equation 2 describes the standard angle-encoding procedure used in parameterized quantum circuits, consistent with the parameterized quantum circuit learning framework of Mitarai et al.9, and was applied here in the specific four-qubit configuration defined for the present protocol.
(2)
For the first entanglement layer, a circular chain of controlled-NOT gates was applied in the following control-target order: (0,1), (1,2), (2,3), and (3,0).
For the variational layer, the eight trainable parameters w0 through w7 were initialized by independent sampling from a normal distribution with a mean of 0 and a standard deviation of 0.3. The random seed used was recorded in the Table of Materials. The eight variational quantum parameters were initialized using numpy.random.default_rng(42 + fold_index).normal(0, 0.3, size = 8), where fold_index is the zero-based fold number, thereby providing fold-specific but reproducible initializations. For each qubit i = 0,1,2, and 3, an Rz(wi) gate was applied, followed by an Ry(wi+4) gate (Equation 3). Equation 3 describes a variational (trainable) quantum layer consistent with the general parameterized quantum circuit learning framework introduced by Mitarai et al.9 and was instantiated here using the specific gate sequence and parameterization defined for the present protocol.
(3)
For the second entanglement layer, an open chain of controlled-NOT gates was applied in the following control-target order: (0,1), (1,2), and (2,3). This chain was not closed back to qubit 0.
The expectation value of the Pauli- operator on qubit 0 only,
, was computed using a statevector inner product. Circuit execution used a custom statevector simulator implemented using standard numerical array operations (Supplementary Coding File 1; qhcnn.py). Complex128 precision (numpy.complex128) was used throughout. Expectation values were computed analytically from the statevector inner product; therefore, no shot-based sampling was performed. No third-party quantum computing framework was required. If a sampling-based simulator or quantum device had been used instead of the statevector simulator, repeated computational-basis measurements of qubit 0 would have been performed, and the resulting bit frequencies would have been converted to an expectation value (Equation 4). Equation 4 is the standard quantum-mechanical expectation-value formula and was applied here to the single-qubit Pauli- observable defined for the present protocol. Because no shot-based sampling was performed, no measurement-error mitigation was required. The simulator used big-endian qubit indexing, with qubit 0 corresponding to the most significant bit of the statevector index. This convention was explicitly accounted for when constructing the Pauli- observable to ensure that the correct expectation value was measured.
(4)
The gradient of
with respect to each of the eight variational parameters was computed using the parameter-shift rule. The circuit was evaluated twice for each parameter during every gradient computation, once at θ + π/2 and once at θ - π/2 (Equation 5). Equation 5 is the standard parameter-shift rule introduced by Mitarai et al.9 and was applied here without modification.
(5)
The second entanglement layer, as specified above, never applied a controlled-NOT gate with qubit 0 as the target. Because a controlled-NOT gate leaves the reduced state of its control qubit unchanged, the second entanglement layer could not alter
, regardless of the trainable parameter values. To allow the second entanglement layer to influence the measured output in a modified protocol, qubit 0 would need to be included as a target, for example by closing the chain with an additional (3,0) controlled-NOT gate, or a multiqubit observable would need to be measured rather than a single-qubit expectation value. The originally specified second entanglement layer was retained in this protocol, and its measured contribution was reported explicitly in the Results section rather than corrected silently because this circuit behavior is part of the present findings.
Classical Post-Processing Layer
The classical post-processing stage consisted of a feed-forward neural network implemented using the standard array-based numerical operations listed in the Table of Materials. The single scalar circuit output,
, was mapped to eight hidden units using a fully connected layer, followed by a rectified linear unit (ReLU) activation. During training, a dropout layer with a retention probability of 0.8 (dropout rate = 0.2) was applied. The eight hidden units were then mapped to a single output unit using a second fully connected layer, and a sigmoid activation function was applied to generate the final class probability, ŷ (Equation 6). Equation 6 defines the specific classical post-processing architecture used in the present protocol and comprises standard linear, rectified linear unit (ReLU), and sigmoid operations.
(6)
The first-layer and second-layer weight matrices were initialized by independent sampling from a normal distribution with a mean of 0 and a standard deviation of 0.5, whereas all bias terms were initialized to 0. The same random-number-generator instance and seed used for initialization of the quantum variational parameters were also used for the classical layer to ensure run-to-run reproducibility. Specifically, the classical weight matrices were initialized using numpy.random.default_rng(42 + fold_index).normal(0, 0.5, size=...), whereas all bias terms were initialized to zero. A single seeded random-number-generator instance, initialized with 42 + fold_index, was created at the start of each cross-validation fold and reused sequentially for quantum-parameter initialization, classical-weight initialization, mini-batch shuffling, and dropout-mask generation, rather than using separate independent seed streams for each process.
During training, dropout was applied by generating a newly sampled binary mask at each forward pass using the inverted-dropout convention, in which surviving units were scaled by 1/0.8. During validation and testing, dropout was disabled completely, and the full, unscaled network was used for inference.
The combined QI-HCNN model contained 33 trainable parameters: eight quantum variational parameters from the quantum circuit and 25 classical parameters. The classical component comprised eight weights and eight biases in the first fully connected layer, together with eight weights and one bias in the second fully connected layer. The weight and bias tensor dimensions were
and
. The classical post-processing layer was implemented entirely using standard numerical array operations without an additional machine-learning framework. All classical computations were performed using float64 (double-precision) arithmetic.
Model Training
The quantum circuit described in the Quantum Circuit Construction subsection and the classical post-processing layer described in the Classical Post-Processing Layer subsection were combined into a single end-to-end trainable model. All 33 trainable parameters were optimized jointly using the Adam optimizer with an initial learning rate of 0.01 and weight decay, implemented as an L2 penalty of , applied only to the classical weight matrices. The Adam optimizer was implemented manually using standard numerical array operations with the following settings: learning rate = 0.01, β1 = 0.9, β2 = 0.999, ∈ = 1 × 10-8, and weight decay = 1 × 10-4, applied only to the classical weight matrices and not to the bias terms or quantum variational parameters.
Binary cross-entropy was used as the loss function. For the post-split class-balancing procedure described in the Evaluation Protocol subsection, each training sample's loss contribution was weighted by the inverse frequency of its class within the training partition of the current fold. For the unbalanced protocol, uniform sample weights were assigned. Binary cross-entropy was computed as the mean loss across all samples within each mini-batch using the standard binary cross-entropy formulation.
The model was trained for 30 epochs using mini-batches of 16 samples. Training samples were randomly shuffled at the start of each epoch using numpy.random.default_rng(42 + fold_index).permutation(n) to generate a random sample order. When the number of training samples was not evenly divisible by 16, the final smaller mini-batch was retained and processed at its actual size rather than discarded.
A step learning-rate schedule was applied during training. The learning rate was multiplied by 0.7 after every 10 completed epochs, specifically at the start of epochs 11 and 21.
Gradients for the eight quantum variational parameters were computed using the parameter-shift rule described in the Quantum Circuit Construction subsection. Gradients for the 25 classical parameters were computed using standard reverse-mode differentiation through the classical layer only. The quantum circuit output,
, and its parameter-shift gradients served as the interface between the quantum circuit and the classical layer. All 33 parameters were updated using the same Adam optimizer instance.
Validation-based early stopping was not used. Each model was trained for the fixed 30-epoch schedule, and held-out test-partition performance was reported after completion of the final epoch. All model parameters (quantum variational parameters, classical weight matrices, and bias terms) were reinitialized independently at the start of each cross-validation fold using the fold-specific random seed (42 + fold_index). Parameters were not shared across folds or baseline runs.
The computational environment, including processor, memory, software versions, and approximate wall-clock training time per fold, was recorded in the Table of Materials.
Evaluation Protocol
Model performance was evaluated using both recording-level and participant-level cross-validation procedures, together with baseline-model comparisons, class-balancing analyses, circuit ablation experiments, statistical significance testing, and feature-importance analyses.
For the primary evaluation, the 195 voice recordings were partitioned into three stratified folds using a fixed random seed while preserving the recording-level Parkinson Disease/healthy-control ratio of 75.4%/24.6% within each fold. The model described in the preceding sections was trained using two folds and evaluated on the remaining held-out fold, and this procedure was repeated until each fold had served once as the test partition. Accuracy, precision, recall, F1-score, and area under the receiver operating characteristic curve (AUC–ROC) were calculated for each fold and reported as the mean ± standard deviation across the three folds. Primary three-fold stratified cross-validation was implemented using the StratifiedKFold class with n_splits=3, shuffle=True, and random_state=42.
Binary class predictions were generated by applying a fixed probability threshold of 0.50 to the predicted class probability, ŷ, produced by the classical post-processing layer. Accuracy, precision, recall, and F1-score were computed from these thresholded predictions, whereas AUC–ROC was calculated directly from the continuous probability values without thresholding. Precision, recall, and F1-score were computed using the metric functions with zero_division=0, assigning a value of 0.0 to any undefined metric. No such undefined condition occurred during the reported experiments.
Baseline models were evaluated using the identical fold partitions and identical four-component preprocessed feature representation generated by the preprocessing pipeline. A classical multilayer perceptron containing one hidden layer of eight ReLU-activated units, architecturally matched to the classical component of the hybrid model but without the quantum circuit, was trained using the Adam optimizer with an L2 penalty of 1 × 10−4. A gradient-boosted tree classifier was also trained using the same four-component representation with 200 trees, a maximum tree depth of 3, a learning rate of 0.1, and class weighting equal to the inverse class frequency within each training fold. In addition, a second gradient-boosted tree classifier was trained using the full 22-feature representation generated after the initial Min–Max normalization, without applying PCA or quantum feature encoding. This model used 300 trees, a maximum tree depth of 4, a learning rate of 0.05, and the same inverse training-fold class-weighting strategy. The classical multilayer perceptron baseline was implemented using MLPClassifier with hidden_layer_sizes=(8,), activation="relu", solver="adam", alpha=1 × 10⁻4, batch_size="auto", learning_rate_init=0.001, max_iter=500, early_stopping=False, shuffle=True, and random_state=42. The default Glorot (Xavier) uniform weight initialization provided by the implementation was used. The gradient-boosted tree baselines were implemented using XGBoost 3.3.0 with objective = "binary:logistic", eval_metric = "logloss", tree_method = "auto", subsample = 1.0, colsample_bytree = 1.0, reg_alpha = 0, reg_lambda = 1, and random_state = 42.
To evaluate the effect of post-split class balancing, the primary cross-validation procedure was repeated for the QI-HCNN model with sample weighting enabled. Balancing weights were calculated exclusively from the training partition of each fold after train/test splitting and were not computed from the corresponding held-out test partition.
Circuit-component ablation experiments were performed by repeating the complete preprocessing, training, and evaluation workflow four times while modifying only the two entanglement layers of the quantum circuit. The four circuit variants comprised: (i) the complete circuit containing both entanglement layers; (ii) the circuit with the first entanglement layer removed and the second retained; (iii) the circuit with the first entanglement layer retained and the second removed; and (iv) the circuit with both entanglement layers removed. Identical fold partitions, random seeds, and training configurations were maintained across all four experiments so that any observed performance differences could be attributed solely to the entanglement-layer configuration.
As a robustness assessment, participant-grouped cross-validation was performed by partitioning the 31 participants, rather than the 195 recordings, into five groups containing six to seven participants each. During each iteration, the model was trained using recordings from participants in four groups and evaluated using recordings from participants in the remaining group, ensuring that no participant contributed recordings to both the training and test partitions of the same fold. Accuracy, precision, recall, F1-score, and AUC–ROC were reported as the mean ± standard deviation across the five participant-grouped folds for the QI-HCNN model, the classical multilayer perceptron, and the four-feature gradient-boosted baseline. Participant-grouped cross-validation was implemented using the GroupKFold class with n_splits=5, where the participant identifiers served as the grouping variable. Because GroupKFold does not shuffle the groups, participants were assigned according to the implementation's default deterministic ordering, resulting in folds containing six or seven participants each.
Statistical significance was evaluated by applying paired Wilcoxon signed-rank tests to the per-fold AUC–ROC values obtained for the primary evaluation and baseline models. Exact p-values and the corresponding numbers of paired observations were reported because the statistical power of this test is limited when only a small number of folds are available. Four pairwise AUC–ROC comparisons were defined a priori: (1) QI-HCNN versus the classical multilayer perceptron; (2) QI-HCNN versus the PCA-matched gradient-boosted tree baseline; (3) the classical multilayer perceptron versus the PCA-matched gradient-boosted tree baseline; and (4) the unbalanced QI-HCNN model versus the post-split-balanced QI-HCNN model. No multiple-comparison correction was applied because the analyses were exploratory and the limited number of folds substantially reduced statistical power.
Feature-importance analysis was performed using the gradient-boosted tree classifier trained on the complete 22-feature representation. Gain-based feature-importance scores were extracted and ranked for all original acoustic features. Separately, PCA was fitted to the complete dataset for reporting purposes only and was not used during model evaluation. For each original acoustic feature, the absolute loadings across the four retained principal components were summed, and features were ranked according to these values. Both ranking methods and their overlap were reported. For the gain-based feature-importance analysis, the gradient-boosted tree implementation produced unique floating-point gain values, and no ties occurred. For the principal-component loading rankings, ties in the summed absolute loading values were resolved according to the original feature-column order in the dataset.