https://github.com/albertnieto/quantum-perceptron
Quantum perceptron using Grover, implemented with Pennylane.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.7%) to scientific vocabulary
Keywords
Repository
Quantum perceptron using Grover, implemented with Pennylane.
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Quantum perceptron
This repository implements three different quantum perceptron models using Grover's algorithm with PennyLane. It also includes a classical perceptron for comparison. The models are designed to share common functions where applicable. Comprehensive tests are provided to ensure correctness, and a Jupyter notebook demonstrates executions, results, and comparisons.
Repository structure
models/: Contains implementations of classical and quantum perceptrons.tests/: Unit tests for each model and shared utilities.notebooks/: Jupyter notebook for executing and comparing models.requirements.txt: Dependencies required to run the code.
Setup instructions
1. Clone the repository
bash
git clone https://github.com/albertnieto/quantum-perceptron.git
cd quantum_perceptron
2. Create and activate a virtual environment
bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
3. Install dependencies
bash
pip install -r requirements.txt
4. Run tests
bash
pytest
5. Run the Jupyter notebook
bash
jupyter notebook notebooks/quantum_perceptron_comparison.ipynb
Owner
- Name: Albert
- Login: albertnieto
- Kind: user
- Repositories: 3
- Profile: https://github.com/albertnieto
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- matplotlib *
- numpy *
- pennylane *
- pennylane-qiskit *
- pytest *
- scikit-learn *