{"id":13468278,"url":"https://github.com/quantumlib/Cirq","last_synced_at":"2025-03-26T05:30:57.994Z","repository":{"id":37319119,"uuid":"114306758","full_name":"quantumlib/Cirq","owner":"quantumlib","description":"A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.","archived":false,"fork":false,"pushed_at":"2024-10-28T18:38:44.000Z","size":35629,"stargazers_count":4266,"open_issues_count":286,"forks_count":1009,"subscribers_count":193,"default_branch":"main","last_synced_at":"2024-10-29T11:20:56.870Z","etag":null,"topics":["algorithms","api","cirq","google","google-quantum","nisq","python","quantum","quantum-algorithms","quantum-circuit","quantum-circuit-simulator","quantum-computer-simulator","quantum-computing","quantum-development-kit","quantum-information","quantum-programming","quantum-programming-language","quantum-simulation","sdk","simulation"],"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/quantumlib.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-14T23:41:49.000Z","updated_at":"2024-10-28T20:01:33.000Z","dependencies_parsed_at":"2023-10-14T18:30:16.096Z","dependency_job_id":"dba70779-cd9d-4fdb-b505-143da68fcbd1","html_url":"https://github.com/quantumlib/Cirq","commit_stats":{"total_commits":3633,"total_committers":228,"mean_commits":15.93421052631579,"dds":0.9077897054775668,"last_synced_commit":"455f50be4b1d22237de7ffa82c1efabd201fb184"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantumlib%2FCirq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantumlib%2FCirq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantumlib%2FCirq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantumlib%2FCirq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quantumlib","download_url":"https://codeload.github.com/quantumlib/Cirq/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245402392,"owners_count":20609338,"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":["algorithms","api","cirq","google","google-quantum","nisq","python","quantum","quantum-algorithms","quantum-circuit","quantum-circuit-simulator","quantum-computer-simulator","quantum-computing","quantum-development-kit","quantum-information","quantum-programming","quantum-programming-language","quantum-simulation","sdk","simulation"],"created_at":"2024-07-31T15:01:08.100Z","updated_at":"2025-03-26T05:30:57.969Z","avatar_url":"https://github.com/quantumlib.png","language":"Python","readme":".. image:: https://raw.githubusercontent.com/quantumlib/Cirq/main/docs/images/Cirq_logo_color.png\n  :target: https://github.com/quantumlib/cirq\n  :alt: Cirq\n  :width: 500px\n\nCirq is a Python library for writing, manipulating, and optimizing quantum\ncircuits and running them against quantum computers and simulators.\n\n.. image:: https://github.com/quantumlib/Cirq/actions/workflows/ci.yml/badge.svg?event=schedule\n  :target: https://github.com/quantumlib/Cirq\n  :alt: Build Status\n\n.. image:: https://codecov.io/gh/quantumlib/Cirq/branch/main/graph/badge.svg\n  :target: https://codecov.io/gh/quantumlib/Cirq\n\n.. image:: https://badge.fury.io/py/cirq.svg\n  :target: https://badge.fury.io/py/cirq\n\n\nInstallation and Documentation\n------------------------------\n\nCirq documentation is available at `quantumai.google/cirq \u003chttps://quantumai.google/cirq\u003e`_.\n\nDocumentation for the latest **pre-release** version of cirq (tracks the repository's main branch; what you get if you ``pip install cirq~=1.0.dev``), is available `here \u003chttps://quantumai.google/reference/python/cirq/all_symbols?version=nightly\u003e`__.\n\nDocumentation for the latest **stable** version of cirq (what you get if you ``pip install cirq``) is available `here \u003chttps://quantumai.google/reference/python/cirq/all_symbols\u003e`__.\n\n\n- `Installation \u003chttps://quantumai.google/cirq/start/install\u003e`_\n- `Documentation \u003chttps://quantumai.google/cirq\u003e`_\n- `Tutorials \u003chttps://quantumai.google/cirq/build\u003e`_\n\nFor a comprehensive list all of the interactive Jupyter Notebooks in our repo (including the ones not yet published to the site) open our repo in `Colab \u003chttps://colab.research.google.com/github/quantumlib/Cirq\u003e`_.\n\nFor the latest news regarding Cirq, sign up to the `Cirq-announce email list \u003chttps://groups.google.com/forum/#!forum/cirq-announce\u003e`__!\n\n\nHello Qubit\n-----------\n\nA simple example to get you up and running:\n\n.. code-block:: python\n\n  import cirq\n\n  # Pick a qubit.\n  qubit = cirq.GridQubit(0, 0)\n\n  # Create a circuit\n  circuit = cirq.Circuit(\n      cirq.X(qubit)**0.5,  # Square root of NOT.\n      cirq.measure(qubit, key='m')  # Measurement.\n  )\n  print(\"Circuit:\")\n  print(circuit)\n\n  # Simulate the circuit several times.\n  simulator = cirq.Simulator()\n  result = simulator.run(circuit, repetitions=20)\n  print(\"Results:\")\n  print(result)\n\nExample output:\n\n.. code-block::\n\n  Circuit:\n  (0, 0): ───X^0.5───M('m')───\n  Results:\n  m=11000111111011001000\n\n\nFeature requests / Bugs / Questions\n-----------------------------------\n\nIf you have feature requests or you found a bug, please `file them on GitHub \u003chttps://github.com/quantumlib/Cirq/issues/new/choose\u003e`__.\n\nFor questions about how to use Cirq post to\n`Quantum Computing Stack Exchange \u003chttps://quantumcomputing.stackexchange.com/\u003e`__ with the\n`cirq \u003chttps://quantumcomputing.stackexchange.com/questions/tagged/cirq\u003e`__ tag.\n\nHow to cite Cirq\n----------------\n\nCirq is uploaded to Zenodo automatically. Click on the badge below to see all the citation formats for all versions.\n\n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4062499.svg\n  :target: https://doi.org/10.5281/zenodo.4062499\n  :alt: DOI\n\nCirq Contributors Community\n---------------------------\n\nWe welcome contributions! Before opening your first PR, a good place to start is to read our\n`guidelines \u003chttps://github.com/quantumlib/cirq/blob/main/CONTRIBUTING.md\u003e`__.\n\nWe are dedicated to cultivating an open and inclusive community to build software for near term quantum computers.\nPlease read our `code of conduct \u003chttps://github.com/quantumlib/cirq/blob/main/CODE_OF_CONDUCT.md\u003e`__ for the rules of engagement within our community.\n\n**Cirq Cynque** is our weekly meeting for contributors to discuss upcoming features, designs, issues, community and status of different efforts.\nTo get an invitation please join the `cirq-dev email list \u003chttps://groups.google.com/forum/#!forum/cirq-dev\u003e`__ which also serves as yet another platform to discuss contributions and design ideas.\n\n\nSee Also\n--------\n\nFor those interested in using quantum computers to solve problems in\nchemistry and materials science, we encourage exploring\n`OpenFermion \u003chttps://github.com/quantumlib/openfermion\u003e`__ and\nits sister library for compiling quantum simulation algorithms in Cirq,\n`OpenFermion-Cirq \u003chttps://github.com/quantumlib/openfermion-cirq\u003e`__.\n\nFor machine learning enthusiasts, `Tensorflow Quantum \u003chttps://github.com/tensorflow/quantum\u003e`__ is a great project to check out!\n\nFor a powerful quantum circuit simulator that integrates well with Cirq, we recommend looking at `qsim \u003chttps://github.com/quantumlib/qsim\u003e`__.\n\nFinally, `ReCirq \u003chttps://github.com/quantumlib/ReCirq\u003e`__ contains real world experiments using Cirq.\n\nCirq is not an official Google product. Copyright 2019 The Cirq Developers\n","funding_links":[],"categories":["Quantum Computing","Python","Quantum SDKs","Quantum full-stack libraries","Development Tools","Tools"],"sub_categories":["NLP","Synthetic Data","Mesh networks"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantumlib%2FCirq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantumlib%2FCirq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantumlib%2FCirq/lists"}