# African Qubit - Quantum Measurement System
A hands-on quantum computing demonstration using ESP32 microcontrollers, LEDs, LCD displays, and Python quantum simulation.
## π Overview
This project demonstrates quantum superposition and measurement through physical hardware:
- **LEDs represent quantum states** (superposition and collapsed states)
- **Button press triggers measurement** to collapse quantum superposition
- **Python runs quantum simulations** using Qiskit for authentic randomness
- **LCD displays real-time feedback** and measurement statistics
## π Project Structure
```
african_qubit/
βββ README.md # This file
βββ on_arduino_ide/ # Arduino C++ implementation
β βββ README.md # Detailed Arduino setup guide
β βββ run_on_esp32/ # ESP32 Arduino code
β βββ run_on_local_python/ # Python quantum simulation
βββ on_thonny/ # MicroPython implementation
βββ README.md # Detailed MicroPython setup guide
βββ run_on_thonny/ # ESP32 MicroPython code
βββ run_on_local_python/ # Python quantum simulation
```
## π Quick Start
### Choose Your Implementation
#### Option 1: Arduino (Recommended for Beginners)
```bash
# 1. Upload Arduino code to ESP32
# 2. Install Python dependencies
pip install pyserial qiskit qiskit-aer
# 3. Run quantum simulation
cd on_arduino_ide/run_on_local_python
python quantum_arduino.py
```
#### Option 2: MicroPython (Python on ESP32)
```bash
# 1. Install MicroPython on ESP32 using Thonny
# 2. Upload MicroPython code
# 3. Install Python dependencies
pip install pyserial qiskit qiskit-aer
# 4. Run quantum simulation
cd on_thonny/run_on_local_python
python quantum_led.py
```
## π§ Hardware Requirements
- **ESP32 Development Board**
- **2 LEDs** with 220Ξ© resistors
- **1 Push Button** (momentary switch)
- **16x2 LCD Display** (HD44780 compatible)
- **Breadboard and jumper wires**
## π― Key Features
- β
**Quantum Superposition Visualization**: β¦