Implement variational quantum classifier on heart attack data available on kaggle with the aim to understand different variational models and different feature maps
- Create a virtual environment:
python3 -m venv venv
- Activate the environment:
source venv/bin/activate
- Update
pip
:
pip install --upgrade pip
- Install requirements
pip install -r requirements.txt
- Clone the repo
git clone https://github.com/0x6f736f646f/variational-quantum-classifier-on-heartattack
- Launch Jupyter Notebook:
jupyter notebook
- Open and run the jupyter notebooks under
Src/Notebooks
-
01dataExploration.ipynb Data exploration
-
02-pennylane.ipynb Pennylane version of VQE
-
02-qiskit.ipynb Qiskit version of VQE implementation
-
03-analyseBenchmarks.ipynb Analysing benchmarks
-
04generateImages.ipynb Notebook to generate images
-
05cleanwinedata.ipynb Cleaning wine data
-
06validatewine.ipynb Validating wine data
-
07cleanirisdata.ipynb Cleaning iris data
-
08validateiris.ipynb Validating iris data
-
09analysewine.ipynb Analyse wine data
-
09generalisation.ipynb Generalisation of all models
-
10analyseiris.ipynb Analyse iris data
I would like to thank my mentor Amira Abbas for her constant support and guidance without who this project wouldn't have taken shape. I would also like to thank the QOSF team for giving me this fantastic opportunity of being a part of an awesome mentorship program.