🚀 Quantum Wordle combines the mechanics of a word-guessing game with the power of quantum computing. Using Qiskit, custom quantum circuits, and Grover’s Algorithm, this project probabilistically identifies correct letters, making it a fun and educational way to explore quantum principles.
- Implements Grover’s Algorithm to efficiently search for correct letters.
- Uses quantum circuits to generate probabilistic feedback based on player guesses.
- Demonstrates quantum principles like superposition and measurement probabilities.
Players guess letters of a hidden word, and custom quantum circuits analyze their guesses to provide probabilistic feedback.
Feedback Type | Probability | Example Output |
---|---|---|
Correct letters, correct positions | ~50% chance correct letter is measured | A (uppercase) |
~50% chance another letter in the word is measured | b (lowercase) |
|
Correct letters, incorrect positions | ~50% chance letter is measured | c (lowercase) |
~25% chance letter in the word is measured | A (uppercase) or b (lowercase) |
|
~25% chance a random letter is measured | x (lowercase) |
|
Letters not in the word | Equal chance for any random letter | x (lowercase) |
Custom quantum circuits adjust measurement probabilities to provide feedback, while Grover’s Algorithm amplifies the likelihood of finding correct letters.
To dive deeper into the quantum mechanics, code implementation, and educational insights, check out the Jupyter Notebook.
- Python
- Qiskit
- Jupyter Notebook
This project gamifies quantum computing, offering a hands-on way to learn concepts like superposition, measurement probabilities, and quantum optimization in an engaging format.
- Clone the repository:
git clone <repo-link>
- Install Qiskit:
pip install qiskit
- Navigate to the project directory:
cd quantum-wordle
- Open the Jupyter Notebook:
jupyter notebook quantum_wordle_demo.ipynb
- Play the game:
python main.py
Enjoy your quantum gaming experience!