{"id":18478221,"url":"https://github.com/mrprincerawat/quantum-computering-simulator","last_synced_at":"2026-02-10T20:06:38.773Z","repository":{"id":229875452,"uuid":"777849466","full_name":"MrPrinceRawat/Quantum-Computering-Simulator","owner":"MrPrinceRawat","description":"Simulated Quantum Phenomenun using Actual Rotation of Imaginary Qubits on 3 degrees of Freedom with arbitary precision.","archived":false,"fork":false,"pushed_at":"2024-07-07T10:15:16.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T04:53:39.161Z","etag":null,"topics":["quantum-algorithms","quantum-computing","simulator"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/simple-qsim/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrPrinceRawat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-26T16:06:20.000Z","updated_at":"2024-07-07T10:15:19.000Z","dependencies_parsed_at":"2025-02-22T21:37:33.679Z","dependency_job_id":null,"html_url":"https://github.com/MrPrinceRawat/Quantum-Computering-Simulator","commit_stats":null,"previous_names":["mrprincerawat/quantum-computer-simulator-in-python","mrprincerawat/quantum-computering-simulator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MrPrinceRawat/Quantum-Computering-Simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPrinceRawat%2FQuantum-Computering-Simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPrinceRawat%2FQuantum-Computering-Simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPrinceRawat%2FQuantum-Computering-Simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPrinceRawat%2FQuantum-Computering-Simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrPrinceRawat","download_url":"https://codeload.github.com/MrPrinceRawat/Quantum-Computering-Simulator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrPrinceRawat%2FQuantum-Computering-Simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29314704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","simulator"],"created_at":"2024-11-06T12:09:16.949Z","updated_at":"2026-02-10T20:06:38.742Z","avatar_url":"https://github.com/MrPrinceRawat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quantum Computer Simulator\n\n![GitHub branch status](https://img.shields.io/github/checks-status/MrPrincerawat/Quantum-Computering-Simulator/pypi_release)\n![PyPI - License](https://img.shields.io/pypi/l/simple_qsim)\n![PyPI - Status](https://img.shields.io/pypi/status/simple_qsim)\n![PyPI - Version](https://img.shields.io/pypi/v/simple_qsim)\n[![Documentation Status](https://readthedocs.org/projects/quantum-computering-simulator/badge/?version=latest)](https://quantum-computering-simulator.readthedocs.io/en/latest/?badge=latest)\n\n### Headover to [PyPi](https://pypi.org/project/simple-qsim/) to install the package, relevent docs available at [Docs](https://github.com/MrPrinceRawat/Quantum-Computering-Simulator/tree/pypi_release)\n\nThis is a simple project to simulate quantum behaviour on your local machine. One of the benefit of running this locally is there is essentially no limit on how many qubits can scale too, it comes down to your PC's specs and how many qubits you as a person handle.\n\n# How to use\n\n1. Clone this repo\n2. There are basically 2 file\n   a. Gates.py - Holds all the logic\n   b. Main.py - This is where you write your code.\n3. Sample main.py\n\n```\nimport numpy as np\nfrom gates import *\nimport time\n\n# Register number of qubits you want to use.\ns = [\nq() for _ in  range(3)\n]\n# Sample Circuit\nc = [\n[\"H\", s[0]],\n[\"H\", s[1]],\n[\"H\", s[2]],\n[\"Z\", s[2]],\n[\"CZ\", s[0], s[1]],\n[\"H\", s[0]],\n[\"H\", s[1]],\n[\"H\", s[2]],\n]\nrun(s, shots=10000, circuit=c)\n```\n\n4. Then run it using python\n   `python3 main.py`\n5. You should see something like:\n\n```\n8 Possible States\n\n\n[25.85, [0, 1, 1]]\n[25.07, [1, 0, 1]]\n[24.77, [1, 1, 1]]\n[24.31, [0, 0, 1]]\n```\n\nYou can verify or use the GUI on IBM's platform here: [IBM Quantum Composer](https://quantum.ibm.com/composer/)\n\n# Available Gates\n\nYou can learn more about quantum gates at [Wikipeida](https://en.wikipedia.org/wiki/Quantum_logic_gate)\n\n1. Single Qubit Gates\n\n````\n\ta. Hadamard Gate (H)\n\t\tPuts the qubit in super position\n\t\tUse - ```[\"H\", q[n]]```\n\tb. Pauli Gates (X,Y,Z)\n\t\tSpins the qubit 90deg in that axis\n\t\tUse - [\"X\", q[n]]\n\t\t\t  [\"Y\", q[n]]\n\t\t\t  [\"Z\", q[n]]\n````\n\n2. Controlled Gates\n\n```\n\ta. Controlled-NOT (CNOT)\n\t\tPerforms a not operation on targed when the control bit is |1⟩\n\t\tUse - [\"CNOT\", \u003ctarget\u003e, \u003ccontrol\u003e]\n\tb. Controlled-Z (CZ)\n\t\tPerforms a Pauli Z operation on targed when the control bit is |1⟩\n\t\tUse - [\"CZ\", \u003ctarget\u003e, \u003ccontrol\u003e]\n```\n\n# Contribution\n\nI might or might not update this repo myself, however I am open to contribution!\n\n# License\n\nAll the code available in this repo is under apache 2.0 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrprincerawat%2Fquantum-computering-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrprincerawat%2Fquantum-computering-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrprincerawat%2Fquantum-computering-simulator/lists"}