Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: SWE-Gym-Raw
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 36 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 11
  • Releases: 0
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme Contributing License Code of conduct Citation Codeowners Security Support Authors Zenodo

README.rst

.. image:: https://raw.githubusercontent.com/quantumlib/Cirq/main/docs/images/Cirq_logo_color.png
  :target: https://github.com/quantumlib/cirq
  :alt: Cirq
  :width: 500px

Cirq is a Python library for writing, manipulating, and optimizing quantum
circuits and running them against quantum computers and simulators.

.. image:: https://github.com/quantumlib/Cirq/actions/workflows/ci.yml/badge.svg?event=schedule
  :target: https://github.com/quantumlib/Cirq
  :alt: Build Status

.. image:: https://codecov.io/gh/quantumlib/Cirq/branch/main/graph/badge.svg
  :target: https://codecov.io/gh/quantumlib/Cirq

.. image:: https://badge.fury.io/py/cirq.svg
  :target: https://badge.fury.io/py/cirq


Installation and Documentation
------------------------------

Cirq documentation is available at `quantumai.google/cirq `_.

Documentation 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 `__.

Documentation for the latest **stable** version of cirq (what you get if you ``pip install cirq``) is available `here `__.


- `Installation `_
- `Documentation `_
- `Tutorials `_

For 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 `_.

For the latest news regarding Cirq, sign up to the `Cirq-announce email list `__!


Hello Qubit
-----------

A simple example to get you up and running:

.. code-block:: python

  import cirq

  # Pick a qubit.
  qubit = cirq.GridQubit(0, 0)

  # Create a circuit
  circuit = cirq.Circuit(
      cirq.X(qubit)**0.5,  # Square root of NOT.
      cirq.measure(qubit, key='m')  # Measurement.
  )
  print("Circuit:")
  print(circuit)

  # Simulate the circuit several times.
  simulator = cirq.Simulator()
  result = simulator.run(circuit, repetitions=20)
  print("Results:")
  print(result)

Example output:

.. code-block::

  Circuit:
  (0, 0): ───X^0.5───M('m')───
  Results:
  m=11000111111011001000


Feature requests / Bugs / Questions
-----------------------------------

If you have feature requests or you found a bug, please `file them on GitHub `__.

For questions about how to use Cirq post to
`Quantum Computing Stack Exchange `__ with the
`cirq `__ tag.

How to cite Cirq
----------------

Cirq is uploaded to Zenodo automatically. Click on the badge below to see all the citation formats for all versions.

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4062499.svg
  :target: https://doi.org/10.5281/zenodo.4062499
  :alt: DOI

Cirq Contributors Community
---------------------------

We welcome contributions! Before opening your first PR, a good place to start is to read our
`guidelines `__.

We are dedicated to cultivating an open and inclusive community to build software for near term quantum computers.
Please read our `code of conduct `__ for the rules of engagement within our community.

**Cirq Cynque** is our weekly meeting for contributors to discuss upcoming features, designs, issues, community and status of different efforts.
To get an invitation please join the `cirq-dev email list `__ which also serves as yet another platform to discuss contributions and design ideas.

See Also
--------

For those interested in using quantum computers to solve problems in
chemistry and materials science, we encourage exploring
`OpenFermion `__ and
its sister library for compiling quantum simulation algorithms in Cirq,
`OpenFermion-Cirq `__.

For machine learning enthusiasts, `Tensorflow Quantum `__ is a great project to check out!

For a powerful quantum circuit simulator that integrates well with Cirq, we recommend looking at `qsim `__.

Finally, `ReCirq `__ contains real world experiments using Cirq.

Contact
-------

For any questions or concerns not addressed here, please feel free to reach out to
quantumai-oss-maintainers@googlegroups.com.

Cirq is not an official Google product. Copyright 2019 The Cirq Developers

Owner

  • Name: SWE-Gym-Raw
  • Login: SWE-Gym-Raw
  • Kind: organization
  • Email: jingmai@pku.edu.cn

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this software, please cite it as below.
authors:
  - name: Cirq Developers
    website: https://github.com/quantumlib/Cirq/graphs/contributors
title: Cirq
abstract: Python package for writing, manipulating, and running quantum circuits on quantum computers and simulators.
version: 1.4.1
date-released: 2024-06-26
url: https://quantumai.google/cirq
repository-code: https://github.com/quantumlib/Cirq
license: Apache-2.0
identifiers:
  - type: doi
    value: 10.5281/zenodo.4062499
    description: Archival DOI for Cirq software releases.
type: software
keywords:
  - api
  - nisq
  - noisy intermediate-scale quantum
  - python
  - quantum algorithms
  - quantum circuit simulation
  - quantum circuits
  - quantum computing
  - quantum programming
  - quantum programming languages
  - quantum simulation
  - sdk
  - simulation
  - software

