{{item.title}}
{{item.text}}
{{item.text}}
Discovery of new chemical substances and drugs is known to be a long and costly process, for which the average costs are estimated to be up to around $2.5 billion. In the recent years, the computer aided drug discovery has made the initial phase more efficient by designing the chemical compound first in the digital world before chemists in the lab would try to synthesise it. However, with the complexity of the substances, the requirements on the computing infrastructure are growing as well. Quantum computing bears the promise of being able to perform certain types of tasks significantly more efficiently than classical computing.
In the following article, researchers from PwC Switzerland, a Swiss quantum hub and academic institutions investigate, whether simulation of new drugs might be one of such tasks.
“Quantum computing is paving the way for more efficient and creative drug discovery, outperforming classical methods in generating novel compounds.”
Prafull SharmaPartner, Technology & Data, PwC SwitzerlandThe classical approach to computational drug discovery in this analysis is by using Generative Adversarial Networks (GAN) combined with Variational Autoencoders (VAE). The Autoencoder is taking care of encoding the chemical compounds into abstract vectors of real numbers (called latent vector) still bearing the complexity but in a reduced space.
In the GAN model, two types of neural networks are competing: A Generator is trying to produce new data that look real, while a Discriminator is evaluating whether the given piece of data is real (coming from the training set) or fake, made up by the generator.
Since the two processes have different objectives, the training follows an adversarial procedure (a min-max win procedure) which depends on a “loss function” - a metric which defines, whether it is more important to create fakes indistinguishable from reality or whether certain deviations are allowed. The latter is the case for the drug discovery task, since the main purpose is to generate new chemical compounds. Once the training is done, the Generator produces sets of new chemicals for which typical characteristics are estimated. An example of such a typical metric is then how many viable new compounds are generated in comparison to the original training dataset.
Quantum Computing is an emerging technology, operating with qubits instead of classical bits which obey the laws of Quantum Mechanics. Unlike bits which can be either zero or one, qubits can be in a state which is a combination of both. Using the effects of superposition, interference and entanglement is what predestines Quantum Computing to be more efficient at certain class of tasks. Generation of systems which have intrinsic dependencies is one of such tasks and it is exactly what is happening in the heart of the GAN Generator. In this work, the Generator has been replaced by a series of quantum circuits (see Figure 1) in a scheme called Style-Based Quantum GAN and the inference of the pipeline has been tested on an IBM Heron Quantum Computer.
The analysis was performed in three steps. In the first one, training of the VAE was performed on 12’000 chemical compounds and the settings of internal learning parameters was optimised. The goal was to create a pipeline which is able to encode complex chemical structures from the dataset into the latent space of dimension 10 and then performs the decoding to obtain the initial set of molecules. Once an optimised VAE training was obtained, it was used in the GAN scheme.
Figure 1 - The Styled-based Latent Quantum GAN Schema
The training of the GAN and optimisation of its learning parameters was performed in the classical setting where the Generator consisted of a Neural Network (NN) with 5 fully connected layers and 705’162 internal trainable parameters. The outputs of the Generator (synthetic data) and the VAE Encoder (train data) in the form of the latent vectors were processed by the Discriminator (3-layer NN) which was trying to distinguish the original and generated data.
Once the learning parameters of the GAN were estimated, the Classical Generator was exchanged by Quantum Circuits and trained on a noiseless Quantum Simulator. The circuits implemented two layers of gate operations on 5 or 10 qubits. In the final step, a set of molecules was generated with the Quantum Generator running on a real Noisy Intermediate State Quantum (NISQ) Computer. In this analysis, for the final comparison, 2’500 generated molecules were compared. Resulting molecular sets were analysed with a dedicated tool for computational chemistry to evaluate chemical validity and compatibility with drug design.
Comparison of the distribution of the Internal Diversity of the molecular sets between the train set and four sets generated with the VAE with different training settings.
Comparison of the distribution of the likeliness that a molecule is a viable drug candidate between the test and train samples and various QGANs implementing different circuits.
Example molecules generated by the IBM Heron Quantum Computer and decoded with the VAE.
The images above present the results. The first plot shows the very good capacity of the VAE training reproducing the training set, meaning that the VAE Decoder can be used for reconstructing the novel molecules generated by the GANs. The middle plot compares the ability of the classical and quantum GANs to reproduce the training and test distributions. While the classical GAN tends to reproduce the shape of the training sample, the quantum GANs show similarity to the test sample - a sample that they were not trained on - meaning that they are better able to generalise than the classical GAN. The last image shows an example subset of molecules generated by the IBM Heron Computer. Three sets of 2’500 molecules were generated with the classical, noise-free and real quantum Generators. The results show comparable values in several metrics, which on its own is a success for a NISQ computer. Additionally, the Quantum Generator has a significantly simpler inner structure (~6’400 times less internal trainable parameters), hence dramatically reducing the complexity of the model.
In conclusion, this work presents a first step on a road to quantum-aided drug discovery, showing its potential already at this initial small scale. These preliminary promising results have been presented at the first International Conference on Applied Quantum Methods in Computational Science and Engineering (AQMCSE) in Aachen, on October 8th, 2025 [1]
[1] J. Baglio (U. Basel & QuantumBasel), Y. Haddad (U. Bern & CERN), and R. Polifka (2025). Latent-Style-Based Generative Quantum Model for Assisted Drug Discovery. Research Highlights at the first International Conference on Applied Quantum Methods in Computational Science and Engineering (AQMCSE 2025, Aachen, Germany, October 8th.
{{item.text}}
{{item.text}}
Partner Technology Strategy & Transformation and Technology & Data FS Leader, PwC Switzerland
+41 58 792 18 72