Skip to content

PieroPastor/quantum-chess-bot-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

137 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Chess Bot Player

A neural network that learns to play quantum chess using Monte Carlo tree search. Built from scratch with Cirq, simulating the fascinating world of quantum moves.

Python 3.10.12 Python 3.12.6 Cirq License Colab Colab PyCharm Keras Tensorflow SkLearn Pandas Pygame

Table of Contents

Installation

Clone the repository and install the dependencies:

git clone https://github.com/PieroPastor/quantum-chess-bot-player.git
cd quantum-chess-bot-player
pip install -r requirements.txt

Usage

To run the game on Pygame you have to execute the .py file inside the Python project:

cd quantum-chess-bot-player
cd QuantumChess

Windows:

python QuantumChessPygame.py

Linux:

python3 QuantumChessPygame.py

Features

  • Monte Carlo Tree Search for decision making
  • Fully implemented quantum chess mechanics
  • Trained neural network for smart moves
  • Hybrid algorithm (SBMA) for hyper parameters optimization
  • Built with Cirq for quantum simulation

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you'd like to contribute. For major changes, please discuss what you would like to change beforehand to ensure it aligns with the project's goals

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A neural network that learns how to play quantum chess based on a Monte Carlo tree-search. The operation of quantum chess is also programmed from scratch with the use of the Cirq library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors