Skip to content

A low-code platform to execute a typical pipeline for machine learning tasks through quantum computers

License

Notifications You must be signed in to change notification settings

Robertales/QuantuMoonLight

Repository files navigation

ezgif com-gif-maker

This repository was developed for the tool demo paper
QuantuMoonLight: A Low-Code Platform to Experiment with Quantum Machine Learning for Software Maintenance and Evolution Problem

This is a BACKUP VERSION 10 JUNE 2022

QuantuMoonLight

QuantuMoonLight is the major user-friendly web platform aimed at quantum computation and machine learning enthusiasts, industry professionals, students and researchers.

The main function of the system is to allow registered users to perform common operation as validation, preprocessing, classifications, regression and more on datasets uploaded by users.

Quantum Machine Learning is a little-known area and therefore we want to extend the interested community, trying to offer a product simple, reliable and useful, using the solutions made available by new Quantum Computing technologies.

The goal of the project is to observe the variation of the metrics of a quantum classification algorithm by applying preprocessing techniques that decrease the dimensionality of a dataset in favor of execution time.

The purpose of this project is to present, in detail, the algorithms of the Machine Learning pipeline algorithms used in the QML platform: from validation and feature engineering methods to the creation and use of the quantum classification model.

Replication Package

https://figshare.com/articles/online_resource/QUANTUMOONLIGHT_A_Low-Code_Platform_to_Experiment_Quantum_Machine_Learning_for_Software_Maintenance_and_Evolution_Problem/20108336

Local Installation

The following prerequisites must be used to install such a platform locally:
  • Python >= vers. 3.7;
  • Anaconda >= vers. 2021.11;
  • Editor to set up the code (example PyCharm);
  • MySql vers. >= 7.0;
  • MySQL Client(example HeidiSQL);

After verifying that you have these prerequisites you will need to proceed in this order:

If you want to run on IDE:

  1. Import the repository on your IDE (ex. using https://github.com/Robertales/QuantuMoonLight.git)
  2. Open Anaconda Prompt and install the environment.yml using this command (you can find in ./env/yourOS/environment.yml)
    "conda env create -f environment.yml"
  3. Set-up the interpreter and the environment on your IDE as a Flask Application
  4. Run the code
  5. Click the link (usually) http://127.0.0.1:5000, the home page will be shown on your browser

Else if you want to run on prompt:

  1. clone the github repository
  2. (git clone https://github.com/Robertales/QuantuMoonLight)
  3. Open Anaconda Prompt and install the environment.yml using this command (you can find in ./env/yourOS/environment.yml)
    "conda env create -f environment.yml"
    next activate the environment
    "conda activate environment-name"
  4. cd into the QuantuMoonLight folder of the local copy of the repository
  5. type in "flask run" and run it
  6. open the link provided by the cli interface to access your local copy of QuantuMoonLight