[Paper Review] Hybrid quantum-classical machine learning for generative chemistry and drug design
This paper proposes a hybrid quantum-classical generative model for drug discovery, combining a discrete variational autoencoder (DVAE) with a Restricted Boltzmann Machine (RBM) implemented on a D-Wave quantum annealer. The model successfully generated 2,331 novel drug-like molecules with medicinal and synthetic properties matching those in the ChEMBL database, demonstrating feasibility of using near-term quantum hardware for generative chemistry.
Deep generative chemistry models emerge as powerful tools to expedite drug discovery. However, the immense size and complexity of the structural space of all possible drug-like molecules pose significant obstacles, which could be overcome with hybrid architectures combining quantum computers with deep classical networks. As the first step toward this goal, we built a compact discrete variational autoencoder (DVAE) with a Restricted Boltzmann Machine (RBM) of reduced size in its latent layer. The size of the proposed model was small enough to fit on a state-of-the-art D-Wave quantum annealer and allowed training on a subset of the ChEMBL dataset of biologically active compounds. Finally, we generated 2331 novel chemical structures with medicinal chemistry and synthetic accessibility properties in the ranges typical for molecules from ChEMBL. The presented results demonstrate the feasibility of using already existing or soon-to-be-available quantum computing devices as testbeds for future drug discovery applications.
Motivation & Objective
- To develop a hybrid quantum-classical machine learning architecture that leverages near-term quantum hardware for generative chemistry.
- To address the challenge of exploring the vast chemical space of drug-like molecules (10^23–10^60 possible compounds) using quantum-enhanced generative models.
- To demonstrate that existing quantum annealers can train and sample from a compact RBM-based latent space in a DVAE for molecular generation.
- To generate novel chemical structures with realistic medicinal chemistry and synthetic accessibility profiles.
- To establish a prototype for future quantum-enhanced generative models in drug design, paving the way for Quantum VAEs (QVAE) on fault-tolerant hardware.
Proposed method
- A discrete variational autoencoder (DVAE) is used to encode SMILES representations of molecules into discrete latent variables.
- The latent space is modeled using a small-sized Restricted Boltzmann Machine (RBM), which is trained on a D-Wave Advantage quantum annealer to sample from the Boltzmann distribution.
- The decoder uses a Transformer-based architecture with 5 layers, d_model=160, 10 attention heads, and feed-forward width of 320 to reconstruct and generate molecules.
- Training employs a reweighted ELBO objective with β=0.1 to prevent posterior collapse, using Adam optimizer and a MultiStep learning rate schedule.
- Quantum sampling for the RBM is performed via 30-step Gibbs sampling using persistent contrastive divergence (PCD) on the D-Wave processor.
- Model evaluation uses annealed importance sampling (AIS) to estimate the log-partition function of the RBM, with 10 intermediate distributions and 500 samples per epoch.
Experimental results
Research questions
- RQ1Can a quantum annealer be effectively used to train a generative model for molecular design?
- RQ2Can a hybrid quantum-classical DVAE with a small RBM in the latent space generate chemically plausible and synthetically accessible molecules?
- RQ3Do the generated molecules exhibit medicinal chemistry properties similar to those in the ChEMBL database?
- RQ4Is the quantum-enhanced RBM sampling more effective than classical sampling for this generative task?
- RQ5Can this architecture serve as a scalable prototype for future quantum-enhanced generative chemistry models?
Key findings
- The model successfully generated 2,331 novel chemical structures with medicinal chemistry and synthetic accessibility properties within the typical ranges observed in the ChEMBL database.
- The quantum-annealed RBM was able to learn meaningful latent representations of molecular structures, enabling effective molecule reconstruction and generation.
- The D-Wave Advantage quantum processor was able to train and sample from the RBM, demonstrating feasibility of using NISQ devices for generative chemistry tasks.
- Tanimoto similarity scores between generated molecules and their reconstructions were high, with values approaching 1.0, indicating accurate reconstruction.
- The use of persistent contrastive divergence (PCD) and annealed importance sampling (AIS) enabled stable training and reliable evaluation of the RBM's partition function.
- The hybrid architecture, though small-scale, proved effective in generating molecules with realistic properties, validating the approach as a viable first step toward quantum-enhanced drug discovery.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.