GitHub Events

Total
  • Delete event: 16
  • Issue comment event: 41
  • Push event: 1
  • Pull request event: 44
  • Fork event: 1
  • Create event: 109
Last Year
  • Delete event: 16
  • Issue comment event: 41
  • Push event: 1
  • Pull request event: 44
  • Fork event: 1
  • Create event: 109

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 25
  • Average time to close issues: N/A
  • Average time to close pull requests: 19 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.6
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 25
Past Year
  • Issues: 0
  • Pull requests: 25
  • Average time to close issues: N/A
  • Average time to close pull requests: 19 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.6
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 25
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (25)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

Dockerfile docker
  • cirq_base latest build
  • python 3.10-slim build
dev_tools/pr_monitor/Dockerfile docker
  • python 3.10-slim build
cirq-web/cirq_ts/package-lock.json npm
  • 1090 dependencies
cirq-web/cirq_ts/package.json npm
  • @types/chai ^4.2.18 development
  • @types/jsdom ^16.2.11 development
  • @types/mocha ^8.2.2 development
  • @types/node ^14.11.2 development
  • @types/pixelmatch ^5.2.3 development
  • @types/pngjs ^6.0.0 development
  • @types/puppeteer ^5.4.3 development
  • @types/temp ^0.9.0 development
  • @types/three ^0.128.0 development
  • canvas ^2.8.0 development
  • chai ^4.3.4 development
  • concurrently ^6.1.0 development
  • gts ^3.1.1 development
  • install ^0.13.0 development
  • jsdom ^16.6.0 development
  • mocha ^10.8.2 development
  • npm ^10.8.3 development
  • nyc ^17.1.0 development
  • pixelmatch ^5.2.1 development
  • pngjs ^7.0.0 development
  • puppeteer ^19.6.3 development
  • temp ^0.9.4 development
  • three ^0.137.0 development
  • ts-loader ^9.1.2 development
  • ts-mocha ^10.0.0 development
  • ts-mock-imports ^1.3.7 development
  • ts-node ^10.0.0 development
  • typescript ^4.0.3 development
  • webpack ^5.94.0 development
  • webpack-cli ^4.7.0 development
  • webpack-dev-server ^5.2.0 development
  • @types/looks-same ^4.1.0
  • gts ^3.1.1
  • live-server ^1.2.2
  • tsc-watch ^6.2.1
  • typescript ^4.2.4
apt-system-requirements.txt pypi
  • latexmk *
  • python3-tk *
  • texlive-latex-base *
cirq-aqt/requirements.txt pypi
  • requests *
cirq-aqt/setup.py pypi
cirq-core/cirq/contrib/requirements.txt pypi
  • opt_einsum *
  • ply >=3.6
  • pylatex *
  • quimb >=1.8
cirq-core/requirements.txt pypi
  • attrs >=21.3.0
  • duet >=0.2.8
  • matplotlib *
  • networkx >=2.4
  • numpy >=1.24
  • pandas *
  • scipy *
  • sortedcontainers *
  • sympy *
  • tqdm *
  • typing_extensions >=4.2
cirq-core/setup.py pypi
cirq-google/requirements.txt pypi
  • google-api-core >=1.14.0
  • proto-plus >=1.20.0
  • protobuf >=3.15.0
  • typedunits *
cirq-google/setup.py pypi
cirq-ionq/requirements.txt pypi
  • requests *
cirq-ionq/setup.py pypi
cirq-pasqal/requirements.txt pypi
  • requests *
cirq-pasqal/setup.py pypi
cirq-rigetti/requirements.txt pypi
  • pyquil >=4.14.3,<5.0.0
cirq-rigetti/setup.py pypi
cirq-web/requirements.txt pypi
cirq-web/setup.py pypi
dev_tools/modules_test_data/mod1/requirements.txt pypi
  • req1 * development
  • req2 * development
dev_tools/modules_test_data/mod1/setup.py pypi
dev_tools/modules_test_data/mod2/setup.py pypi
dev_tools/modules_test_data/setup.py pypi
dev_tools/pr_monitor/requirements.txt pypi
  • google-cloud-secret-manager ==1.0.0 development
  • requests ==2.32.0 development
dev_tools/requirements/dev-np2.env.txt pypi
  • numpy >=2 development
dev_tools/requirements/dev.env.txt pypi
dev_tools/requirements/isolated-base.env.txt pypi
  • requests * development
dev_tools/requirements/mypy.env.txt pypi
dev_tools/requirements/no-contrib.env.txt pypi
dev_tools/requirements/notebooks.env.txt pypi
dev_tools/requirements/pylint.env.txt pypi
dev_tools/requirements/pytest-minimal.env.txt pypi
pyproject.toml pypi
setup.py pypi