Skip to main content

Using quantum computing to design a more precise, environmental friendly and robust water distribution network and debugging.

Project description

QatraH | قطرة | (Droplet)

Using quantum computing to design a more precise, environmental friendly and robust water distribution network and debugging.

License

QatraH Website Link

NYUAD Hackathon for Social Good in the Arab World: Focusing on Quantum Computing (QC) and UN Sustainable Development Goals (SDGs).

https://nyuad.nyu.edu/en/events/2023/april/nyuad-hackathon-event.html

Presentation

The Slides can be viewed at information.

Motivation

alt text

Solving quantum solution for water based distibution and debugging using quantum computing. Buzz words: WDN, Quantum Computing, QUBO, QML, Optimization, Pennylane, Jax

Quantum algorithm:

  • Variational Quantum Eigensolver (VQE)
  • Quantum Approximate Optimization Algorithm (QAOA)
  • Quantum Machine Optimization Algorithm
  • Quantum Machine Learning on Graph

Installation Instructions: Requirements: pip3 install -r requirements.txt

*Conda users, please make sure to conda install pip and use it for the above requirements.

Input to the program:

  • Sensor readings
  • Paths from source to sensor
  • Dataset of the water sample like from DEWA site under paywall

Replacing Classical Pressure Sensors with Optimized Quantum Sensors

Compared to classical pressure sensors, quantum sensors are not invasive. They are also tolerant to the changes in the environment around it while also being more accurate. This improves the ability to detect pipe leakage.

Leak Detection and Localization

Leakage in water distribution systems has been a challenge for water management committees. The real-life data collected from the optimal placed sensors, can be used to predict and localise leakage by identifying the deviations of pressure in the network. This task can be done both using QUBO and Quantum Machine Learning based models.

Using Quantum Machine Learning

Existing classical literature, suggests the use of machine learning to predict leakage and localise it to a particular pipe using the data from pressure sensors in the WDN at any given point of time. We attempt to solve the same using a quantum machine learning based model.

Specifically, we collect the pressure data from the optimally-placed sensors in a water distribution network to predict leakage in the WDN using a quantum neural network. It is implemented in the Pennylane framework using Jax. The data is fed into the model using Angle encoding. The model is composed of a parametrised quantum circuit with RY, RZ and CNOT gates which are trained over a total of 500 epochs. We use a train to test-set ratio of 4:1 and optimise the model using Rectified adam over the binary cross-entropy loss. At the end we obtain a test accuracy of 87.02% over the dataset of size 650.

Acknowledgements

Hackers: Anas, Basant, Mohammed, Airin, Lakshika, Sanjana, Selin Doga, Yaser

Mentors: Fouad, El Amine, Victory Omole, Akash Kant

And thank you to the oragnising committee of NYUAD 2023 Hackathon https://nyuad.nyu.edu/en/events/2023/april/nyuad-hackathon-event.html and Qbraid and other student who made it possible and great.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

qatrah-0.1.1-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page