Molecular design with quantum-computing-based machine learning and optimization
Patent Information
- Application Number
- PCT/US2024/018975
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-07
- Filing Date
- 2024-03-07
- Publication Date
- 2025-02-06
AI Technical Summary
Current molecular design techniques face challenges in efficiently exploring the chemical space for novel molecule synthesis due to limitations in scalability and data efficiency, particularly with near-term quantum devices, and struggle to handle large-scale nonlinear optimization problems effectively.
A hybrid quantum-classical computational framework that utilizes quantum computing for molecular design, employing a trained energy-based deep learning model to generate molecular species with desired properties by minimizing structural and error cost functions, leveraging quantum annealing for optimization and machine learning for property prediction.
This approach enables efficient generation of molecules with target properties, demonstrating competitive predictive performance and data efficiency, even with limited molecular data, and effectively navigates the chemical space to identify molecules with specific requirements.
Smart Images

Figure US2024018975_06022025_PF_FP_ABST
Abstract
Description
MOLECULAR DESIGN WITH QUANTUM-COMPUTING-BASEDMACHINE LEARNING AND OPTIMIZATIONRELATED APPLICATIONS
[0001] This application claims priority to U.S. Provisional Patent Application No. 63 / 450,421, filed March 7, 2023 and titled “Molecular Design with Automated Quantum Computing-Based Deep Learning and Optimization,” which is incorporated herein by reference in its entirety.BACKGROUND
[0002] Quantum computing has the potential to achieve significant technological feats in various domains, including the design of novel molecules.SUMMARY
[0003] A method for molecular design includes constructing a structural cost function having a plurality of first minima, each of the plurality of first minima identifying a molecular species that satisfies one or more molecular-structure constraints. The method also includes generating each of a plurality of exploratory molecular species by minimizing the structural cost function to obtain one or more arguments of one of the plurality of first minima; creating, based on the one or more arguments of said one of the plurality of first minima, an exploratory feature vector that identifies said each of the plurality of exploratory molecular species within a feature space; and evaluating an objective function with (i) the exploratory feature vector, (ii) a target range of a molecular property, and (iii) model parameters of a trained machine-learning model to obtain a respective one of a plurality of objective-function values. The method also includes generating a candidate molecular species by performing regression with a randomly selected subset of the plurality of objective-function values to update a surrogate model that approximates the objective function; constructing an error cost function by combining the surrogate model, as updated by the regression, and the structural cost function such that each of a plurality of second minima of the error cost function identifies a molecular species that minimizes the surrogate model while satisfying the one or more molecular-structure constraints; and minimizing, with a quantum computer, the error cost function to obtain one or more arguments of one of the plurality of second minima. The method also includes outputting the one or more arguments of said one of the plurality of second minima. The trained machine-learning model was trained with a plurality of training samples, each training sample of the plurality of training samples comprising (i) a training feature vector that identifies a training molecular species of said each training sample within the feature space and (ii) a training target vector that specifies a predefined range of values of the molecular property, the training molecular species having a value of the molecular property lying within the predefined range.BRIEF DESCRIPTION OF THE FIGURES
[0004] FIG. 1A illustrates example fixed-length neural fingerprints generated by a GraphConv network with fixed weights, in embodiments.
[0005] FIG. IB illustrates training of an energy-based model by drawing samples from a quantum annealer, in embodiments.
[0006] FIG. 1C illustrates construction of a surrogate model to estimate the free energy of a molecule-property pair with the trained energy-based model, in embodiments.
[0007] FIG. 2A is a table summarizing molecule generation efficacy.
[0008] FIG. 2B illustrates two-dimensional (2D) embeddings obtained with t- distributed stochastic neighbor embedding (t-SNE) for the molecules in the training set as well as the generated molecules colored according to the quantitative estimation of drug-likeness (QED) property values, in embodiments.
[0009] FIG. 3 A is a KDE plot illustrating the density of partition coefficient (LogP) and QED for molecules in the training set.
[0010] FIG. 3B provides KDE plots indicate the LogP and QED for generated molecules.
[0011] FIG. 3C shows violin plots for target conditions of the distribution of synthetic accessibility scores (SAS) of QED for the generated molecules.
[0012] FIG. 3D shows violin plots for target conditions of the distribution of SAS of LogP for the generated molecules.
[0013] FIG. 3E illustrates examples of generated molecular structures conditioned upon restrictions on molecular properties of QED, in embodiments.
[0014] FIG. 3F illustrates examples of generated molecular structures conditioned upon restrictions on molecular properties of partition coefficient (LogP), in embodiments.
[0015] FIGS. 4A-E illustrate distributions of the molecular properties of molecules generated with various molecular design frameworks, including the QC-based technique of the present embodiments, semi-supervised variational autoencoder (SSVAE), and conditional variational autoencoder (CVAE), where the molecules are generated with these frameworks fordifferent property targets for drug-likeness (QED), in embodiments.
[0016] FIGS. 4F-J illustrate distributions of the molecular properties of molecules generated with various molecular design frameworks, including the QC-based technique of the present embodiments, semi-supervised variational autoencoder (SSVAE), and conditional variational autoencoder (CVAE), where the molecules are generated with these frameworks for different property targets for partition coefficient (LogP), in embodiments.
[0017] FIG. 5A illustrates learning curves for the conditional energy-based model trained with QC-assisted generative training and CD-learning, in embodiments.
[0018] FIG. 5B illustrates an optimization trajectory of a molecular design problem with QC-assisted optimization and constrained Bayesian optimization, in embodiments.
[0019] FIG. 5C illustrates a comparison of computational times required to solve the QUBO problems of varying sizes occurred during molecular generation for different atomic compositions and property targets with both simulated annealing implemented on a classical computer and quantum annealing, in embodiments.
[0020] FIG. 6A illustrates a principal component plot of the first three components of latent variable representations for 1,000 randomly selected molecules organized by molecular properties of quantitative drug-likeness (QED), in embodiments.
[0021] FIG. 6B illustrates a principal component plot with the first three components of latent variable representations for 1,000 molecules organized by molecular properties of synthetic accessibility scores (SAS), in embodiments.
[0022] FIG. 6C illustrates a principal component plot with the first three components of latent variable representations for 1,000 molecules organized by molecular properties of partition coefficient (LogP), in embodiments.
[0023] FIG. 7 illustrates example distribution of the Tanimoto similarities obtained for different molecular pairs with molecular access system (MACCS) keys, extended-connectivity fingerprints (ECFPs), and neural fingerprints, in embodiments.
[0024] FIG. 8 illustrates a conditional restricted Boltzmann machine.
[0025] FIG. 9 is a flowchart of a method for exploratory molecular design, in embodiments.
[0026] FIG. 10 is a flowchart of a method for generative molecular design, in embodiments.
[0027] FIG. 11 is a functional diagram of a system for molecular design, in embodiments.DETAILED DESCRIPTIONIntroduction
[0028] The development of novel compounds and materials has played a critical role in the advancements of various scientific fields. Technological and societal progress can be further fueled by the discovery of novel molecules for applications ranging from drug design for treating diseases to efficient energy storage devices for combating climate issues [1], The potential for the synthesis of novel molecular compounds remains vast; for instance, the number of molecules with pharmacological properties that could be synthesized is estimated to be as high as IO60[2], Computer-aided molecular design can facilitate the generation of molecular candidates with desired chemical properties through various means [2], Simulations of chemical systems could estimate molecular properties through quantum chemistry calculations. However, these techniques are unable to handle large-scale systems through first-principle calculations and require the use of approximations adopted at the expense of accuracy, which may inhibit efficient exploration of the chemical space [4], Computational optimization techniques have also demonstrated some success in the generation of useful molecules [5], Additionally, machine learning, specifically deep learning, has accelerated progress in molecular design through learning patterns in molecular datasets and offers a promising route towards the development of novel compounds [6], The complexities stemming from the nonlinearity of molecular design problems at larger scales lead to the intractability of optimization techniques [7], while the machine learning techniques may not be data-efficient and yield inaccurate predictions despite consuming prohibitively large computational power to process huge amounts of molecular data. It is imperative to exploit efficient computational techniques for a guided exploration of the chemical space to generate insights into the synthesis of novel molecules.
[0029] Quantum computing (QC) holds tremendous potential to achieve significant technological feats in various domains, including the design of novel molecules for specific purposes [8], Owing to their ability of exploiting quantum mechanical phenomena for performing computation, QC techniques have demonstrated remarkable improvements for several applications. The promise of performance enhancement offered by QC has also attracted considerable attention from the research community for the development of QC-based methods in fields like computational chemistry, optimization, and machine learning [9], Quantum computers offer a fundamentally different approach for performing quantum chemistry simulations that have helped overcome the practical challenges of simulating chemical systemson classical computers
[0010] , Quantum algorithms have also facilitated the development of quantum-enhanced optimization and machine learning techniques tailored for specific problem types and learning tasks [11,12], Despite their advantages, QC techniques implemented on current quantum devices exhibit limitations in terms of performance and scalability due to the presence of hardware noise and a limited number of quantum bits or qubits
[0013] , Therefore, it is important to develop models and methods that harness the complementary strengths of high- performance quantum and classical computation by overcoming their individual limitations in order to effectively and efficiently navigate through the complex chemical space for molecular design. Although quantum-enhanced machine learning and optimization can be employed for molecular property prediction and inverse design, several research challenges remain. Developing prediction models and design methods that are compatible with near-term quantum devices with noisy qubits is the first challenge. There have been attempts on hybrid quantum- classical optimization techniques for determining the structural configuration of molecules [14,15], but these approaches do not scale for larger molecules on today’s quantum computers. As a result, scalable QC approaches for molecular design that can handle problems across varying scales is another important research challenge. An additional one lies in exploiting the noisy nature of near-term intermediate-scale quantum (NISQ) devices, which typically have between fifty and a few hundred qubits without fault-tolerant capabilities
[0013] for learning and inverting structure-property relationships without compromising performance.
[0030] The present embodiments include hybrid quantum-classical computational framework for molecular design that utilizes QC-based learning and optimization strategies to efficiently navigate the chemical space for targeted molecular generation. We, the inventors, constructed an energy-based deep learning model that can be trained with QC-assisted generative training to extract latent representations from molecular graphs for property prediction. A QC-assisted optimization technique is further presented that efficiently traverses through the chemical space to identify molecules with desired properties by inverting the structure-activity relationship captured with the energy -based model. These are particularly advantageous when exploring the chemical space for candidate molecules by not relying solely on the available molecular datasets. A thorough analysis that includes benchmarking against the baseline models and investigating the efficacy of the molecular generation pipeline is also conducted. The deep learning model learns the conditional distribution of molecular properties depending on their structural information allowing us to efficiently predict properties for a given molecule. Consequently, it learns the relationship between molecular composition and structure and its physiochemical properties, which is exploited by the optimization techniqueof the present embodiments to generate molecules exhibiting target properties. Upon benchmarking the obtained computational results with existing deep learning-based approaches, the molecular design framework of the present embodiments not only demonstrates competitive predictive performance for physiochemical properties but also efficiently generates molecules for predefined property requirements. The computational experiments conducted to validate the generated molecules and their properties obtained with various molecular design approaches also reveal the data efficiency and generalization capabilities of the QC-based molecular design approach through the exploration of sparsely populated regions of the chemical space.Related Work
[0031] Reliable techniques for molecular property prediction and efficient search strategies are the building blocks for computer-aided molecular design
[0016] , Prediction models that can estimate the properties of given molecules can assist the virtual screening process in isolating candidate molecules with desired properties
[0017] , Computational screening of molecules is dependent on the quality of virtual chemical libraries manually constructed from chemical databases
[0018] or through combinatorial approaches [19,20], and may induce uncertainty in the exploration of the appropriate chemical space. In addition to using first- principle simulations for predicting molecular properties
[0021] , machine learning techniques have also led to the development of advanced prediction models that estimate properties with competitive precision as that of traditional techniques
[0022] , Such data-driven methods circumvent the need for computationally expensive quantum chemical methods
[0023] and have been more commonly embraced to improve the performance of predictive models
[0024] , Characterization of molecular structure-property relationships through interpretation of machine learning models can be further used to guide the design of novel molecules and is referred to as inverse molecular design
[0025] , Inverse design can be performed by navigating the chemical space of molecules with target functionality through optimization, search, or sampling techniques
[0026] , Several optimization techniques, including both heuristic and deterministic algorithms, can be applied to inverse molecular design cast as an optimization problem. Evolutionary techniques like genetic algorithms
[0027] and discrete combinatorial optimization approaches like mixed-integer programming
[0028] have demonstrated their utility for the design of various molecules. However, genetic algorithms require manual adjustment of heuristic rules for different optimization problems and do not guarantee optimality, while combinatorial optimization approaches may exhibit difficulty in solving large-scale nonlinear optimizationproblems
[0029] , These computational challenges can be tackled by deep learning methods that utilize sophisticated neural network architectures for constructing generative models for molecular design. Various deep generative models allow for adopting different molecular representations as input and can be trained to learn the distribution of the molecular dataset [6], which is followed by random sampling of molecules for further screening with property estimation models. Recurrent neural networks [30,31] and variational autoencoders [32,33] that use SMILES identifier as input, and graph convolutional neural networks (GraphConv)
[0034] that operate on molecular structures represented by graphs are some of the commonly used deep learning architectures for molecular design. Deep learning approaches can also be tailored for the conditional generation of molecules that satisfy the target property requirements
[0035] , In addition to direct sampling from trained generative models, Bayesian optimization
[0032] and reinforcement learning
[0036] , assisted by neural network architectures for property estimation, can perform a guided search for molecules through additional optimization steps often carried out in the latent space of the neural networks. Recently, QC algorithms have also been proposed for the search of optimal configuration of molecules in protein chains that demonstrate a quantum speedup over straightforward enumeration
[0037] ,
[0032] Despite their potential, the dependence of deep neural networks on large amounts of diverse training data comprising of molecules with properties spanning the chemical space may cast doubt on their generative abilities in the presence of out-of-domain uncertainty. Exploiting advantages offered by QC for molecular design remains a major research challenge for existing QC-based approaches with near-term quantum devices. Unlike these methods, the QC-based molecular design framework utilizes NISQ devices to learn from limited molecular data and search for molecular candidates with target properties through optimization in a robust manner. Additionally, previous deep learning methods for molecular generation do not always facilitate constrained sampling of molecular candidates [6], In contrast, our molecular design framework is designed to generate molecules given a certain composition that exhibit target property values within specific ranges.Materials
[0033] Data: We use compounds from the Zinc database
[0038] to train and validate the performance of the present embodiments. A subset of Zinc having 12,000 molecules that are commonly used for benchmarking purposes is collected for our computational study
[0039] , The collected SMILES identifiers of the molecules are converted to graph- structured data by identifying the node features and edge features using the RDKit package
[0040] , The node featuresdistinguish constituent atoms into nine heavy atom types, while the edge features describe the presence of bonds between atoms and bond types. For each molecular graph in the dataset, we also collected three different properties, namely, the quantitative estimation of drug-likeness (QED)
[0041] , Wildman-Crippen partition coefficient (LogP)
[0042] , and the synthetic accessibility score (SAS)
[0043] , The LogP value or the water-octanol partition coefficient provides a measure of lipophilicity and serves as one of the molecular properties used to estimate QED. On the other hand, the SAS values describe the ease of synthesis of drug-like molecules. The QED property can vary between zero and one, with a larger value indicating a more drug-like molecule while the SAS ranges from one to ten. Among the molecules in the selected dataset, LogP ranges from -4.58 to 6.66. The averages of QED, SAS, and LogP for the collected samples are 0.728, 3.048, 2.450, and the standard deviations for these are 0.138, 0.834, and 1.433, respectively. Target labels for each molecule and its corresponding property are also generated by discretizing the target space into several bins. Bin ranges for each property are provided in Table SI.
[0034] Baseline methods: To evaluate the efficiency of the structure-property relationship captured by the energy-based model, we benchmark their predictive performance against different neural network models that adopt various learning strategies and input types. The latent vector representations of the conditional energy-based models trained with both contrastive divergence (CD) learning
[0044] and QC-based generative training are used as inputs to a single-layered neural network for predicting the corresponding property targets. CD- leaming is an approximate learning approach and has been extensively used fortraining energybased models
[0045] , so it is chosen for comparison against the energy-based model trained with quantum generative approach. Additionally, three baseline models, including feedforward neural networks that use extended-connectivity fingerprints (ECFPs)
[0046] and molecular access system (MACCS) keys
[0047] molecular representations as input, as well as a GraphConv model
[0048] that operates directly on molecules cast as graph-structured data to predict their properties directly, are chosen as baselines for property estimation performance.
[0035] In addition to revealing the exploration capabilities of the QC-based molecular design approach in the sparsely populated chemical space, it is important to validate the targeted molecular generation. To this end, we compare the present embodiments with two baseline deep learning-based approaches for molecular design, namely, semi-supervised variational autoencoder (SSVAE)
[0035] and conditional variational autoencoder (CVAE)
[0049] for benchmarking the targeted molecular generation results. SSVAE is trained with partial annotations and simultaneously performs both property prediction and molecule generation,while the CVAE approach controls multiple molecular properties by imposing them on the latent space. Both autoencoder-based baselines are generative models operating on the SMILES representations of molecules due to their compact line notation obtained with simple vocabulary and grammar rules
[0050] ,Computational Results
[0036] OC-Assisted Molecule Generation Framework: This study utilized quantum annealing based strategies for learning and optimization required for molecular generation. We first construct an energy-based model to learn the distribution of molecular properties conditioned on corresponding representations. A GraphConv network with fixed weights is employed to generate fixed-length neural fingerprints, as illustrated in FIG. 1 A. The only input to this model is the structural information of the molecule describing the atom types and their connectivity
[0034] , The constructed energy -based model uses the generated molecular descriptors f and the molecular properties^ as the input data. This energy -based model is trained with a set of molecule-property pairs by drawing samples from a quantum annealer. Upon training, the constructed energy-based model learns the probability distribution p(y\f), as shown in FIG. IB. The conditional energy-based model also utilizes latent variable representations that can be considered as the compressed chemical space spanned by the molecules and their properties. These latent representations can be further used to perform molecular property estimation tasks. For molecular generation, we employ an iterative optimization procedure that utilizes a quantum annealer to solve formulated quadratic unconstrained binary optimization (QUBO) problems. As illustrated in FIG. 1C, a surrogate model to estimate the free energy of the molecule-property pair with the trained energy -based model is constructed. Governed by the optimization procedure of the present embodiments, the surrogate model is sequentially refined to explore the chemical space for identifying molecules that satisfy the desired property requirements and structural constraints.Method* Input (Size) QED SAS LogPRule-based ECFP1(2048) 0.17 ± 0.003 0.89 ± 0.21 1.18 ± 0.08Rule-based MACCS2(512) 0.19 ± 0.008 0.76 ± 0.01 1.24 ± 0.02GraphConv Neural (256) 0.75 ± 0.02 0.88 ± 0.02 0.81 ± 0.01CD-learning Latent variables (64) 0.11 ± 0.01 0.82 ± 0.16 1.19 ± 0.03QC-assisted Latent variables (64) 0.10 ± 0.003 0.79 ± 0.11 1.18 ± 0.01 learning'Extended-connectivity fingerprints (ECFP) describe the presence of particular substructures.462MACCS keys indicate the presence or absence of specific chemical groups.47*Training of the feedforward networks that use the above inputs obtained with the corresponding method was conducted with 10,000 molecules in the training set.Table 1 : Mean absolute errors for the predicted property targets with different molecular descriptors and inputs generated with both conventional and QC-based techniques. The prediction metrics are computed over a test set comprising 1,000 molecules. Lower values indicate better predictive performance of the model that uses specified inputs obtained with the corresponding method.
[0037] Molecular Property Prediction: Constructing an efficient molecular property prediction model that can provide insights into the structure-property relationships is an important first step towards guiding the generation of molecules with desired properties. The latent representations of the molecules generated by the conditional energy-based model plays an important role in predicting molecular properties. The predictive performance of feedforward models that use various inputs obtained through different methods is presented in Table 1. The average and standard deviation values of the mean absolute error computed over multiple training-evaluation repetitions are reported here. Among the baseline predictive models that use rule-based molecular descriptors as input, the larger ECFP fingerprint tends to perform better for predicting QED and LogP, while the predictive model with MACCS yields much more accurate predictions for the accessibility scores. The baseline model, which uses neural fingerprints generated by the GraphConv model, produces significantly higher errors when predicting the drug-likeness property of the molecule but obtains competitive results for the remaining molecular properties with only 13.6% increase over the lowest error associated with the synthetic accessibility scores. On the other hand, the latent variable representations obtained with the conditional energy-based models trained with both classical and QC-assisted learning techniques achieve an accurate predictive performance for all property targets despite their low dimensionality. The predictive models that use latent representations obtained withQC-assisted generative training not only yield competitive prediction errors as that of other baseline models but also enjoy the least observed error when predicting drug-likeness of the molecules. The obtained computational results demonstrate the effectiveness of the latent representations obtained with the conditional energy-based model trained with QC-assisted learning for molecular property prediction. We also generate the latent representations of 1,000 molecules in the test set with their known target labels using the conditional energy-based model trained through QC-assisted generative training. The mapping of these representations along their three principal components are plotted in FIGS. 6A-6C for various molecular properties.
[0038] Targeted Molecule Generation: We utilize the trained energy -based model and impose restrictions on the molecular properties for targeted molecular generation with the QC- assisted optimization technique of the present embodiments. Several target conditions are imposed on the drug-likeness of molecules as well as their partition coefficients. FIG. 2A is a table that summarizes the generation statistics for the molecules generated with the QC-assisted optimization technique along with their computed properties. This table also comprises of the identical statistics for the molecules in the training set that satisfy the corresponding target requirements. The number of generated molecules obtained by exploring the chemical space described by each property target range and the atomic identities of the reference molecules in the test set are reported in this table. Among the generated molecules for a given target condition, a few duplicates are also identified that form less than 1.5% of the overall molecules. During the sampling of molecules performed by the QC-assisted approximate optimization technique, the validity of the molecules is verified with the RDKit package
[0040] , Although invalid molecules that fail to comply with structural constraints are rarely detected owing to the feasible molecular generation capability of the QC-assisted approach, they are automatically discarded to prevent inaccurate estimations computed within this data-driven approach. Furthermore, the average and standard deviation values presented for each target condition are calculated over the observed properties of the generated molecules to ensure the reliability of the molecular generation process subject to conditions. As evident from the computational results in FIG. 2A, the molecules generated for each conditioned property range satisfy the respective imposed restrictions. We also plot the distribution of the SAS scores for all generated molecules and different target properties in FIGS. 3C and 3D to generate insights for their ease of synthesis. From these violin plots, it can be seen that the molecules generated with lower QED and LogP values exhibit wider variability of accessibility scores, despite their relatively higher average SAS scores. A reverse trend is observed for molecules generated for higherutility as drug-like molecules and high LogP values, demonstrating lower variability of SAS scores with low average scores. We also investigate the latent representations for the generated molecules obtained with the trained conditional energy -based model using t-SNE embeddings. Mapping these latent representations in 2D allows us to identify the closeness of molecules with respect to their corresponding properties. FIG. 2B shows the 2D embeddings obtained with t- distributed stochastic neighbor embedding (t-SNE) for the molecules in the training set as well as the generated molecules colored according to the QED property values. We also include a few examples of molecular structures obtained for different property targets in this figure. A distinction between the latent representations for various property ranges can be observed with molecules exhibiting similar QED values adjacent to each other. This illustrates that the constructed energy based-model learns to capture the relationship between the molecules and their properties as molecules with similar properties have close embeddings.
[0039] To assess the effects of data used to capture the structure-property relationship on the exploration of the chemical space, the densities of partition coefficients and QED values are visualized with kernel density estimation (KDE) plots along with their marginal distributions for the molecules in the training set and all generated molecules in FIGS. 3 A and 3B. The observed concentration of molecules in both training and generated sets is highest in approximately similar ranges of molecular properties. Among the generated molecules, increased density levels are observed for samples with low partition coefficients and high QED values as well as for samples with high partition coefficients and lower QED values. However, this trend is missing for the samples in the training set. This result indicates that, unlike deep generative models that sample molecules from the distribution captured from the training set, the QC-based optimization technique is able to efficiently traverse through the unexplored chemical space that is not previously mapped with the structure-property relationship described by the training set samples. Examples of generated molecular structures sampled for various atomic identities and target properties are also provided in FIGS. 3E and 3F. Although the approximate technique for molecular generation requires extra steps as compared to direct sampling from deep generative models, the QC-assisted technique yields a diverse set of feasible molecules that satisfy structural constraints through efficient guided optimization performed within the target chemical space.Discussion
[0040] The present embodiments use a machine-learning and optimization framework that exploits QC-based techniques for molecular property estimation and design. Weconstructed an energy-based model that can be trained with QC-assisted generative training to produce an expressive latent space representation for accurate molecular property prediction. This model is further utilized to guide the chemical space exploration associated with target properties through the QC-based optimization technique of the present embodiments. The resulting latent representations generated by the energy-based model yield high prediction accuracies for different molecular properties as compared to other deep learning models trained with conventional classical learning methods. The viability of the QC-based optimization technique was also demonstrated by generating 4,457 molecules for several target property requirements.
[0041] Validation: The validity of the generated molecules obtained with different molecular design frameworks were computed along with their properties, followed by plotting the distributions of the properties for corresponding property targets in FIGS. 4A-J. Distributions for the training data are also plotted to validate the generalization capabilities of the molecular design techniques. As evident from these density plots, the SSVAE and CVAE architectures do not guarantee constrained sampling of molecular candidates. As evident from the efficacy metrics in Table S3, a deviation as high as 40.3% from the mean target property requirements can be observed with the VAE-based deep learning methods for molecular generation. On the other hand, the QC-based approach is able to generate molecules that exhibit target properties efficiently with observed zero violations of the required target property constraints. Additionally, the molecules generated with the molecular design technique follow trends similar to that of the training data, which evidently demonstrates the generalization and data efficiency of the energy-based model trained with QC-assisted learning. The efficacy of the presented QC-based techniques implemented on noisy near-term quantum devices like quantum annealers has further illustrated the promise of QC for the design of novel molecules in the NISQ as well as the fault-tolerant era.
[0042] The computational results presented in the above subsections have demonstrated the applicability of QC-assisted techniques for molecular property estimation and design. Although the goal of this work is to develop a molecular design framework capable of exploiting QC techniques for efficient molecular property estimation and generation, it is essential to justify the use of QC for learning and optimization tasks. To this end, we compare the performance of the QC-based techniques with that of their classical counterparts. Computational experiments described herein use quantum annealers for training the conditional energy-based model as well as for sampling molecules. As seen in Table 1, the predictive performance of the model that uses latent representations generated through QC-assistedtraining is significantly better than the baseline predictive models but exhibits only slight improvement over latent variables obtained with classical CD-learning. To demonstrate the training efficiency of the energy -based model with QC-assisted generative training, the training curves obtained over multiple runs are plotted in FIG. 5A. As evident from these, QC-assisted generative training progresses at a rate similar to that of CD-learning but converges to a significantly lower free energy difference value. Additionally, by drawing samples directly from the quantum annealer, QC-assisted learning requires ^(|>’|‘|^|‘ (|>’| + |^|)) less algebraic operations than one-step CD-learning for each step of the training process, where y and h represent the one-hot encoded vector denoting the property target label and the latent vector, respectively. FIG. 5B represents the optimization trajectory of searching for molecules within the chemical space defined by a fixed target property and given atomic identity. For comparison purposes, we attempt to solve the optimization problem with a constrained Bayesian optimization technique using the Gaussian process as the surrogate model
[0051] , Bayesian optimization is chosen for comparison as it not only allows to circumvent the complex functional form of a highly nonlinear optimization problem, but also utilizes a sequential procedure to improve the objective which is similar to that of the QC-based approximate optimization technique described herein. As compared to the constrained Bayesian optimization technique, the QC-assisted optimization technique of the present embodiments quickly explores better objective function values to yield local minima, as seen in FIG. 5B. FIG. 5C also presents a comparison of computational times required to solve the QUBO problems of varying sizes occurred during molecular generation for different atomic compositions and property targets with both simulated annealing implemented on a classical computer and quantum annealing. The presented comparisons clearly demonstrate that the QC-assisted techniques serve as an enhanced alternative to conventional learning and optimization methods implemented on classical computers.
[0043] Computational Issues: One of the limitations of QC-assisted strategy for molecular generation is that the exploration of molecular candidates exhibiting target properties can only be performed within certain ranges only. Although this constrained exploration of the chemical space provides better flexibility in identifying molecules with known atomic identities that satisfy the property requirements, determining molecules with exactly given properties may be difficult. In contrast to the trained deep generative models that can sample molecules for specific target properties, we apply an optimization procedure to perform a guided search for molecules that satisfy the target requirements. This is evident from the presented properties ofgenerated molecules obtained with various molecular design techniques in FIG. 2A and Table S3. Within our computational experiments, we observed that the molecules that exhibit desired properties were found generally towards the end of the optimization procedure, which requires a higher computational effort than direct sampling with deep generative models. We acknowledge that the present embodiments exhibit certain limitations as compared to the generative deep learning systems for molecular generation in literature. Despite these limitations and the challenges associated with near-term QC, comparisons of property prediction with various baselines followed by an analysis of the generated molecules substantiates our objective of developing a QC-based molecular design framework capable of generating molecules with high efficacy. Areas for future improvements involve the development of generative models that could be trained efficiently with QC-based strategies and are capable of directly sampling molecular candidates without any additional steps. Furthermore, the use of the presented QC-based strategies to study and generate chemical reactions could also be explored.Techniques
[0044] Molecular Representation: The first step towards constructing quantitative structure-property relationships is to transform the chemical information of molecules into descriptors or fingerprints. The numerical encoding of the molecular structures is necessary for their feature representation as well as for similarity searches during virtual screening. MACCS and ECFP are examples of substructure-based and circular fingerprints, respectively
[0052] , Although such fingerprints have been previously used for predictive modeling, they are expertbased representations that are constructed with expert knowledge governed by a set of rules
[0053] , In addition, the non-invertibility of molecular fingerprints further complicates the search for molecules within the chemical space that produce desired representations obtained with predictive models. As a result, we use a graph convolutional neural network to generate neural fingerprints that serve as input to the energy -based model. Graph convolutional networks allow for learning task-specific molecular features to achieve a competitive predictive performance
[0048] , To generate neural fingerprints, a graph convolutional neural network is constructed that operates on molecules structured as graphs with atoms as nodes and bonds as edges. The constructed network uses a convolution operator described in Ref.
[0048] followed by a linear transformation to generate hidden feature vectors for individual atoms. This convolution operator has distinct weight matrices for each possible degree of vertices in the input graph. A softmax operation along the node features is then performed for each node tofacilitate information flow between the atomic features of the molecule. Finally, a global pooling operation is applied to the updated hidden node features to generate a fixed-length vector as the network output. It should be noted that the graph convolutional network is initialized with large random weights without training. This graph convolutional network yields a direct nonlinear mapping Gc between the molecular graph and its neural fingerprint f = Gc( X, A , where represents the feature matrix for nodes and A represents the adj acency matrix of the graph. As described in more detail below, the neural fingerprints are validated through similarity comparisons with ECFP and MACCS molecular representations.
[0045] Drawing Samples from Quantum Annealer: Quantum annealing refers to a search technique that can be implemented on an AQC platform. Compared to simulated annealing, quantum annealing demonstrates convergence to the ground state with a larger probability under similar conditions
[0054] , Quantum annealers are made available by D-Wave Systems with access to its users through the cloud. The D-Wave system can only solve quadratic unconstrained binary optimization (QUBO) problems. The QUBO graph is then mapped onto the quantum processing unit (QPU), with edges between nodes as internal couplers and qubits as the nodes. D-Wave offers QPUs with a topological structure of interconnected qubits forming either the Chimera graph or Pegasus topology
[0055] , To physically perform this mapping from variables to qubits, the process of minor-embedding is required [56,57], Solving a QUBO problem on the D-Wave QPU comprises three main steps. First, the QUBO problem graph is embedded on the QPU. Second, low-energy solutions of the problem Hamiltonian are obtained through quantum annealing. Third, the solution is unembedded and is returned to the user. Notably, the process of finding an optimal graph-minor embedding is NP-hard. However, heuristic algorithms exist for finding graph-minors
[0058] , and the D-Wave system implements its automatic embedding and unembedding tools
[0059] , Nevertheless, special care must be taken to formulate the smallest QUBOs possible to facilitate the embedding process for large-scale problems, to enable the solution on such quantum devices. Quantum annealers allow for implementation of a target Ising Hamiltonian with only pairwise interactions and local terms as and can generate independent configurations from noisy Gibbsdistributions
[0060] , All computational experiments involving the use of quantum annealers in this work are performed with the D-Wave Advantage quantum processor that offers at least 5,000 qubits and 35,000 couplers
[0061] , Each annealing run used for both generative training and optimization is performed for 20ps on this quantum processor.
[0046] Energy -Based Model: We develop an energy-based model for molecularproperty prediction that can utilize QC techniques for efficient learning. Energy-based models can learn the distribution of data by associating an unnormalized probability value or energy to each data point. Additionally, the difficulty in sampling from such models allows us to explore alternatives for classical approximation techniques with quantum sampling facilitated by a quantum computer. In this work, we adopt a conditional generative model called conditional restricted Boltzmann machine (CRBM) to incorporate molecular property targets as binary variables. CRBM is a nonlinear generative model that can capture the conditional probability of observed data and has been previously applied for time series generation
[0062] , Although energy-based models are typically used for generative modeling, they can also be used for classification tasks
[0063] , Owing to their rich expressivity of latent variables and modeling flexibility, we use a conditional energy-based model for the supervised learning task of molecular property prediction.
[0047] An input to the energy-based model is a fixed-length vector description of the molecule under consideration captured by the neural fingerprint. In order to learn the conditional distribution p(y | ) of property targets y given the fingerprint we construct a CRBM network that defines a conditional j oint distribution over f and latent variables h denoted by pg( y, h | ) . The property targets are encoded into one-hot vectors through discrete binning of the target property values to minimize the effects of small observation errors. The hidden latent variables are modeled as binary units and can provide auxiliary information. The marginal conditional distribution of the target property y given the molecular fingerprint f can then be written as shown in Eq. (1), where Fg(y,f) represents the associated free energy and Z ( / ) denotes the partition function, as defined in the Supplementary Information below. The constructed conditional energy -based model can be trained over a dataset D by maximizing the conditional log-likelihood of the input data as maxe^2^ log pe(yd\ fd) . In order to apply gradient ascent for this maximization problem, the gradients of conditional log-likelihood can be analytically computed which leads to the parameter update rules as derived in the Supplementary Information. The Q terms in the update rules can be easily computed with training data comprising of molecular fingerprints and properties for different molecules, however, computing the exactly requires evaluating an expectation over pg(y,h | ). Estimation of this expectation value is computationally intractable due to the complexity stemming from the partition function Z ( / ) and requires appropriate approximation techniquesin a practical setting.
[0048] Contrastive divergence (CD) learning can approximate the intractable expectations with Gibbs sampling
[0044] and has been extensively used for training energy -based models. CD-learning can, however, produce biased estimates of the conditional log-likelihood gradients and may even fail to converge in some cases. Although improved variants of CD learning can tackle such issues, the improvement in training performance is obtained at the expense of increased computational burden
[0063] , To overcome the limitations of classical approximation techniques, we incorporate QC-assisted training methodologies for efficient training of our energy -based model. pg(y, h | ) is a Boltzmann distribution also termed as Gibbs distribution expressed in the form of 7 (A) = exp / Z , wherein the energy E resembles an Ising Hamiltonian. As a result, we exploit quantum annealers to model pg( ,h \ f and draw samples from them to train the constructed energy -based model. The target Ising Hamiltonian on the quantum annealers is specified through the local fields h and pairwise couplings J. These input parameters are computed by mapping the energy function of the conditional energy-based modelHamiltonian. This energy function can be cast as a logical bipartite graph with y and h as its nodes and the parameters 0 = (W1V2,W,b,c) and fingerprint f governing its node and edge weights. In order to draw samples from the quantum annealer, we map the bipartite graph onto the physical hardware graph of qubits and couplers. It is important to note that the connectivity of the hardware graph poses certain restrictions on the size of logical graphs that can be embedded onto the QPU, so careful consideration of the degree of the logical bipartite graph dependent on the sizes of fingerprint and latent variable vectors is required. We obtain an embedding scheme for mapping the energy function onto the quantum annealer with a heuristic tool
[0058] which is used repeatedly while drawing samples from the Boltzmann distribution. For each update step of the model parameters, several samples are drawn from pgy,h \ f by performing multiple annealing runs to estimate the expectations , and
[0049] Property Estimation: The trained conditional energy-based model yields themarginal distribution pg(y \ f) due to the generative modeling approach. For property prediction tasks, we can estimate the target property by computing the latent representations with pg(h | y,f and training a feedforward neural network using these representations as input. For molecules with unknown targets, the latent variables can be estimated by first determining the appropriate target label y with maximization of the conditional log-likelihood given a molecular fingerprint as maxvlog p ( y | ) , which is followed by computing the latent representations and passing them through the feedforward network to predict exact property targets. Fixed length neural fingerprints of size 256 are generated with the fixed weights GraphConv network that serves as input to the conditional energy-based model in addition to the corresponding property labels encoded as discrete bins. We set the dimension of latent space representation to 64 during the construction of the energy-based model. This conditional energy-based model is trained with the molecules and their property targets in training set by drawing samples from a quantum annealer. The same energy-based model is also trained with CD-learning
[0044] carried out on a classical computer to discern any benefits of the QC-based approach over its classical counterpart. The training procedure of the conditional energy -based models is monitored with the difference between the free energy of original and reconstructed target labels. Furthermore, three baseline models are trained to predict molecular properties for benchmarking purposes. Two fully-connected networks that use ECFP and MACCS fingerprints
[0052] of lengths 2048 and 512 as input are trained using backpropagation with the Adam optimizer
[0064] , The same procedure is used to train a GraphConv model
[0048] that operates directly on molecules cast as graph-structured data to predict their properties directly. The training for all models is terminated when the validation metrics fail to improve over consecutive steps, and their predictive performance is evaluated with mean absolute errors computed on the test set.
[0050] Optimization Strategy for Molecular Design: Generation of molecules by inverting the structure-property relationships obtained with the trained conditional energybased model can be cast as an optimization problem. For a given target property range, the corresponding one-hot label can be determined as j!, then the optimization problem deals with the objectiveand is subject to the constraint f = GC( ,A) in addition to the structural constraints Q that guarantee the generation of feasible molecules. This problem can be simplified by fixing the feature matrix of atoms Ain the molecule provided either by guided intuition or reference molecules, which leads to a search of the chemical space defined by thegiven atomic identities. Despite this, the optimization problem is a constrained nonlinear optimization problem withdiscrete-continuous variables and is challenging to solve with off-the-shelf solvers. To tackle this problem, we develop a QC-assisted approximate optimization technique that is capable of efficiently navigating the chemical space defined by the given atomic identities and the desired property targets.
[0051] In order to exploit QC for optimization, it is important to formulate problems that are compatible with the specific quantum hardware. It should be noted that both circuit model quantum devices and quantum annealers can natively solve QUBO problems. The main idea behind the solution technique is the use of a weighted linear model that servesas a surrogate model to approximate the objective function. Since the adjacency matrix is symmetric, A > z, Vz J form the variables for the moleculargeneration problem. In addition, the set of structural constraints comprises inequalities of the form < v. where virepresents the valency of constituent atom i. Thesestructural constraints can be modeled as a QUBO problem denoted by Qc such that arg mi n , Qce Q . This QUBO problem can be formulated as Qc=where Qtis given by:
[0052] Similar to Bayesian optimization
[0065] , the QC-based approximate optimization technique of the present embodiments implements two phases. The primary phase involves random exploration of the chemical space to generate molecules and computing the associated objective function values. This exploration phase is performed by using a quantum annealer to solve min , Qcto generate feasible molecules. The collected samples and the objective function values are recorded as where N indicates the number of exploration steps.The secondary phase of the solution technique adopts a data-driven approach to train the surrogate model by minimizing the squared error as min^ .ieD(Fs ~ PT A)2 toyield leastsquare estimates for / 3 . Sampling a molecule in this phase then involves solving the QUBO min ,S^_li+ Qcwhere is a fixed multiplier that satisfies A » || / ?|| • The obtained molecule and the observed objective value function are further appended to D. During each stepof the second phase, the least square estimates are updated over the dataset D, followed by solving the updated QUBO problem. This ensures that the adjacency matrix is sampled such that it approximately minimizes the surrogate model while maintaining the structural constraints. It is important to note that the QUBO problems in both phases of the QC-based optimization technique can be cast as a fully connected graph. This graph can be mapped onto the physical hardware graph of the quantum annealer and is subjected to restrictions posed by the connectivity of the specific device. As the connectivity of the logical graph cast by the QUBO problems remains consistent throughout the optimization procedure, we obtain an embedding scheme for the mapping of the logical graph to physical graph using a heuristic tool
[0058] , For a given optimization problem, the embedding scheme is determined only once and is reused over all sampling steps of the QC-based approximate optimization technique.
[0053] Generating Molecules: To demonstrate the viability of the QC-assisted optimization technique for molecular generation, we conduct multiple computational experiments with various property targets. The conditional energy-based model trained with QC-assisted generative training is used as the structure-property relationship for inversion with the QC-based approximate optimization. For a given property target, appropriate target labels are obtained, and the corresponding conditional energy-based model is used to compute the objective function values for sampled molecules. Atomic identities of the molecules in the test set are used to search the associated chemical spaces with the solution technique for molecular candidates that satisfies target property requirements. Ten exploration steps are performed for each optimization problem, followed by 90 sampling steps to minimize the associated free energy of the trained conditional energy-based model. The molecules generated with the QC- assisted optimization technique are recorded for various conditions on properties like partition coefficient and drug-likeness. Additionally, we also calculate the QED, SAS, and LogP values for all generated molecules using the RDKit package
[0040] to validate the performance of the QC-based optimization technique.Supplemental Information
[0054] Data Processing: We first collected the SMILES identifiers of 12,000 molecules and identified their atomic and bond features with the RDKit package
[0040] , PyTorch Geometric (PyG) is a graph neural network package based on PyTorch and was used to construct molecular graphs for recording structural information and molecular properties. The molecular dataset is partitioned into a training set of 10,000 molecular graphs and property targets in addition to validation and test sets of size 1,000 each
[0039] , For the training, validation, and test datasets, abatched Dataset container in PyG was further constructed, which includes a batch of molecular graphs as one large disconnected graph. For each molecular property, target labels were also generated by constructing several bins that discretize the target space. To create a balanced dataset, we perform equal frequency binning on the samples in the training set to obtain the required set of bins. The generated bins for each property target along with their frequency, are reported in Table SI.Table SI. Numeric ranges for different molecular properties are obtained by performing equal frequency binning and are used to generate target labels.
[0055] Predictive Performance: Various metrics for the energy-based model trained with QC-assisted learning are presented in Table S2, wherein prediction errors for the SAS scores are skewed towards the higher range as compared to the other molecular properties. We also plot the principal component mappings of latent representations for 1,000 randomly selected molecules obtained with the energy-based model trained with quantum generative training in FIGS. 6A-6C. Distinctions for different property target values are apparent from the compressed representation along the principal components. Such discernible patterns in the latent representations with respect to the molecular properties indicate the construction of robust latent space that can be utilized for accurate property prediction tasks.Table S2: Predictive performance of the energy-based model trained with QC- assisted learning for molecular properties along with the statistical information at the end of the training process.
[0056] Generation Efficacy: Table S3 represents the average and standard deviation values presented for each target condition are calculated over the observed properties of the generated molecules with the SSVAE
[0035] and CVAE
[0049] approaches to ensure the reliability of the molecular generation process subject to conditions. As evident from these values, the observed molecular properties lie beyond the required target range for both of the variational autoencoder-based approaches. Although lower accessibility scores present opportunities for easier synthesis, inability to satisfy target property requirements casts doubt on the constrained sampling capabilities of these baseline molecular design techniques.Table S3 : Molecule generation efficacy of the baseline molecular design techniques is described through different properties computed for the generated molecules for specified target requirements.
[0057] Molecular Representations: The GraphConv network is also constructed with PyG with the appropriate convolution operators. It should be noted that the neural fingerprints generated with GraphConv do not contain discrete values, as compared to the MACCS and ECFP fingerprints that provide binary representations. The molecular fingerprints allow us to measure the similarity between different molecules in a quantitative manner. Each element of binary fingerprints generally indicates the presence or absence of certain components like functional groups in a molecule. As this is not valid for continuous neural fingerprints generated with GraphConv, we can validate the similarities of different molecule pairs computed for each fingerprint. We randomly choose 500 query molecules among the training samples for this purpose and compute the Tanimoto similarities between each pair within this query set for each of the MACCS, ECFP, and neural fingerprints. The distribution of these similarities are plotted in FIG. 7. Compared to MACCS, the fingerprints obtained with GraphConv do not underestimate the similarity scores in the case of missing functional groups. Although the GraphConv network approximately mimics the rules used to compute the ECFP fingerprints
[0048] , the neural fingerprints tend to generate smaller similarity scores than ECFP.
[0058] Constructing and Training the Energy -Based Model: The model parameters6, c) include weights and W2directed from conditional or fingerprint vector towards the visible and latent units, respectively, undirected weights W between the visible and latent variables, visible bias b, and hidden bias vector c. A joint probability distribution over target properties and latent variables conditioned on the molecular descriptors can be assigned with the energy functions as shown in Eq. SI. (3) , wherein Z ( / ) is the normalization factor or the partition coefficient given by the expressionThese energy functions capture the interactions between the fingerprints and both variables as well as between the target variables and the latent layer and are denoted by Econd, respectively in Eq. SI. (4)
[0059] With the above information, the local conditional probabilities for the visible and hidden units can then be computed as p (h = 11 / , y ) = a (f • W2+ y • W + c) and with Eq.SI. (5), where (T indicates the sigmoid function given by cr (x) = 1 / (1 + exp (-x)) . For a given molecular property, these probabilities can be used to sample latent variables and reconstruct input fingerprints. The marginal conditional distribution of the target property y given the molecular fingerprint f can then be written as shown in Eq. (1).The training rules SI. (8)-SI. (12) can be derived as follows by maximizing the log likelihood of marginal conditional distribution:Additional Embodiments
[0060] FIG. 8 illustrates a conditional restricted Boltzmann machine (CRBM) 800, which is one example of a machine-learning model that may be used with the present embodiments. The CRBM 800 is also one example of the conditional energy-based model shown in FIG. IB. The CRBM 800 includes a plurality of visible nodes 802 and a plurality of hidden nodes 804. Each of the visible nodes 802 represents a visible binary variable y7, where j is an index that runs from 1 to the number of the visible nodes 802. The ordered set of visible binary variables {y1(... , y7, ... } = y therefore forms a vector y that is also referred to herein as a “target vector” or a “molecular property vector.” Since the vector y and ordered set y are identical, the vector y is sometimes indicated herein without an arrow (i.e., y).
[0061] Each of the hidden nodes 804 represents a hidden binary variable hk, where k is an index that runs from 1 to the number of the hidden nodes 804. The ordered set of hidden binary variables {hlt..., hk, ... } = h therefore forms a vector h that is also referred to herein as a “latent vector” or “hidden vector.” Since the vector h and ordered set h are identical, the vector h is sometimes indicated herein without an arrow (i.e., h). The vector h exists in a latent vector space, or simply “latent space,” whose dimensionality (i.e., the number of hidden binaryvariables) is equal to the number of the hidden nodes 804.
[0062] Each of the visible nodes 802 directly connects to each of the hidden nodes 804 via a weight IVJk, where the superscripts indicate the row and column of a weight matrix IV whose elements are the weights between the visible nodes 802 and the hidden nodes 804. The visible nodes 802 and hidden nodes 804 are fully connected in that each of the visible nodes 802 directly connects (i.e., has a single weight) to each of the hidden nodes 804, and vice versa. The visible nodes 802, hidden nodes 804, and weight matrix IV collectively form a Boltzmann machine that is “restricted” in that none of the visible nodes 802 directly connect to each other and none of the hidden nodes 804 directly connect to each other.
[0063] The CRBM 800 is “conditional” in that it connects to a conditional vector ft having an ordered set of conditional -vector elements { / j,... } = { , where i is an index that runs from 1 to the number of these conditional-vector elements. Unlike the binary variables y7- and hk, the conditional-vector elements { may be continuous-valued or discrete-valued. Since the vector ft and ordered set ft are identical, the vector ft is sometimes indicated herein without an arrow (i.e., ). The conditional vector ft is also referred to herein as a “molecular fingerprint,” “neural fingerprint,” or “feature vector.”
[0064] The conditional-vector element ftdirectly connects to the visible binary variable Vj via a weightwhere the superscripts indicate the row and column of a weight matrix I / F, whose elements are the weights between the conditional -vector elements { and the visible nodes 802. Similarly, the vector element ft directly connects to the hidden binary variable hkvia a weight W2k, where the superscripts indicate the row and column of a weight matrix W2whose elements are the weights between the conditional -vector elements { and the hidden nodes 804.
[0065] FIG. 9 is a flowchart of a method 900 for exploratory molecular design, in accordance with some of the present embodiments. As shown in FIG. 9, some embodiments of the method 900 start with an exploratory dataset D that is initially empty. In step 902 of the method 900, a structural cost function (ft is constructed. The structural cost function (ft has a plurality of first minima, each identifying, or corresponding to, a molecular species that satisfies one or more molecular-structure constraints (1. As an example of the step 902, the function Qcis constructed such that each of its minima corresponds to one of the structural constraints (1, as described above in the section titled “Optimization Strategy for Molecular Design.” The molecular-structure constraints (1 may be in the form of inequalities involving the valency of each specified constituent atom.
[0066] In step 903 of the method 900, a plurality of exploratory molecular species are generated. The step 903 includes steps 904, 906, 908, 910, and 912. In the step 904, the structural cost functionis minimized to obtain a set of one or more arguments A1of a first minimum that is one of the plurality of first minima. Here, i is an index that numerically labels the plurality of exploratory molecular species that are generated. In some embodiments, each of the plurality of exploratory molecular species is formed from a plurality of specified constituent atoms. For example, the feature matrix X described above identifies an atomic species of each of the specified constituent atoms. In this case, the set of arguments A1of the first minimum may form an exploratory adjacency matrix whose elements identify atomic bonds between pairs of the specified constituent atoms. For clarity herein, this adjacency matrix is sometimes referred to with the symbol A.
[0067] In some embodiments, the step 904 is performed with a quantum computer. The quantum computer may be a quantum annealer that implements the minimization of the structural cost functionas a QUBO problem. However, another type of quantum computer may be used provided that the minimization can be implemented in a way that is compatible with the quantum computer’ s architecture (e.g., polynomial unconstrained binary optimization). For example, some minimization problems can be formulated for execution with a gate-model quantum computer or another type of quantum-computing architecture (e.g., topological quantum computing, cluster-state quantum computing, etc.). In other embodiments, the step 904 is performed solely via classical computing techniques, or a combination of classical and quantum computing techniques.
[0068] In step 906 of the method 900, an exploratory feature vector flis created based on the set of one or more arguments A1of the first minimum. The exploratory feature vector flidentifies the corresponding exploratory molecular species within a feature vector space (or simply “feature space”). In some embodiments, the exploratory feature vector flis created by feeding the exploratory adjacency matrix and the plurality of specified constituent atoms into the trained GraphConv Gc(see the section above titled “Molecular Representation”). However, another type of trained machine-learning model may be used instead of, or in addition to, the trained GraphConv. Examples of such machine-learning models include, but are not limited to, recurrent neural networks and variational autoencoders.
[0069] In step 908 of the method 900, an objective function Feis evaluated with (i) the exploratory feature vector fl, (ii) a target range of a molecular property, and (iii) model parameters 0 of a trained machine-learning model to obtain an objective-function value F =Fg(y,fl) associated with the exploratory molecular species. In FIG. 9, 0 = ( , c, WltW2, W) is the set of model parameters of the CRBM 800 after the CRBM 800 has been trained. In addition, y is a one-hot target vector that encodes the target range of the molecular property. The objective-function value Fg is combined with the set of arguments A1of the first minimum to create an exploratory data point (zl1, Fg). In the step 910 of the method 900, the exploratory data point (zl1, Fg) is appended to the exploratory dataset D.
[0070] In one example of the step 908, the free energy of the CRBM 800 is used for the objective function Fg (see the sections above titled “Optimization Strategy for Molecular Design” and “Constructing and Training the Energy-Based Model”). However, the free energy is only one type of the objective function Fethat may be used with the method 900. The free energy is typically used when the trained machine-learning model is an energy-based model, such as the CRBM 800. However, other types of energy may be used for the objective function Fg, depending on the type of energy-based model. Examples of other energies include, but are not limited to, Helmholtz energy and Gibbs energy. When the machine-learning model is not energy -based, the objective function Fg may be, for example, an error-based function.
[0071] It is assumed in the step 908 that the trained machine-learning model was previously trained with a plurality of training samples. Each of these training samples includes a training feature vector that identifies a corresponding training molecular species within the feature space. The training sample also includes a training target vector that specifies a predefined range of values for each of one or more molecular properties. For each of these one or more molecular properties, the training molecular species has a value of the molecular property that lies within the respective predefined range of values.
[0072] The step 912 is a decision. If another exploratory data point is to be generated, the step 903 returns to the step 904. If no more exploratory data points are to be generated, the method 900 stops. The output of the method 900 is the exploratory dataset D populated with N exploratory data points (^A1, Fg ^,. . ., AN, Fg ). Iterations of the step 903 may continue for a fixed, predetermined value of the number N. In this case, the step 903 may be implemented, for example, with a simple for-loop. Alternatively, iterations may continue until some other condition is met. For example, the step 903 may continue iterating until the objective-function values of the exploratory dataset D obey or adhere to one or more statistic-based conditions.
[0073] In some embodiments, the method 900 further includes training an untrained machine-learning model with the plurality of training samples to obtain the trained machinelearning model. An example of such training is described above in the section titled“Constructing and Training the Energy-Based Model.” In some of these embodiments, training includes quantum sampling with a quantum computer to obtain samples and using the obtained samples to update one or more parameters of the untrained machine-learning model. The quantum sampling may be performed with a quantum annealer. The training may include generating the training target vector via one-hot encoding of the value of the molecular property. Alternatively, the training may be performed using only classical computing techniques, or a combination of classical and quantum computing techniques.
[0074] FIG. 10 is a flowchart of a method 1000 for generative molecular design, in accordance with some of the present embodiments. In the following description, it is assumed that the method 1000 is performed in combination with the method 900 of FIG. 9. However, the methods 900 and 1000 may be performed separately and independently from each other.
[0075] As shown in FIG. 10, some embodiments of the method 1000 start with the exploratory dataset D, as populated with the N exploratory data points (A1, Fg ) . . . (AN, F ). The method 1000 may also start with a surrogate model S. In some embodiments, the surrogate model S is a linear model, i.e., S = ,i,j>i Pij^-ij,is an element of a matrix / 3 of parameters of the linear model. However, the surrogate model S may alternatively be another type of parameterized model (e.g., polynomial, exponential, piece-wise, etc.). In embodiments where the surrogate model S is uninitialized (i.e., the parameters ?£j- are undetermined or unspecified), the method 1000 may include the step 1002, in which the surrogate model S is initialized by selecting initial values for the parameters of the surrogate model S.
[0076] In step 1003 of the method 1000, one or more candidate molecular species are generated. The step 1003 includes steps 1004, 1006, 1008, and 1010. In some embodiments, the step 1003 further includes steps 1012, 1014, 1016, or 1018, or any combination thereof. In the step 1004, a subset D' of exploratory data points are randomly selected from the exploratory dataset D. In the step 1006, regression is performed with the objective-function values of the subset D' to update the surrogate model S such that the surrogate model S approximates the objective function Fe. When the surrogate model S is a linear model, the regression may be linear regression (e.g., minimizing a sum of squared errors, as shown above in the section titled “Optimization Strategy for Molecular Design”). When the surrogate model S is a nonlinear model, the regression may be nonlinear regression (e.g., nonlinear least squares).
[0077] In the step 1008 of the method 1000, an error cost function Q2is constructed by combining the surrogate model S, as updated by the regression performed by the step 1006, with the structural cost functionsuch that each of a plurality of second minima of the errorcost function Q2identifies a molecular species that minimizes the surrogate model S while satisfying the molecular-structure constraints 1. In some embodiments, the error cost function Q2is a weighted sum of the structural cost function and the surrogate model, e.g., Q2= S + Qi, where is a fixed multiplier that is much greater than \\ / 3\\m. However, the error cost function Q2may have a different mathematical form without departing from the scope hereof.
[0078] In the step 1010 of the method 1000, the error cost function Q2is minimized with a quantum computer to obtain a set of one or more arguments A1of a second minimum that is one of the plurality of second minima. The quantum computer may be a quantum annealer that implements the minimization of the error cost function Q2as a QUBO problem. However, another type of quantum computer may be used provided that the minimization can be implemented in a way that is compatible with the quantum computer’s architecture (e.g., polynomial unconstrained binary optimization). For example, some minimization problems can be formulated for execution with a gate-model quantum computer or another type of quantumcomputing architecture. In other embodiments, the step 1004 is performed solely via classical computing techniques, or a combination of classical and quantum computing techniques.
[0079] The set of one or more arguments A1of the second minimum may be outputted to identify the molecular structure of the candidate molecular species that was generated. In some embodiments, each of the candidate molecular species is formed from a plurality of specified constituent atoms (e.g., the feature matrix X). In this case, the set of arguments A1of the second minimum may form a candidate adjacency matrix whose elements identify atomic bonds between pairs of the specified constituent atoms. The candidate adjacency matrix may then be outputted to identify, in part, the candidate molecular species that was generated. After outputting, the candidate adjacency matrix may be combined with the specified constituent atoms to reconstruct the molecular structure of the candidate molecular species.
[0080] In some embodiments, the method 1000 further includes the step 1012, in which a candidate feature vector flis created based on the set of one or more arguments A1of the second minimum. The candidate feature vector flidentifies the corresponding candidate molecular species within the feature space. In some embodiments, and similar to the step 906 of FIG. 9, the candidate feature vector flis created by feeding the candidate adjacency matrix and specified constituent atoms into the trained GraphConv. However, another type of machinelearning model may be used instead of, or in addition to, the GraphConv to create the candidate feature vector fl. The candidate feature vector flmay then be outputted.
[0081] In some embodiments, the method 1000 further includes the step 1014, in whichthe objective function Feis evaluated with (i) the candidate feature vector fl, (ii) the target range of a molecular property, and (iii) the model parameters 0 of the trained machine-learning model to obtain an objective-function value Fg of the candidate molecular species.
[0082] In some embodiments, only one candidate molecular species is generated during the step 1003. In this case, the method 1000 may then output a first set of one or more arguments A1of the second minimum, a first candidate feature vector f1, or a first objective-function value Fg , or any combination thereof. In other embodiments, more than one candidate molecular species is generated during the step 1003. In this case, the step 1003 may implement a loop in which each iteration of the loop generates another one of the candidate molecular species.
[0083] In some of the embodiments in which the step 1003 implements a loop, the method 1000 further includes the step 1016 in which the set of one or more arguments A1is combined with the objection-function value Fg to create a candidate data point (zl1, Fg) that is appended to the exploratory dataset D. The method 1000 may further include the step 1018, which is a decision to generate another candidate data point (i.e., another one of the candidate molecular species). If another candidate data point is to be generated, the step 1003 returns to the step 1004 to start another iteration. If no additional candidate data points are to be generated, then the method 1000 stops. The exploratory data set D is now a candidate data set D* with N + M data pointsthe first N data points are the exploratory data points and the last M data points are the candidate data points. Since candidate data points are added to the exploratory data set D, one or more of these candidate data points may be selected as part of the subset D'.
[0084] The method 1000 may output any one or more pieces of information from the candidate data set D* . For example, the set of arguments A1having the smallest objectivefunction value Fg may be outputted as an optimum solution. The smallest objective-function value Fg may also be outputted to monitor convergence. The corresponding candidate feature vector flmay also be outputted.
[0085] While the above discussion of the methods 900 and 1000 use the CRBM 800 of FIG. 8 as the trained machine-learning model, those trained in the art should recognize that the present embodiments may be adapted to work with other types of machine-learning models. For example, the trained machine-learning model may be a conditional non-energy -based model, an unconditional energy -based model, or a conditional energy -based model (e.g., the CRBM 800). Examples of unconditional and non-energy -based machine-learning models that will work with the present embodiments include unconditional variational autoencoders,conditional variational autoencoders, recurrent neural networks, feedforward neural networks, convolutional neural networks, and long / short-term neural networks. Some machine-learning models (e.g., any kind of Boltzmann machine and variational autoencoders) are best used for used for quantum annealing. Other types of machine-learning models are best for gate-model quantum computers.
[0086] FIG. 11 is a functional diagram of a system 1100 for molecular design, in accordance with some of the present embodiments. The system 1100 includes a processor 1102 and a memory 1108 that communicate with each other over a system bus 1106. To communicate with external peripherals (e.g., monitors, keyboard, hard drives, memory cards, printers, etc.), computing devices (e.g., smart phones, tablets, etc.), and networks (e.g., Wi-Fi, Ethernet, Bluetooth, etc.), the system 1100 includes one or more input / output blocks 1104. In the example of FIG. 11, the system 1100 includes a first I / O block 1104(1) that interfaces with a quantum computer 1180. The system 1100 also includes a second VO block 1104(2) that transmits results to another device. Although not shown in FIG. 11, the system 1100 may include more than two I / O blocks 1104 without departing from the scope hereof.
[0087] The system 1100 transmits instructions to the quantum computer 1180 via the VO block 1104(1). These instructions control the quantum computer 1180 to perform minimization, sampling, or other quantum-computing techniques used by the present embodiments. The quantum computer 1180 transmits results (e.g., the arguments .A1) back to the system 1100. The quantum computer 1180 may be a quantum annealer, a gate-model quantum computer, or another type of quantum computer known in the art. In some embodiments, the system 1100 includes the quantum computer 1180. In other embodiments, the system 1100 excludes the quantum computer 1180, in which case the quantum computer 1180 is maintained by, and accessed through, a third party.
[0088] The processor 1102 may be any type of circuit capable of performing logic, control, and input / output operations. For example, the processor 1102 may be a microprocessor having one or more central processing unit (CPU) cores, a graphics processing unit (GPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), a system-on-chip (SoC), or a microcontroller unit (MCU), or any combination thereof. The processor 1102 may also include a memory controller, bus controller, and other components that manage data flow between the processor 1102, memory 1108, and I / O blocks 1104.
[0089] The memory 1108 stores machine-readable instructions 1110 that, when executed by the processor 1102, control the system 1100 to implement the functionality and methods described above. The machine-readable instructions 1110 include an exploratory datapoint generator 1114 that implements the step 903 of FIG. 9, a candidate data point generator 1116 that implements the step 1003 of FIG. 10, a cost function minimizer 1118 that implements the step 904 of FIG. 9 and the step 1010 of FIG. 10, a regression module 1120 that implements the step 1006 of FIG. 10, an objective-value evaluator 1122 that implements the step 908 of FIG. 9 and the step 1014 of FIG. 10, a quantum computing module 1124 that communicates with the quantum computer 1180 (e.g., as part of the cost function minimizer 1118), a feature vector creator 1126 that implements the step 906 of FIG. 9 and the step 1012 of FIG. 10, a training module 1128 that implements training of the machine-learning module, and an outputter 1130. The memory 1108 may store additional machine-readable instructions 1110 than shown in FIG. 11 without departing from the scope hereof.
[0090] The memory 1108 also stores data 1112 used by the processor 1102 when executing the machine-readable instructions 1110. This data 1112 includes the GraphConv network Gc, the feature vector fl, the data set D, the subset D', the molecular-structure constraints (1, the feature matrix X, the structural cost functionthe error cost function Q2, the surrogate model S (include model parameters / ?), the trained machine-learning model (include model parameters 0), an objective-function value Fg, and a set of arguments A1. The memory 1108 may store additional data 1112 than shown in FIG. 11 without departing from the scope hereof.References[1] Segal, D. Materials for the 21st Century. (Oxford University Press, 2017).[2] Virshup, A. M., Contreras-Garcia, J., Wipf, P., Yang, W. & Beratan, D. N. Stochastic voyages into uncharted chemical space produce a representative library of all possible drug-like compounds. JAm Chem Soc 135, 7296-7303, doi: 10.1021 / ja401184g (2013).[3] Achenie, L., Venkatasubramanian, V. & Gani, R. Computer aided molecular design: theory and practice. (Elsevier, 2002).[4] Feynman, R. P. Simulating physics with computers. International Journal of Theoretical Physics 21, 467-488, doi: 10.1007 / BF02650179 (1982).[5] Willett, P. Genetic algorithms in molecular recognition and design. Trends in Biotechnology 13, 516-521 (1995).[6] Elton, D. C., Boukouvalas, Z., Fuge, M. D. & Chung, P. W. Deep learning for molecular design — a review of the state of the art. Molecular Systems Design & Engineering 4, 828-849 (2019).[7] Austin, N. D., Sahinidis, N. V. & Trahan, D. W. Computer-aided molecular design: Anintroduction and review of tools, applications, and solution techniques. Chemical Engineering Research and Design 116, 2-26, doi: 10.1016 / j.cherd.2016.10.014 (2016).[8] Cao, Y., Romero, J. & Aspuru-Guzik, A. Potential of quantum computing for drug discovery. IBM Journal of Research and Development 62, 6: 1-6:20, doi: 10.1147 / JRD.2018.2888987 (2018).[9] Ajagekar, A. & You, F. New frontiers of quantum computing in chemical engineering. Korean Journal of Chemical Engineering, doi : 10.1007 / s 11814-021-1027-6 (2022) .
[0010] Cao, Y. el al. Quantum Chemistry in the Age of Quantum Computing. Chemical Reviews 119, 10856-10915, doi: 10.1021 / acs.chemrev.8b00803 (2019).
[0011] Montanaro, A. Quantum algorithms: an overview, npj Quantum Information 2, 15023, doi: 10.1038 / npjqi.2015.23 (2016).
[0012] Biamonte, J. et al. Quantum machine learning. Nature 549, 195-202, doi: 10.1038 / nature23474 (2017).
[0013] Preskill, J. Quantum computing in the NISQ era and beyond. Quantum 2, 79 (2018).
[0014] Robert, A., Barkoutsos, P. K., Woerner, S. & Tavernelli, I. Resource-efficient quantum algorithm for protein folding, npj Quantum Information ! , 38, doi: 10.1038 / s41534-021- 00368-4 (2021).
[0015] Ajagekar, A., Humble, T. & You, F. Quantum computing based hybrid solution strategies for large-scale discrete-continuous optimization problems. Computers & Chemical Engineering 132, 106630, doi: 10.1016 / j.compchemeng.2019.106630 (2020).
[0016] Sliwoski, G., Kothiwale, S., Meiler, J. & Lowe, E. W. Computational methods in drug discovery. Pharmacological reviews 66, 334-395 (2014).
[0017] Pyzer-Knapp, E. O., Suh, C., Gomez-Bombarelli, R., Aguilera-Iparraguirre, J. & Aspuru-Guzik, A. What is high-throughput virtual screening? A perspective from organic materials discovery. Annual Review of Materials Research 45, 195-216 (2015).
[0018] Kim, S. etal. PubChem substance and compound databases. Nucleic acids research 44, D1202-D1213 (2016).
[0019] Lehn, J. M. Dynamic combinatorial chemistry and virtual combinatorial libraries. Essays in Contemporary Chemistry: From Molecular Structure towards Biology, 307- 326 (2001).
[0020] Schneider, G. Trends in virtual combinatorial library design. Curr Med Chem 9, 2095- 2101, doi: 10.2174 / 0929867023368755 (2002).
[0021] Hautier, G., Jain, A. & Ong, S. P. From the computer to the laboratory: materials discovery and design using first-principles calculations. Journal of Materials Science47, 7317-7340, doi: 10.1007 / sl0853-012-6424-0 (2012).
[0022] Hansen, K. et al. Machine Learning Predictions of Molecular Properties: Accurate Many-Body Potentials and Nonlocality in Chemical Space. The Journal of Physical Chemistry Letters 6, 2326-2331, doi: 10.1021 / acs.jpclett.5b00831 (2015).
[0023] Montavon, G. et al. Machine learning of molecular electronic properties in chemical compound space. New Journal of Physics 15, 095003, doi: 10.1088 / 1367- 2630 / 15 / 9 / 095003 (2013).
[0024] Varnek, A. & Baskin, I. Machine Learning Methods for Property Prediction in Chemoinformatics: Quo Vadis? Journal of Chemical Information and Modeling 52, 1413-1437, doi: 10.1021 / ci200409x (2012).
[0025] Zunger, A. Inverse design in search of materials with target functionalities. Nature Reviews Chemistry 2, 0121, doi: 10.1038 / s41570-018-0121 (2018).
[0026] Sanchez-Lengeling, B. & Aspuru-Guzik, A. Inverse molecular design using machine learning: Generative models for matter engineering. Science 361, 360-365 (2018).
[0027] Venkatasubramanian, V., Chan, K. & Caruthers, J. M. Computer-aided molecular design using genetic algorithms. Computers & Chemical Engineering 18, 833-844, doi : 10.1016 / 0098-1354(93)E0023 -3 ( 1994).
[0028] Zhang, L., Cignitti, S. & Gani, R. Generic mathematical programming formulation and solution for computer-aided molecular design. Computers & Chemical Engineering 78, 79-84 (2015).
[0029] Balamurugan, D., Yang, W. & Beratan, D. N. Exploring chemical space with discrete, gradient, and hybrid optimization methods. The Journal of chemical physics 129, 174105 (2008).
[0030] Gupta, A. et al. Generative Recurrent Networks for De Novo Drug Design. Mol Inform 37, doi: 10.1002 / minf.201700111 (2018).
[0031] Segler, M. H. S., Kogej, T., Tyrchan, C. & Waller, M. P. Generating Focused Molecule Libraries for Drug Discovery with Recurrent Neural Networks. ACS Central Science 4, 120-131, doi: 10.1021 / acscentsci.7b00512 (2018).
[0032] Gomez-Bombarelli, R. et al. Automatic Chemical Design Using a Data-Driven Continuous Representation of Molecules. ACS Central Science 4, 268-276, doi: 10.1021 / acscentsci.7b00572 (2018).
[0033] Blaschke, T., Olivecrona, M., Engkvist, O., Bajorath, J. & Chen, H. Application of Generative Autoencoder in De Novo Molecular Design. Molecular informatics 37, 1700123, doi: 10.1002 / minf.201700123 (2018).
[0034] Sun, M. el al. Graph convolutional networks for computational drug development and discovery. Briefings in Bioinformatics 21, 919-935, doi:10.1093 / bib / bbz042 (2020).
[0035] Kang, S. & Cho, K. Conditional Molecular Design with Deep Generative Models.Journal of Chemical Information and Modeling 59, 43-52, doi: 10.1021 / acs.jcim.8b00263 (2019).
[0036] You, J., Liu, B., Ying, Z., Pande, V. & Leskovec, J. Graph convolutional policy network for goal-directed molecular graph generation. Advances in neural information processing systems 31 (2018).
[0037] Khatami, M. H., Mendes, U. C., Wiebe, N. & Kim, P. M. Gate-based Quantum Computing for Protein Design. arXiv preprint arXiv:2201.12459 (2022).
[0038] Irwin, J. J. & Shoichet, B. K. ZINC— a free database of commercially available compounds for virtual screening. Journal of chemical information and modeling 45, 177-182, doi: 10.1021 / ci049714+ (2005).
[0039] Dwivedi, V. P., Joshi, C. K., Laurent, T., Bengio, Y. & Bresson, X. Benchmarking graph neural networks. arXiv preprint arXiv: 2003.00982 (2020).
[0040] Landrum, G. RDKit: Open-source cheminformatics. (2010). <http: / / www.rdkit.org>.
[0041] Bickerton, G. R., Paolini, G. V., Besnard, J., Muresan, S. & Hopkins, A. L. Quantifying the chemical beauty of drugs. Nature Chemistry 4, 90-98, doi: 10.1038 / nchem,1243 (2012).
[0042] Wildman, S. A. & Crippen, G. M. Prediction of Physicochemical Parameters by Atomic Contributions. Journal of Chemical Information and Computer Sciences 39, 868-873, doi: 10.1021 / ci9903071 (1999).
[0043] Ertl, P. & Schuffenhauer, A. Estimation of synthetic accessibility score of drug-like molecules based on molecular complexity and fragment contributions. Journal of Cheminformatics 1, 8, doi:10.1186 / 1758-2946-1-8 (2009).
[0044] Hinton, G. E. Training products of experts by minimizing contrastive divergence. Neural computation 14, 1771-1800 (2002).
[0045] Carreira-Perpinan, M. A. & Hinton, G. in International workshop on artificial intelligence and statistics. 33-40 (PMLR).
[0046] Rogers, D. & Hahn, M. Extended-connectivity fingerprints. Journal of chemical information and modeling 50, 742-754 (2010).
[0047] Durant, J. L., Leland, B. A., Henry, D. R. & Nourse, J. G. Reoptimization of MDL keys for use in drug discovery. Journal of chemical information and computer sciences 42, 1273-1280 (2002).
[0048] Duvenaud, D. K. et al. Convolutional networks on graphs for learning molecular fingerprints. Advances in neural information processing systems 28 (2015).
[0049] Lim, J., Ryu, S., Kim, J. W. & Kim, W. Y. Molecular generative model based on conditional variational autoencoder for de novo molecular design. Journal of cheminformatics 10, 1-9 (2018).
[0050] Weininger, D. SMILES, a chemical language and information system. 1. Introduction to methodology and encoding rules. Journal of chemical information and computer sciences 28, 31-36 (1988).
[0051] Hernandez-Lobato, J. M., Gelbart, M. A., Adams, R. P., Hoffman, M. W. & Ghahramani, Z. A general framework for constrained Bayesian optimization using information-based search. (2016).
[0052] Cereto-Massague, A. et al. Molecular fingerprint similarity search in virtual screening. Methods 71, 58-63, doi: 10.1016 / j.ymeth.2014.08.005 (2015).
[0053] Stepisnik, T., Skrlj, B., Wicker, J. & Kocev, D. A comprehensive comparison of molecular feature representations for use in predictive modeling. Computers in Biology andMedicine 130, 104197, doi: 10.1016 / j. compbiomed.2020.104197 (2021).
[0054] Kadowaki, T. & Nishimori, H. Quantum annealing in the transverse Ising model. Physical Review E - Statistical Physics, Plasmas, Fluids, and Related Interdisciplinary Topics 58, 5355-5363, doi: 10.1103 / PhysRevE.58.5355 (1998).
[0055] Dattani, N., Szalay, S. & Chancellor, N. Pegasus: The second connectivity graph for large-scale quantum annealing hardware. arXiv preprint ar Xiv:.07636 (2019).
[0056] Klymko, C., Sullivan, B. D. & Humble, T. S. Adiabatic quantum programming: minor embedding with hard faults. Quantum Information Processing 13, 709-729, doi: 10.1007 / sl 1128-013-0683-9 (2014).
[0057] Okada, S., Ohzeki, M., Terabe, M. & Taguchi, S. Improving solutions by embedding larger subproblems in a D-Wave quantum annealer. Scientific Reports 9. (2019).
[0058] Cai, J., Macready, W. G. & Roy, A. A practical heuristic for finding graph minors. arXiv preprint arXiv: 1406.2741 (2014).
[0059] D-Wave. Qbsolv documentation, <https: / / docs.ocean.dwavesys.com / projects / qbsolv> (2019).
[0060] Vuffray, M., Coffrin, C., Kharkov, Y. A. & Lokhov, A. Y. Programmable quantum annealers as noisy gibbs samplers. arXiv preprint ar Xiv: 2012.08827 (2020).
[0061] McGeoch, C., Farre, P., & Bernoudy, W. D-Wave Hybrid Solver Service + Advantage: Technology Update, dwavesys.com / resources (2020).
[0062] Taylor, G. W., Hinton, G. E. & Roweis, S. Modeling human motion using binary latent variables. Advances in neural information processing systems 19 (2006).
[0063] Mnih, V., Larochelle, H. & Hinton, G. E. Conditional restricted boltzmann machines for structured output prediction. arXiv preprint arXiv: 1202.3748 (2012).
[0064] Kingma, D. P. & Ba, J. Adam: A method for stochastic optimization. arXiv preprint arXiv: 1412.6980 (2014).
[0065] Frazier, P. I. A tutorial on Bayesian optimization. arXiv preprint arXiv: 1807.02811 (2018).Combinations of Features
[0091] Features described above as well as those claimed below may be combined in various ways without departing from the scope hereof. The following examples illustrate possible, non-limiting combinations of features and embodiments described above. It should be clear that other changes and modifications may be made to the present embodiments without departing from the spirit and scope of this invention:
[0092] (Al) A method for molecular design includes constructing a structural cost function having a plurality of first minima, each of the plurality of first minima identifying a molecular species that satisfies one or more molecular-structure constraints. The method also includes generating each of a plurality of exploratory molecular species by minimizing the structural cost function to obtain one or more arguments of one of the plurality of first minima; creating, based on the one or more arguments of said one of the plurality of first minima, an exploratory feature vector that identifies said each of the plurality of exploratory molecular species within a feature space; and evaluating an objective function with (i) the exploratory feature vector, (ii) a target range of a molecular property, and (iii) model parameters of a trained machine-learning model to obtain a respective one of a plurality of objective-function values. The method also includes generating a candidate molecular species by performing regression with a randomly selected subset of the plurality of objective-function values to update a surrogate model that approximates the objective function; constructing an error cost function by combining the surrogate model, as updated by the regression, and the structural cost function such that each of a plurality of second minima of the error cost function identifies a molecular species that minimizes the surrogate model while satisfying the one or more molecular-structure constraints; and minimizing, with a quantum computer, the error cost function to obtain one or more arguments of one of the plurality of second minima. The method also includes outputting the one or more arguments of said one of the plurality of second minima. The trained machine-learning model was trained with a plurality of training samples, each training sample of the plurality of training samples comprising (i) a training feature vector that identifies a training molecular species of said each training sample within the feature space and (ii) a training target vector that specifies a predefined range of values of the molecular property, the training molecular species having a value of the molecular property lying within the predefined range.
[0093] (A2) In the method denoted (Al), the method further includes creating, based on the one or more arguments of said one of the plurality of second minima, a candidate feature vector that identifies the candidate molecular species within the feature space.
[0094] (A3) In the method denoted (A2), the method further includes evaluating the objective function with (i) the candidate feature vector, (ii) the target range of a molecular property, and (iii) the model parameters of the trained machine-learning model to obtain an objective-function value of the candidate molecular species.
[0095] (A4) In any of the methods denoted (Al) to (A3), said minimizing the error cost function with a quantum computer includes minimizing the error cost function using a quantum annealer or a gate-model quantum computer.
[0096] (A5) In any of the methods denoted (Al) to (A4), the trained machine-learning model comprising a constrained machine-learning model.
[0097] (A6) In any of the methods denoted (Al) to (A4), the trained machine-learning model comprising an energy-based machine-learning model.
[0098] (A7) In the method denoted (A6), the energy-based machine-learning model includes a restricted Boltzmann machine.
[0099] (A8) In the method denoted (A7), the restricted Boltzmann machine includes a conditional restricted Boltzmann machine.
[0100] (A9) In any of the methods denoted (Al) to (A8), the method further includes training an untrained machine-learning model with the plurality of training samples to obtain the trained machine-learning model.
[0101] (A10) In the method denoted (A9), said training includes performing quantum sampling with a quantum computer to obtain samples. Said training also includes using the obtained samples to update one or more model parameters of the untrained machine-learning model.
[0102] (Al l) In the method denoted (A10), said performing quantum sampling is performed with a quantum annealer.
[0103] (A12) In any of the methods denoted (A9) to (Al l), said training includes generating the training target vector via one-hot encoding of the value of the molecularproperty.
[0104] (Al 3) In any of the methods denoted (A9) to (Al 2), for each of the plurality of training samples: the training molecular species is formed from a plurality of specified constituent atoms, a training adjacency matrix has elements that identify atomic bonds between pairs of the plurality of specified constituent atoms, and said training includes feeding the training adjacency matrix and identities of the plurality of specified constituent atoms into a graph convolutional neural network to generate the training feature vector.
[0105] (A14) In any of the methods denoted (Al) to (A13), said minimizing the structural cost function is performed, at least in part, by a quantum computer.
[0106] (Al 5) In the method denoted (Al 4), the quantum computer includes a quantum annealer.
[0107] (A16) In any of the methods denoted (Al) to (A15), said minimizing the error cost function includes performing quadratic unconstrained binary optimization.
[0108] (A17) In any of the methods denoted (Al) to (A16), said minimizing the structural cost function includes performing quadratic unconstrained binary optimization.
[0109] (A18) In any of the methods denoted (Al) to (A17), the candidate molecular species is formed from a plurality of specified constituent atoms. Furthermore, the one or more arguments of said one of the plurality of second minima includes a candidate adjacency matrix whose elements identify atomic bonds between pairs of the plurality of specified constituent atoms.
[0110] (A 19) In the method denoted (Al 8), the method further includes creating a candidate feature vector by feeding the candidate adjacency matrix and identifications of the plurality of specified constituent atoms into a trained graph-convolutional neural network.
[0111] (A20) In any of the methods denoted (Al) to (A19), each of the plurality of exploratory molecular species is formed from a plurality of specified constituent atoms, the one or more arguments of said one of the plurality of structural minima include an exploratory adjacency matrix whose elements identify atomic bonds between pairs of the plurality of specified constituent atoms, and said creating the exploratory feature vector includes feeding the exploratory adjacency matrix and identifications of the plurality of specified constituent atoms into a trained graph-convolutional neural network.
[0112] (A21) In any of the methods denoted (Al) to (A20), the surrogate model is a linear regression model.
[0113] (A22) In any of the methods denoted (Al) to (A21), said generating the candidate molecular species includes generating a plurality of candidate molecular species byrepeating said performing regression, said constructing the second objective function, and said minimizing the second objective function. Furthermore, said outputting includes outputting the one or more arguments of one or more of the plurality of candidate molecular species.
[0114] (A23) In the method denoted (A22), said outputting includes outputting the one or more arguments of at least a first candidate molecular species and a second candidate molecular species. The method further includes synthesizing the first candidate molecular species, synthesizing the second candidate molecular species, measuring a molecular property of the first candidate molecular species to obtain a first measured property value, measuring the molecular property of the second candidate molecular species to obtain a second measured property value, and comparing the first measured property value and the second measured property value.
[0115] (A24) In the method denoted (A23), the method further includes selecting either the first candidate molecular species or the second candidate molecule species based on said comparing.
[0116] (Bl) A system for molecular design includes a processor and a memory in communication with the processor. The memory stores machine-readable instructions that, when executed by the processor, control the system to perform any of the methods denoted (Al) to (A24).
[0117] (B2) In the system denoted (Bl), the system further includes the quantum computer.
[0118] (Cl) A system for molecular design includes a processor and a memory in communication with the processor. The memory stores a trained machine-learning model that was trained with a plurality of training samples, each training sample of the plurality of training samples includes (i) a training feature vector that identifies a training molecular species of said each training sample within a feature space and (ii) a training target vector that specifies a predefined range of values of the molecular property, the training molecular species having a value of the molecular property lying within the predefined range. The memory stores machine- readable instructions that, when executed by the processor, control the system to construct a structural cost function having a plurality of first minima, each of the plurality of first minima identifying a molecular species that satisfies one or more molecular-structure constraints. The machine-readable instructions, when executed by the processor, also control the system to generate each of a plurality of exploratory molecular species by minimizing the structural cost function to obtain one or more arguments of one of the plurality of first minima; creating, based on the one or more arguments of said one of the plurality of first minima, an exploratory featurevector that identifies said each of the plurality of exploratory molecular species within the feature space; and evaluating an objective function with the exploratory feature vector, a target range of a molecular property, and model parameters of the trained machine-learning model to obtain a respective one of a plurality of objective-function values. The machine-readable instructions, when executed by the processor, also control the system to generate a candidate molecular species by performing regression with a randomly selected subset of the plurality of objective-function values to update a surrogate model that approximates the objective function; constructing an error cost function by combining the surrogate model, as updated by the regression, and the structural cost function such that each of a plurality of second minima of the error cost function identifies a molecular species that minimizes the surrogate model while satisfying the one or more molecular-structure constraints; and minimize, with a quantum computer, the error cost function to obtain one or more arguments of one of the plurality of second minima. The machine-readable instructions, when executed by the processor, also control the system to output the one or more arguments of said one of the plurality of second minima.
[0119] (C2) In the system denoted (Cl), the system further includes the quantum computer.
[0120] Changes may be made in the above methods and systems without departing from the scope hereof. It should thus be noted that the matter contained in the above description or shown in the accompanying drawings should be interpreted as illustrative and not in a limiting sense. The following claims are intended to cover all generic and specific features described herein, as well as all statements of the scope of the present method and system, which, as a matter of language, might be said to fall therebetween.
Claims
CLAIMSWhat is claimed is:
1. A method for molecular design, comprising: constructing a structural cost function having a plurality of first minima, each of the plurality of first minima identifying a molecular species that satisfies one or more molecular-structure constraints; generating each of a plurality of exploratory molecular species by: minimizing the structural cost function to obtain one or more arguments of one of the plurality of first minima; creating, based on the one or more arguments of said one of the plurality of first minima, an exploratory feature vector that identifies said each of the plurality of exploratory molecular species within a feature space; and evaluating an objective function with (i) the exploratory feature vector, (ii) a target range of a molecular property, and (iii) model parameters of a trained machine-learning model to obtain a respective one of a plurality of objective-function values; generating a candidate molecular species by: performing regression with a randomly selected subset of the plurality of objective-function values to update a surrogate model that approximates the objective function; constructing an error cost function by combining the surrogate model, as updated by the regression, and the structural cost function such that each of a plurality of second minima of the error cost function identifies a molecular species that minimizes the surrogate model while satisfying the one or more molecular-structure constraints; and minimizing, with a quantum computer, the error cost function to obtain one or more arguments of one of the plurality of second minima; and outputting the one or more arguments of said one of the plurality of second minima;wherein the trained machine-learning model was trained with a plurality of training samples, each training sample of the plurality of training samples comprising (i) a training feature vector that identifies a training molecular species of said each training sample within the feature space and (ii) a training target vector that specifies a predefined range of values of the molecular property, the training molecular species having a value of the molecular property lying within the predefined range.
2. The method of claim 1, further comprising creating, based on the one or more arguments of said one of the plurality of second minima, a candidate feature vector that identifies the candidate molecular species within the feature space.
3. The method of claim 2, further comprising evaluating the objective function with (i) the candidate feature vector, (ii) the target range of a molecular property, and (iii) the model parameters of the trained machine-learning model to obtain an objectivefunction value of the candidate molecular species.
4. The method of claim 1, wherein said minimizing the error cost function with a quantum computer comprises minimizing the error cost function using a quantum annealer or a gate-model quantum computer.
5. The method of claim 1, the trained machine-learning model comprising a constrained machine-learning model.
6. The method of claim 1, the trained machine-learning model comprising an energybased machine-learning model.
7. The method of claim 6, the energy-based machine-learning model comprising a restricted Boltzmann machine.
8. The method of claim 7, the restricted Boltzmann machine comprising a conditional restricted Boltzmann machine.
9. The method of claim 1, further comprising training an untrained machine-learning model with the plurality of training samples to obtain the trained machine-learning model.
10. The method of claim 9, wherein said training comprises: performing quantum sampling with a quantum computer to obtain samples; and using the obtained samples to update one or more model parameters of the untrained machine-learning model.
11. The method of claim 10, wherein said performing quantum sampling is performed with a quantum annealer.
12. The method of claim 9, wherein said training comprises generating the training target vector via one-hot encoding of the value of the molecular property.
13. The method of claim 9, wherein, for each of the plurality of training samples: the training molecular species is formed from a plurality of specified constituent atoms; a training adjacency matrix has elements that identify atomic bonds between pairs of the plurality of specified constituent atoms; and said training comprises feeding the training adjacency matrix and identities of the plurality of specified constituent atoms into a graph convolutional neural network to generate the training feature vector.
14. The method of claim 1, wherein said minimizing the structural cost function is performed, at least in part, by a quantum computer.
15. The method of claim 14, the quantum computer comprising a quantum annealer.
16. The method of claim 1, wherein said minimizing the error cost function comprises performing quadratic unconstrained binary optimization.
17. The method of claim 1, wherein said minimizing the structural cost function comprises performing quadratic unconstrained binary optimization.
18. The method of claim 1, wherein: the candidate molecular species is formed from a plurality of specified constituent atoms; and the one or more arguments of said one of the plurality of second minima comprise acandidate adjacency matrix whose elements identify atomic bonds between pairs of the plurality of specified constituent atoms.
19. The method of claim 18, further comprising creating a candidate feature vector by feeding the candidate adjacency matrix and identifications of the plurality of specified constituent atoms into a trained graph-convolutional neural network.
20. The method of claim 1, wherein: each of the plurality of exploratory molecular species is formed from a plurality of specified constituent atoms; the one or more arguments of said one of the plurality of structural minima comprise an exploratory adjacency matrix whose elements identify atomic bonds between pairs of the plurality of specified constituent atoms; and said creating the exploratory feature vector comprises feeding the exploratory adjacency matrix and identifications of the plurality of specified constituent atoms into a trained graph-convolutional neural network.
21. The method of claim 1, the surrogate model being a linear regression model.
22. The method of claim 1, wherein: said generating the candidate molecular species comprises generating a plurality of candidate molecular species by repeating said performing regression, said constructing the second objective function, and said minimizing the second objective function; and said outputting comprises outputting the one or more arguments of one or more of the plurality of candidate molecular species.
23. The method of claim 22, wherein: said outputting comprises outputting the one or more arguments of at least a first candidate molecular species and a second candidate molecular species; and the method further comprises: synthesizing the first candidate molecular species; synthesizing the second candidate molecular species;measuring a molecular property of the first candidate molecular species to obtain a first measured property value; measuring the molecular property of the second candidate molecular species to obtain a second measured property value; and comparing the first measured property value and the second measured property value.
24. The method of claim 23, further comprising selecting either the first candidate molecular species or the second candidate molecular species based on said comparing.
25. A system for molecular design, comprising: a processor; and a memory in communication with the processor, the memory storing machine- readable instructions that, when executed by the processor, control the system to perform any of the methods of claims 1 to 24.
26. The system of claim 25, further comprising the quantum computer.
27. A system for molecular design, comprising: a processor; and a memory in communication with the processor, the memory storing a trained machine-learning model that was trained with a plurality of training samples, each training sample of the plurality of training samples comprising (i) a training feature vector that identifies a training molecular species of said each training sample within a feature space and (ii) a training target vector that specifies a predefined range of values of a molecular property, the training molecular species having a value of the molecular property lying within the predefined range; the memory storing machine-readable instructions that, when executed by the processor, control the system to: construct a structural cost function having a plurality of first minima, each of the plurality of first minima identifying a molecular species that satisfies one or more molecular-structure constraints,generate each of a plurality of exploratory molecular species by:(i) minimizing the structural cost function to obtain one or more arguments of one of the plurality of first minima,(ii) creating, based on the one or more arguments of said one of the plurality of first minima, an exploratory feature vector that identifies said each of the plurality of exploratory molecular species within the feature space, and(iii) evaluating an objective function with the exploratory feature vector, a target range of the molecular property, and model parameters of the trained machine-learning model to obtain a respective one of a plurality of objective-function values, generate a candidate molecular species by:(i) performing regression with a randomly selected subset of the plurality of objective-function values to update a surrogate model that approximates the objective function,(ii) constructing an error cost function by combining the surrogate model, as updated by the regression, and the structural cost function such that each of a plurality of second minima of the error cost function identifies a molecular species that minimizes the surrogate model while satisfying the one or more molecular-structure constraints, and(iii) minimizing, with a quantum computer, the error cost function to obtain one or more arguments of one of the plurality of second minima, and output the one or more arguments of said one of the plurality of second minima.
28. The system of claim 27, further comprising the quantum computer.
Citation Information
Patent Citations
A quantum circuit based system configured to model physical or chemical systems
US20210398621A1
Method and apparatus using machine learning for evolutionary data-driven design of proteins and other sequence defined biomolecules
US20220348903A1
Quantum computing based hybrid solution strategies for large-scale discrete-continuous optimization problems
US20220414518A1