{"id":18535424,"url":"https://github.com/albertnieto/quantum-perceptron","last_synced_at":"2025-05-15T00:18:37.033Z","repository":{"id":261478310,"uuid":"871204170","full_name":"albertnieto/quantum-perceptron","owner":"albertnieto","description":"Quantum perceptron using Grover, implemented with Pennylane.","archived":false,"fork":false,"pushed_at":"2024-10-11T15:26:18.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T03:13:51.038Z","etag":null,"topics":["perceptron","quantum-computing","quantum-machine-learning"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albertnieto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-11T13:28:32.000Z","updated_at":"2024-10-11T15:28:17.000Z","dependencies_parsed_at":"2024-11-06T19:39:44.048Z","dependency_job_id":"65b50d49-94c2-4d61-820a-d372578210d8","html_url":"https://github.com/albertnieto/quantum-perceptron","commit_stats":null,"previous_names":["albertnieto/quantum-perceptron"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertnieto%2Fquantum-perceptron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertnieto%2Fquantum-perceptron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertnieto%2Fquantum-perceptron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertnieto%2Fquantum-perceptron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertnieto","download_url":"https://codeload.github.com/albertnieto/quantum-perceptron/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239249430,"owners_count":19607237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["perceptron","quantum-computing","quantum-machine-learning"],"created_at":"2024-11-06T19:23:46.393Z","updated_at":"2025-02-17T07:22:44.425Z","avatar_url":"https://github.com/albertnieto.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quantum perceptron\n\nThis 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.\n\n## Repository structure\n\n- `models/`: Contains implementations of classical and quantum perceptrons.\n- `tests/`: Unit tests for each model and shared utilities.\n- `notebooks/`: Jupyter notebook for executing and comparing models.\n- `requirements.txt`: Dependencies required to run the code.\n\n## Setup instructions\n\n### 1. Clone the repository\n\n```bash\ngit clone https://github.com/albertnieto/quantum-perceptron.git\ncd quantum_perceptron\n```\n\n### 2. Create and activate a virtual environment\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n```\n\n### 3. Install dependencies\n```bash\npip install -r requirements.txt\n```\n\n### 4. Run tests\n```bash\npytest\n```\n\n### 5. Run the Jupyter notebook\n```bash\njupyter notebook notebooks/quantum_perceptron_comparison.ipynb\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertnieto%2Fquantum-perceptron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertnieto%2Fquantum-perceptron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertnieto%2Fquantum-perceptron/lists"}