“Do you really believe the moon is only there when you look at it?” — Albert Einstein
This repository is the living digital companion to the textbook “AI in Quantum Technologies: Theory, Applications, Practice, and Society” (DaScient Press Ltd., 2026). It provides a hands‑on, code‑first journey through the rapidly evolving intersection of artificial intelligence and quantum science. Inside you will find:
# Clone the repository
git clone https://github.com/DaScient/ai-in-quantum.git
cd ai-in-quantum
# Create and activate conda environment
conda create -n ai-quantum python=3.11
conda activate ai-quantum
# Install the package with all quantum and ML dependencies
pip install -e .[all]
# Launch Jupyter Lab
jupyter lab
docker-compose up -d
# API available at http://localhost:8000
# Jupyter at http://localhost:8888 (token: quantum)
# MLflow tracking server at http://localhost:5000
The textbook is structured into eight parts, each building the conceptual and practical machinery required to apply AI across the quantum technology landscape. Every chapter includes a fully executable notebook that can be run locally or opened directly in Google Colab.
All chapters are then exported to a single
.docxfile for manuscript processing by DaScient Press, Ltd.
A production‑ready FastAPI service exposes state‑of‑the‑art AI models tailored to quantum science. The interactive documentation is available at /docs once the server is running.
| Endpoint | Method | Description |
|---|---|---|
/api/v1/quantum/state_tomography |
POST | Reconstruct quantum state from measurement outcomes |
/api/v1/quantum/process_tomography |
POST | Characterise unknown quantum processes |
/api/v1/quantum/optimal_control |
POST | Generate optimal pulse sequences for gate operations |
/api/v1/quantum/error_decode |
POST | Decode syndrome measurements for error correction |
/api/v1/quantum/circuit_optimize |
POST | Compress and optimise quantum circuit depth |
/api/v1/qchem/ground_state |
POST | Predict molecular ground state energies |
/api/v1/qchem/excited_states |
POST | Compute optical spectra using ML‑enhanced methods |
/api/v1/materials/crystal_generation |
POST | Inverse design of crystal structures with desired properties |
/api/v1/materials/superconductor |
POST | Predict superconducting critical temperatures |
/api/v1/qml/kernel |
POST | Compute quantum kernel matrices for classification |
/api/v1/qml/train |
POST | Train a hybrid quantum‑classical model |
/api/v1/crypto/key_rate |
POST | Estimate secret key rate for QKD protocols |
/api/v1/metrology/sensitivity |
POST | Optimise probe states for quantum sensing |
/api/v1/simulate/noise_model |
POST | Learn a device noise model from calibration data |
All models are hosted on Hugging Face under the dascient organisation. They can be loaded with a few lines of code using the transformers, pennylane, or torch ecosystems.
| Model | Description | Parameters | Download |
|---|---|---|---|
| Q‑BERT | Quantum‑adapted BERT for gate sequence tokenisation | 110M | Link |
| ErrorFormer | Transformer for surface code error decoding | 230M | Link |
| MolQNet | Molecular ground state prediction with SE(3) equivariance | 340M | Link |
| CrysDiff | Diffusion model for crystal structure generation | 450M | Link |
| Q‑GPT | Generative pre‑trained transformer for quantum circuit synthesis | 1.2B | Link |
| SensNet | Graph neural network for quantum sensor placement | 85M | Link |
| QKD‑Flow | Normalising flow for quantum channel parameter estimation | 175M | Link |
The repository includes ready‑to‑use dataloaders for the following curated datasets. All are pre‑processed and documented in the /datasets directory.
In addition to the chapter notebooks, the /tutorials folder contains thematic learning paths that cut across multiple chapters:
We welcome contributions from the global quantum and AI communities. Please see CONTRIBUTING.md for detailed guidelines.
/docs/source/ and submit a PR.integration_guide.md in the /contrib folder.We are especially interested in contributions that:
@book{tadaya2026aiquantum,
title = {AI in Quantum Technologies: Theory, Applications, Practice, and Society},
author = {Tadaya, Don D.M.},
year = {2026},
publisher = {DaScient Press},
series = {DaScient Intelligence Academy Textbook Series},
library_no = {178847474773666374859402992856},
isbn = {TBD}
}
This work is licensed under a Creative Commons Attribution‑NonCommercial‑ShareAlike 4.0 International License. You are free to share and adapt the material under the same terms, provided you give appropriate credit. Commercial licensing (e.g., for corporate training, proprietary product integration) is available — please contact commercial@dascient.com.