Skip to content

Elphast24/Quantum-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cocoa Leaf Disease Quantum Classifier 🍃⚛️

A hybrid quantum-classical machine learning project to detect cocoa leaf diseases using IBM Quantum hardware and Qiskit.

🧠 Description

  • Images of cocoa leaves (healthy vs. diseased) are preprocessed and encoded into quantum circuits.
  • A variational quantum classifier (VQC) is trained and evaluated on these circuits.
  • Built using Qiskit and Python, with a React.js frontend in development.

📁 Folder Structure

  • dataset/ — contains healthy/ and diseased/ subfolders of leaf images (ignored in repo)
  • data_preprocessing/ — image loader and normalizer
  • quantum_model/ — angle encoder and variational classifier
  • training/ — model training and evaluation (WIP)
  • test_encode.py — test runner to verify preprocessing + circuit encoding

🚀 Setup

git clone https://github.com/yourusername/cocoa_quantum_classifier.git

pip install -r requirements.txt


# Create environment
python -m venv qubit

# Activate (Windows)
qubit\Scripts\activate

# Activate (macOS/Linux)
source qubit/bin/activate

# Install dependencies
pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors