https://github.com/albertnieto/quantum-perceptron

Quantum perceptron using Grover, implemented with Pennylane.

https://github.com/albertnieto/quantum-perceptron

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

perceptron quantum-computing quantum-machine-learning
Last synced: 5 months ago · JSON representation

Repository

Quantum perceptron using Grover, implemented with Pennylane.

Basic Info
  • Host: GitHub
  • Owner: albertnieto
  • License: apache-2.0
  • Language: Jupyter Notebook
  • Default Branch: main
  • Homepage:
  • Size: 50.8 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
perceptron quantum-computing quantum-machine-learning
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

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

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

requirements.txt pypi
  • matplotlib *
  • numpy *
  • pennylane *
  • pennylane-qiskit *
  • pytest *
  • scikit-learn *