Quantum shadow tomography + VQE data generation + classical machine learning/deep learning for expectation value prediction.
This repository contains undergraduate thesis work focused on converting a quantum expectation value estimation problem into a classical ML/DL prediction problem.
Main idea:
- Use quantum shadow tomography to build a compact classical representation of many-body quantum states.
- Generate measurement datasets from VQE-based setups.
- Train classical machine learning/deep learning models to predict expectation values from Pauli observables and coefficients.
- Evaluate whether strong prediction can be achieved with significantly fewer measurements (e.g., around 185) compared with larger baselines used in prior work.
- Project overview
- Repository structure
- Workflow
- How to run
- Key files
- Extended papers
- Reference implementations
- Learning resources
.
├── Classical Machine learning and Deep learning/
│ ├── V13/
│ ├── V14/
│ │ ├── WITH SMAGON/
│ │ └── WITHOUT APPLYING SMAGON/
│ └── V16/
│ ├── WITH SMAGON/
│ └── WITHOUT APPLYING SMAGON/
├── Derandomize Quantam Shadow Tomography/
│ ├── V4/
│ │ ├── CLASSICAL SHADOW/
│ │ └── DERANDOMIZE CLASSICAL SHADOW/
│ └── V6/
└── README.md- Generate / design measurement procedures
- Randomized classical shadow and derandomized shadow variants.
- Acquire shadow-based data
- Produce measurement operators/outcomes and expectation-related datasets.
- Train classical ML/DL models
- Use generated classical datasets (CSV files) to train and evaluate predictive models.
- Compare configurations
- Compare versions (
V13,V14,V16) and experiment branches (with/without SMAGON).
The project is experiment-driven across multiple folders/versions. Run scripts from the corresponding experiment directory.
Typical steps:
# 1) Move into a target experiment folder (example)
cd "Classical Machine learning and Deep learning/V13"
# 2) Generate / process measurement procedures or datasets
python data_acquisition_shadow.py
# 3) Run prediction/evaluation flow
python prediction_shadow.pyIf you are using notebook-based workflows, open and run:
electronic_structure_problem_dcs_Hydrozen.ipynb
data_acquisition_shadow.py: shadow measurement procedure generation.modified_derandomization.py: modified derandomized classical shadow routine.prediction_shadow.py: expectation value estimation/prediction utilities.Classical_data_H2.csv,file1.csv,file2.csv: generated datasets for model training/evaluation.
-
Predicting many properties of a quantum system from very few measurements
https://www.nature.com/articles/s41567-020-0932-7 -
Efficient estimation of Pauli observables by derandomization
https://arxiv.org/abs/2103.07510 -
Information-theoretic bounds on quantum advantage in machine learning
https://arxiv.org/abs/2101.02464