{"id":35357717,"url":"https://github.com/beefy/quantum-simulator","last_synced_at":"2026-01-25T22:54:34.866Z","repository":{"id":329020419,"uuid":"1117789310","full_name":"beefy/quantum-simulator","owner":"beefy","description":"Quantum Computer Simulator","archived":false,"fork":false,"pushed_at":"2026-01-18T21:09:23.000Z","size":149,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-19T07:17:05.838Z","etag":null,"topics":["quantum-algorithms","quantum-computing","simulation"],"latest_commit_sha":null,"homepage":"https://beefy.github.io/quantum-simulator/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beefy.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-16T20:19:54.000Z","updated_at":"2026-01-18T21:08:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/beefy/quantum-simulator","commit_stats":null,"previous_names":["beefy/quantum-simulator"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/beefy/quantum-simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefy%2Fquantum-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefy%2Fquantum-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefy%2Fquantum-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefy%2Fquantum-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beefy","download_url":"https://codeload.github.com/beefy/quantum-simulator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefy%2Fquantum-simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28761255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T20:56:06.009Z","status":"ssl_error","status_checked_at":"2026-01-25T20:54:48.203Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["quantum-algorithms","quantum-computing","simulation"],"created_at":"2026-01-01T23:32:24.646Z","updated_at":"2026-01-25T22:54:34.848Z","avatar_url":"https://github.com/beefy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quantum Simulator\n\n[![Tests](https://github.com/beefy/quantum-simulator/actions/workflows/tests.yml/badge.svg)](https://github.com/beefy/quantum-simulator/actions/workflows/tests.yml)\n[![PyPI version](https://badge.fury.io/py/quantum-simulator.svg)](https://badge.fury.io/py/quantum-simulator)\n[![Documentation](https://img.shields.io/badge/docs-mkdocs-blue)](https://beefy.github.io/quantum-simulator/)\n[![Python versions](https://img.shields.io/pypi/pyversions/quantum-simulator)](https://pypi.org/project/quantum-simulator/)\n[![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/)\n\nA Python library for simulating quantum computers and quantum algorithms. This package provides an easy-to-use interface for quantum state simulation, gate operations, and circuit execution.\n\n## Features\n\n- 🔬 **Quantum State Simulation**: Accurate simulation of quantum states using state vectors\n- 🚪 **Quantum Gates**: Implementation of common single and multi-qubit gates (X, Y, Z, H, CNOT)\n- 🔗 **Quantum Circuits**: Build and execute complex quantum circuits\n- 📊 **Measurement**: Simulate quantum measurements with proper state collapse\n\n## Quick Start\n\n### Installation\n\n```bash\npip install quantum-simulator\n```\n\n### Basic Example\n\n```python\nfrom quantum_simulator import QuantumSimulator, QuantumCircuit\nfrom quantum_simulator.gates import H_GATE, CNOT_GATE\n\n# Create a 2-qubit quantum simulator\nsim = QuantumSimulator(2)\n\n# Build a Bell state circuit\ncircuit = QuantumCircuit(2)\ncircuit.add_gate(H_GATE, [0])        # Hadamard on qubit 0\ncircuit.add_gate(CNOT_GATE, [0, 1])  # CNOT with control=0, target=1\n\n# Execute the circuit\ncircuit.execute(sim)\n\n# Measure the qubits\nresult0 = sim.measure(0)\nresult1 = sim.measure(1)\nprint(f\"Measurement: {result0}, {result1}\")\n```\n\n## Documentation\n\nFull documentation is available at **[beefy.github.io/quantum-simulator](https://beefy.github.io/quantum-simulator/)**\n\n- [Installation Guide](https://beefy.github.io/quantum-simulator/getting-started/installation/)\n- [Quick Start](https://beefy.github.io/quantum-simulator/getting-started/quickstart/)\n\n## Development\n\n### Setting Up Development Environment\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/beefy/quantum-simulator.git\n   cd quantum-simulator\n   ```\n\n2. **Install in development mode**:\n   ```bash\n   pip install -e .[dev,docs]\n   ```\n\n3. **Run tests**:\n   ```bash\n   pytest --cov=quantum_simulator --cov-report=xml --cov-report=term\n   ```\n\n4. **Run lint checks**:\n   ```bash\n   flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics\n   mypy src/\n   ```\n\n4. **Build documentation**:\n   ```bash\n   mkdocs serve\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeefy%2Fquantum-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeefy%2Fquantum-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeefy%2Fquantum-simulator/lists"}