{"id":27026974,"url":"https://github.com/bhazel/quantum-gate-action","last_synced_at":"2025-10-15T21:26:59.476Z","repository":{"id":266896297,"uuid":"890625077","full_name":"BHazel/quantum-gate-action","owner":"BHazel","description":"A GitHub Action to simulate a quantum gate!","archived":false,"fork":false,"pushed_at":"2024-11-24T20:01:46.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-06T21:17:03.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/BHazel.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-11-18T22:34:58.000Z","updated_at":"2024-11-24T20:41:50.000Z","dependencies_parsed_at":"2024-12-06T21:17:09.884Z","dependency_job_id":"b2f0393b-61fe-4db0-b42e-b2ccf57e77b0","html_url":"https://github.com/BHazel/quantum-gate-action","commit_stats":null,"previous_names":["bhazel/quantum-gate-action"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BHazel%2Fquantum-gate-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BHazel%2Fquantum-gate-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BHazel%2Fquantum-gate-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BHazel%2Fquantum-gate-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BHazel","download_url":"https://codeload.github.com/BHazel/quantum-gate-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261585,"owners_count":20910108,"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":[],"created_at":"2025-04-04T23:16:41.963Z","updated_at":"2025-10-15T21:26:54.441Z","avatar_url":"https://github.com/BHazel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quantum Gate Action\n\nThis GitHub Action simulates applying a quantum logic gate on a qubit.  It returns the resulting state vector and optionally the measurement of the qubit for a specified number of shots.\n\n## Inputs\n\n### `qubit-state-0`\n\n**Required**\n\nThe initial value of the qubit 0 component.\n\nValid value can be between 0 and 1.\n\n**Default:** `1.0`\n\n### `qubit-state-1`\n\n**Required**\n\nThe initial value of the qubit 1 component.\n\nValid value can be between 0 and 1.\n\n**Default:** `0.0`\n\n### `gate`\n\n**Required**\n\nThe quantum gate to apply to the qubit.\n\nPossible Values: H, I, X, Z\n\n**Default:** `I`\n\n### `shots`\n\nThe number of times to apply the quantum gate and measure the qubit in its final state.\n\nIf 0 no measurement will be performed.\n\n**Default:** `0`\n\n## Outputs\n\n### `final-qubit-state-0`\n\nThe final value of the qubit 0 component.\n\n### `final-qubit-state-1`\n\nThe final value of the qubit 1 component.\n\n### `measurement-0-count`\n\nThe number of times the qubit measurement was 0 (if measurement is requested).\n\n### `measurement-1-count`\n\nThe number of times the qubit measurement was 1 (if measurement is requested).\n\n## Example Usage\n\n```yml\nuses: bhazel/quantum-gate-action@master\nwith:\n    qubit-state-0: 0.0\n    qubit-state-1: 1.0\n    gate: H\n    shots: 100\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhazel%2Fquantum-gate-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhazel%2Fquantum-gate-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhazel%2Fquantum-gate-action/lists"}