Toxicity is a roadblock that prevents an inordinate number of drugs from being used in potentially life-saving applications. Deep learning provides a promising solution to finding ideal drug candidates; however, the vastness of chemical space coupled with the underlying
https://arxiv.org/abs/2403.18997
Clone the Quantum-to-Classical-Transfer-Learning repository using:
git clone https://github.com/anthonysmaldone/Quantum-to-Classical-Transfer-Learning.git
Navigate to Quantum-to-Classical-Transfer-Learning with:
cd Quantum-to-Classical-Transfer-Learning
Install the requirements with:
pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu118
Navigate to src
with:
cd src
See the training options by executing:
python train.py --h
To train the quantum neural network on the nr-er assay use:
python train.py --dataset nr-er
To train the fully classical analog, set the transfer epoch to 0:
python train.py --dataset nr-er --transfer_epoch 0
To train the hybrid model and derive the weights to continue training fully classical choose after which epoch the transfer occurs:
python train.py --dataset nr-er --transfer_epoch 5
To exactly reproduce all the works in this repository's corresponding research article, run the following command:
python reproduce_results.py