{"id":13751215,"url":"https://github.com/QuTech-Delft/quantuminspire","last_synced_at":"2025-05-09T17:33:25.072Z","repository":{"id":33630390,"uuid":"152745582","full_name":"QuTech-Delft/quantuminspire","owner":"QuTech-Delft","description":"Quantum Inspire SDK","archived":false,"fork":false,"pushed_at":"2025-05-07T20:46:45.000Z","size":8030,"stargazers_count":72,"open_issues_count":0,"forks_count":28,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-07T21:38:15.411Z","etag":null,"topics":["qiskit","quantum-inspire","sdk"],"latest_commit_sha":null,"homepage":"","language":"Python","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/QuTech-Delft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2018-10-12T12:14:11.000Z","updated_at":"2025-05-07T20:46:48.000Z","dependencies_parsed_at":"2023-11-17T08:52:01.706Z","dependency_job_id":"f107ef92-ca0b-4d4e-b55b-6ce017da59d0","html_url":"https://github.com/QuTech-Delft/quantuminspire","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuTech-Delft%2Fquantuminspire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuTech-Delft%2Fquantuminspire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuTech-Delft%2Fquantuminspire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QuTech-Delft%2Fquantuminspire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QuTech-Delft","download_url":"https://codeload.github.com/QuTech-Delft/quantuminspire/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253295859,"owners_count":21885712,"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":["qiskit","quantum-inspire","sdk"],"created_at":"2024-08-03T09:00:39.114Z","updated_at":"2025-05-09T17:33:25.048Z","avatar_url":"https://github.com/QuTech-Delft.png","language":"Python","funding_links":[],"categories":["Community"],"sub_categories":[],"readme":"# Quantum Inspire\n\n[![License](https://img.shields.io/github/license/qutech-delft/qiskit-quantuminspire.svg?style=popout-square)](https://opensource.org/licenses/Apache-2.0)\n\nWelcome to the repository for the Quantum Inspire tool. The goal of this project to offer basic support for interacting with the Quantum Inspire platform.\nCurrently, functionality of the tool is still limited, but the tool is required for logging in to the Quantum Inspire systems. For example, if you would like to use the QI [Qiskit](https://github.com/QuTech-Delft/qiskit-quantuminspire) or [Pennylane](https://github.com/QuTech-Delft/pennylane-quantuminspire) plugins.\n\n## Installation\n\nThe recommended way of installing the CLI is to use `pipx`. After following the [pipx installation instructions](https://pipx.pypa.io/stable/installation), run the following command:\n\n```bash\npipx install quantuminspire\n```\n\nAfterwards, running `qi --help` should show a help menu.\n\n\u003e **⚠️** Installing quantuminspire using pipx **inside a conda environment** may cause conflicts with other packages. This can result in unexpected behavior and prevent you from using the tool correctly. To avoid these issues,\n\u003e it is strongly recommended to install and run pipx on a system Python installation instead, downloaded from the official Python website.\n\n## Using the CLI to login\n\nIn order to login to the platform, run the following command:\n\n```bash\nqi login\n```\n\nThis will open a browser window that will allow you to login or create an account. By default this command will login to the production environment, but the command accepts an argument for a different host URL if needed (e.g. for beta testing purposes).\n\n## Upload files\n\nThe CLI can be used to upload files to Quantum Inspire. These files can both be hybrid and quantum circuits.\n\n**IMPORTANT**: Submitting a (python) `.py` file for hybrid algorithms requires a [specific format](https://qutech-delft.github.io/qiskit-quantuminspire/hybrid/basics.html).\nNot all `.py` files are valid for submission.\n\n```bash\nqi files upload \u003cfilename\u003e \u003cbackend_id\u003e\n```\n\nThe CLI will assume that files with the extension `.cq` are quantum circuits, while files with a `.py` extension are python files.\n\nThe list of backends (and their properties)\ncan be retrieved using the following command, from which id field can be read.\n\n```bash\nqi backends list\n```\n\n## Get results\n\nThe previous command outputs a job ID for the job that was just started. Use this job ID when querying for results.\n\n```bash\nqi results get \u003cjob_id\u003e\n```\n\n**Note**: Mostly useful for quantum circuits.\n\n## Get final results\n\nA job also always contains a final result. This object can be queried with the following command.\n\n```bash\nqi final_results get \u003cjob_id\u003e\n```\n\n**Note**: This object will always be generated. In the case of a quantum circuit, the result and final result will be the same. For hybrid algorithms, the final result is a free form datastructure that could for example be used for the aggregation of data. This is generated in the `finalize` step.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQuTech-Delft%2Fquantuminspire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQuTech-Delft%2Fquantuminspire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQuTech-Delft%2Fquantuminspire/lists"}