/variational-quantum-classifier-on-heartattack

Implement variational quantum classifier on heart attack data available on kaggle with the aim to understand different variational models and different feature maps

Primary LanguageJupyter NotebookMIT LicenseMIT

variational-quantum-classifier-on-heartattack

Implement variational quantum classifier on heart attack data available on kaggle with the aim to understand different variational models and different feature maps

Running the notebooks

  1. Create a virtual environment:
python3 -m venv venv
  1. Activate the environment:
source venv/bin/activate
  1. Update pip:
pip install --upgrade pip
  1. Install requirements
pip install -r requirements.txt
  1. Clone the repo
git clone https://github.com/0x6f736f646f/variational-quantum-classifier-on-heartattack
  1. Launch Jupyter Notebook:
jupyter notebook
  1. Open and run the jupyter notebooks under Src/Notebooks

Project Structure

  1. 01dataExploration.ipynb Data exploration

  2. 02-pennylane.ipynb Pennylane version of VQE

  3. 02-qiskit.ipynb Qiskit version of VQE implementation

  4. 03-analyseBenchmarks.ipynb Analysing benchmarks

  5. 04generateImages.ipynb Notebook to generate images

  6. 05cleanwinedata.ipynb Cleaning wine data

  7. 06validatewine.ipynb Validating wine data

  8. 07cleanirisdata.ipynb Cleaning iris data

  9. 08validateiris.ipynb Validating iris data

  10. 09analysewine.ipynb Analyse wine data

  11. 09generalisation.ipynb Generalisation of all models

  12. 10analyseiris.ipynb Analyse iris data

Acknowledgements

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.