How dascient/ai-in-quantum-technologies works
This is a textbook companion library and API for applying AI methods across quantum technologies. A typical user submits quantum or scientific inputs to the REST API, whose route handlers validate and dispatch requests to domain routines and return structured results. The domain capabilities span quantum device analysis, chemistry and materials, quantum machine learning, cryptography, metrology, and noise simulation, supported by shared linear algebra. Relationships are shown only where the excerpts, source index, or README establish them; unsampled endpoint wiring is not inferred.
Main entry points: app.py REST routes · linalg.py Quantum linear algebra · state_tomography.py State tomography · process_tomography.py Process tomography
Components 18
API service
- REST routes
src/aiquantum/api/app.py - Request schemas
src/aiquantum/api/schemas.py
Quantum devices
- State tomography
src/aiquantum/quantum/state_tomography.py - Process tomography
src/aiquantum/quantum/process_tomography.py - Optimal control
src/aiquantum/quantum/optimal_control.py - Error correction
src/aiquantum/quantum/error_correction.py - Circuit optimization
src/aiquantum/quantum/circuit_optimize.py - Noise modeling
src/aiquantum/simulate/__init__.py
Scientific domains
- Ground-state chemistry
src/aiquantum/qchem/ground_state.py - Excited states
src/aiquantum/qchem/excited_states.py - Crystal generation
src/aiquantum/materials/crystal.py - Superconductor prediction
src/aiquantum/materials/superconductor.py - Quantum sensing
src/aiquantum/metrology/sensing.py
ML and security
- Quantum kernels
src/aiquantum/qml/kernel.py - Hybrid model training
src/aiquantum/qml/train.py - QKD key rates
src/aiquantum/crypto/qkd.py
Shared foundation
- Quantum linear algebra
src/aiquantum/linalg.py
Other components
- API user
Connections 20
- API user → REST routes: submits request
README.md - REST routes → Request schemas: validates via
src/aiquantum/api/app.py - REST routes → State tomography: dispatches to
src/aiquantum/api/app.py - REST routes → Process tomography: dispatches to
src/aiquantum/api/app.py - REST routes → Circuit optimization: dispatches to
src/aiquantum/api/app.py - REST routes → Excited states: dispatches to
src/aiquantum/api/app.py - REST routes → Superconductor prediction: dispatches to
src/aiquantum/api/app.py - REST routes → Hybrid model training: dispatches to
src/aiquantum/api/app.py - REST routes → Noise modeling: dispatches to
src/aiquantum/api/app.py - REST routes → Optimal control: routes endpoint
README.md - REST routes → Error correction: routes endpoint
README.md - REST routes → Ground-state chemistry: routes endpoint
README.md - REST routes → Crystal generation: routes endpoint
README.md - REST routes → Quantum sensing: routes endpoint
README.md - REST routes → Quantum kernels: routes endpoint
README.md - REST routes → QKD key rates: routes endpoint
README.md - State tomography → Quantum linear algebra: uses operators
src/aiquantum/quantum/state_tomography.py - Process tomography → Quantum linear algebra: uses primitives
src/aiquantum/quantum/process_tomography.py - Optimal control → Quantum linear algebra: uses Pauli matrices
src/aiquantum/quantum/optimal_control.py - Hybrid model training → Quantum kernels: computes kernels
src/aiquantum/qml/train.py