A 4-Qubit Variational Quantum Classifier for Sequence-Specific Classification of DNMT3A and DNMT3B Flanking Methylation Preferences
Organizations: Purdue University, West Lafayette, USA · NC State University, Raleigh, USA
Abstract
DNA methylation is a critical epigenetic modification that regulates gene expression and genome stability, primarily catalyzed by the DNA methyltransferase 3 (DNMT3) family of enzymes. Distinguishing precise sequence-specific flanking preferences between DNMT3A and DNMT3B remains computationally challenging due to the complex and high-dimensional nature of biochemical sequence data. In this study, we propose a novel Quantum Machine Learning (QML) approach to classify DNA methylation preferences, leveraging a Variational Quantum Classifier (VQC). Using experimentally derived deep enzymology data, we constructed a dataset containing 4,096 unique NNNCGNNN motifs. We evaluated a four-qubit VQC using a custom NumPy exact-statevector simulator. The described two-layer circuit contains 24 trainable rotations, eight CNOT gates, and eight input-encoding rotations, totaling 40 gates before measurement. Across five initialization seeds, the revised VQC evaluation achieved a ROC-AUC of 0.661 pm 0.009, where variability denotes sample standard deviation. The held-out test partition is approximately balanced, containing 200 DNMT3A-labeled motifs and 210 DNMT3B-labeled motifs. An always-DNMT3B predictor achieves 51.2% accuracy and a balanced accuracy of 0.500 on this test partition. This proof-of-concept establishes a foundation for utilizing near-term quantum architectures in complex epigenetic classification tasks, paving the way for hybrid quantum-classical pipelines in bioinformatics.
Figures & tables
| Hardware/Circuit Parameter | Observed Metric Value |
|---|---|
| Register Allocation | 4 Operational Qubits |
| Evaluation Resolution | 256 Shots |
| Total Structural Gate Count | 36 Gates |
| Parameterized Rotation Gates | 24 ( ry : 8, rx : 8, rz : 8) |
| Entangling Operations | 8 CNOT ( cx ) Gates |
| Measurement Operators | 4 Pauli-Z ( ) Operators |
| Seed | Best Epoch | Accuracy | Bal. Acc. | ROC-AUC | PR-AUC | F1 (DNMT3B) |
|---|---|---|---|---|---|---|
| 0 | 25 | 0.671 | 0.584 | 0.648 | 0.269 | 0.306 |
| 1 | 15 | 0.662 | 0.652 | 0.666 | 0.322 | 0.375 |
| 2 | 13 | 0.729 | 0.655 | 0.657 | 0.310 | 0.391 |
| 3 | 14 | 0.715 | 0.609 | 0.664 | 0.281 | 0.337 |
| 4 | 7 | 0.744 | 0.627 | 0.652 | 0.293 | 0.361 |
| Mean Std | ||||||
Quantum Machine Learning
Quantum machine learning uses quantum circuits and quantum data to build learning algorithms and study their computational and statistical limits.
See all 256 papers