Giter Club home page Giter Club logo

maximer-v / quantum-machine-learning Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 5.0 659 KB

This is an exploration using synthetic data in CSV format to apply QML models for the sake of binary classification. You can find here three different approaches. Two with Qiskit (VQC and QK/SVC) and one with Pennylane (QVC).

Jupyter Notebook 100.00%
quantum quantum-algorithms quantum-computing quantum-machine-learning pennylane qiskit qiskit-aqua qiskit-tutorial quantum-programming-language support-vector-classifier

quantum-machine-learning's Introduction

Quantum Machine Learning

This is an exploration using synthetic data in CSV format to apply QML models for the sake of binary classification. You can find here three different approaches. Two with Qiskit (VQC and QK/SVC) and one with Pennylane (QVC).

Caveats

  1. No EDA was applied into the notebooks. I highly recommend that if you are going to use other CSVs, please take the time to review your data and put a lot of focus in the pre-processing stage of your architecture.
  2. The synthetic data was public and extracted from Kaggle here: https://www.kaggle.com/datasets/mohammadarashi/synthetic-binary-classification
  3. If you use your data I recommend also to explore a custom feature map (in the case of Qiskit) or encoding (in the case of Pennylane). The results of the models depends a lot on that.
  4. I didn't add the requirements of the SDKs/libraries, but should be easy to install everything quickly. I suggest to create an specific environment to run these models and avoid conflicts.
  5. The approach was done with only two dimensions/qubits, but you can test with more. Also you can play with iterations in the case of the variational, and with shots, layers and different other parameters.

quantum-machine-learning's People

Contributors

maximer-v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.