This repository hosts a streamlined version of the Quantum-Informed Machine Learning (QIML) framework, developed at University College London (UCL) – Centre for Computational Science (CCS), for collaborative work with NVIDIA and LRZ. QIML represents a hybrid quantum–classical paradigm designed to model complex, chaotic dynamical systems with long-term stability beyond the reach of classical AI/ML approaches.
The immediate and most critical extension of this work is to scale up the validated QIML framework from the current cases to large-scale, real-world problems.
The next logical target domain is weather and climate prediction, where long-horizon stability and physical consistency remain open challenges.
This direction is significant because it allows us to demonstrate the practical value of hybrid quantum–classical models on problems of immense scientific and economic importance.
- Language: Python
- Core Libraries:
- Classical components: PyTorch (Koopman model, data handling, training loops)
- Quantum components: cuda-Q (quantum circuit design, simulation, and execution)
- GPU Acceleration:
Fully integrated through PyTorch’s CUDA back-end.
Classical–quantum coupling is achieved via a hybrid training loop where the GPU-based classical optimiser interacts directly with QPU-generated priors.
Follow the steps below to reproduce and extend the QIML workflow.
conda env create -f environment.yml
conda activate qimlDownload the required TCF dataset (Turbulent Chaotic Flow).
Refer to internal documentation or data-sharing instructions for the appropriate download link and directory structure.
Ensure the dataset is placed in the expected path before training.
Revise the quantum component into cuda-q and run the quantum prior training script:
python script/Q-prior_tcf.pyThis step trains the quantum generator to learn the invariant statistical structure of the system.
Upon completion, the trained quantum prior will be stored automatically under the configured output directory.
After obtaining the quantum prior, launch the main QIML training routine:
python script/train_QIML_TCF.pyThis stage integrates the learned quantum prior with the classical Koopman-based model to produce a stable hybrid predictor.
Use the visualisation tools to test, inspect and analyse the outcomes:
python visualise/visualization_TCF.ipynbIf you use or build upon this work, please cite the QIML paper:
Wang, M., Xue, X., Coveney, P., et al.
Quantum-Informed Machine Learning for Predicting Spatiotemporal Chaos with Practical Quantum Advantage (2025).
arXiv:2507.19861.
© 2025 UCL Centre for Computational Science (CCS).
Developed in collaboration with NVIDIA and LRZ.