{"id":23591152,"url":"https://github.com/mhucka/teststuff","last_synced_at":"2025-08-23T06:37:27.607Z","repository":{"id":269006867,"uuid":"904284852","full_name":"mhucka/teststuff","owner":"mhucka","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-19T15:04:48.000Z","size":218,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-23T04:11:45.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/mhucka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-16T15:41:05.000Z","updated_at":"2025-08-19T15:04:52.000Z","dependencies_parsed_at":"2025-04-13T14:45:43.667Z","dependency_job_id":"aeeb5657-d7e9-4b76-bab4-926424b6b786","html_url":"https://github.com/mhucka/teststuff","commit_stats":null,"previous_names":["mhucka/teststuff"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mhucka/teststuff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhucka%2Fteststuff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhucka%2Fteststuff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhucka%2Fteststuff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhucka%2Fteststuff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhucka","download_url":"https://codeload.github.com/mhucka/teststuff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhucka%2Fteststuff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745679,"owners_count":24813521,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-27T07:33:52.795Z","updated_at":"2025-08-23T06:37:27.587Z","avatar_url":"https://github.com/mhucka.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003c!-- H1 title omitted because our logo acts as the title. --\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"280px\" height=\"135px\" alt=\"Cirq logo\" src=\"foo.svg\"\u003e\n\nPython package for writing, manipulating, and running [quantum\ncircuits](https://en.wikipedia.org/wiki/Quantum_circuit) on quantum computers\nand simulators.\n\n[![Licensed under the Apache 2.0\nlicense](https://img.shields.io/badge/License-Apache%202.0-3c60b1.svg?logo=opensourceinitiative\u0026logoColor=white\u0026style=flat-square)](https://github.com/quantumlib/Cirq/blob/main/LICENSE)\n[![Compatible with Python versions 3.10 and\nhigher](https://img.shields.io/badge/Python-3.10+-fcbc2c.svg?style=flat-square\u0026logo=python\u0026logoColor=white)](https://www.python.org/downloads/)\n[![Cirq project on\nPyPI](https://img.shields.io/pypi/v/cirq.svg?logo=python\u0026logoColor=white\u0026label=PyPI\u0026style=flat-square\u0026color=fcbc2c)](https://pypi.org/project/cirq)\n[![Archived in\nZenodo](https://img.shields.io/badge/10.5281%2Fzenodo.4062499-gray.svg?label=DOI\u0026style=flat-square\u0026colorA=gray\u0026colorB=3c60b1)](https://doi.org/10.5281/zenodo.4062499)\n\n[Features](#features) \u0026ndash;\n[Installation](#installation) \u0026ndash;\n[Quick Start](#quick-start--hello-qubit-example) \u0026ndash;\n[Documentation](#cirq-documentation) \u0026ndash;\n[Integrations](#integrations) \u0026ndash;\n[Community](#community) \u0026ndash;\n[Citing Cirq](#citing-cirq) \u0026ndash;\n[Contact](#contact)\n\n\u003c/div\u003e\n\n## Features\n\nCirq provides useful abstractions for dealing with today’s [noisy\nintermediate-scale quantum](https://arxiv.org/abs/1801.00862) (NISQ) computers,\nwhere the details of quantum hardware are vital to achieving state-of-the-art\nresults. Some of its features include:\n\n* Flexible gate definitions and custom gates\n* Parameterized circuits with symbolic variables\n* Circuit transformation, compilation and optimization\n* Hardware device modeling\n* Noise modeling\n* Multiple built-in quantum circuit simulators\n* Integration with [qsim](https://github.com/quantumlib/qsim) for\n   high-performance simulation\n* Interoperability with [NumPy](https://numpy.org) and\n  [SciPy](https://scipy.org)\n* Cross-platform compatibility\n\n## Installation\n\nCirq supports Python version 3.10 and later, and can be used on Linux, MacOS,\nand Windows, as well as [Google Colab](https://colab.google). For complete\ninstallation instructions, please refer to the\n[Install](https://quantumai.google/cirq/start/install) section of the online\nCirq documentation.\n\n## Quick Start – “Hello Qubit” Example\n\nHere is a simple example to get you up and running with Cirq after you have\ninstalled it. Start a Python interpreter, and then type the following:\n\n```python\nimport cirq\n\n# Pick a qubit.\nqubit = cirq.GridQubit(0, 0)\n\n# Create a circuit.\ncircuit = cirq.Circuit(\n    cirq.X(qubit)**0.5,  # Square root of NOT.\n    cirq.measure(qubit, key='m')  # Measurement.\n)\nprint(\"Circuit:\")\nprint(circuit)\n\n# Simulate the circuit several times.\nsimulator = cirq.Simulator()\nresult = simulator.run(circuit, repetitions=20)\nprint(\"Results:\")\nprint(result)\n```\n\nPython should then print output similar to this:\n\n```text\nCircuit:\n(0, 0): ───X^0.5───M('m')───\nResults:\nm=11000111111011001000\n```\n\nCongratulations! You have run your first quantum simulation in Cirq. You can\ncontinue to learn more by exploring the [many Cirq tutorials](#tutorials)\ndescribed below.\n\n## Cirq Documentation\n\nThe primary documentation site for Cirq is the [Cirq home page on the Quantum\nAI website](https://quantumai.google/cirq). There and elsewhere, a variety of\ndocumentation for Cirq is available.\n\n### Tutorials\n\n* [Video\n   tutorials](https://www.youtube.com/playlist?list=PLpO2pyKisOjLVt_tDJ2K6ZTapZtHXPLB4)\n   on YouTube are an engaging way to learn Cirq.\n* [Jupyter notebook-based\n  tutorials](https://colab.research.google.com/github/quantumlib/Cirq) let you\n  learn Cirq from your browser – no installation needed.\n* [Text-based tutorials](https://quantumai.google/cirq) on the Cirq home page\n  are great when combined with a local\n  [installation](https://quantumai.google/cirq/start/install) of Cirq on your\n  computer. After starting with the\n  [basics](https://quantumai.google/cirq/start/basics), you'll be ready to dive\n  into tutorials on circuit building and circuit simulation under the\n  [Build](https://quantumai.google/cirq/build) and\n  [Simulate](https://quantumai.google/cirq/simula) tabs, respectively. Check\n  out the other tabs for more!\n\n### Reference Documentation\n\n* Docs for the [current stable\n  release](https://quantumai.google/reference/python/cirq/all_symbols)\n  correspond to what you get with `pip install cirq`.\n* Docs for the\n  [pre-release](https://quantumai.google/reference/python/cirq/all_symbols?version=nightly)\n  correspond to what you get with `pip install cirq~=1.0.dev`.\n\n### Examples\n\n* The [examples subdirectory](./examples/) of the Cirq GitHub repo has many\n  programs illustrating the application of Cirq to everything from common\n  textbook algorithms to more advanced methods.\n* The [Experiments page](https://quantumai.google/cirq/experiments/) on the\n  Cirq documentation site has yet more examples, from simple to advanced.\n\n### Change log\n\n* The [Cirq releases](https://github.com/quantumlib/cirq/releases) page on\n  GitHub lists the changes in each release.\n\n## Integrations\n\nGoogle Quantum AI has a suite of open-source software that lets you do more\nwith Cirq. From high-performance simulators, to novel tools for expressing and\nanalyzing fault-tolerant quantum algorithms, our software stack lets you\ndevelop quantum programs for a variety of applications.\n\n\u003cdiv align=\"center\"\u003e\n\n| Your interests                                  | Software to explore  |\n|-------------------------------------------------|----------------------|\n| Quantum algorithms?\u003cbr\u003eFault-tolerant quantum computing (FTQC)? | [Qualtran](https://github.com/quantumlib/qualtran) |\n| Large circuits and/or a lot of simulations?     | [qsim](https://github.com/quantumlib/qsim) |\n| Circuits with thousands of qubits and millions of Clifford operations? | [Stim](https://github.com/quantumlib/ssim) |\n| Quantum error correction (QEC)?                 | [Stim](https://github.com/quantumlib/ssim) |\n| Chemistry and/or material science?              | [OpenFermion](https://github.com/quantumlib/openfermion)\u003cbr\u003e[OpenFermion-FQE](https://github.com/quantumlib/OpenFermion-FQE)\u003cbr\u003e[OpenFermion-PySCF](https://github.com/quantumlib/OpenFermion-PySCF)\u003cbr\u003e[OpenFermion-Psi4](https://github.com/quantumlib/OpenFermion-Psi4) |\n| Quantum machine learning (QML)?                 | [TensorFlow Quantum](https://github.com/tensorflow/quantum) |\n| Real experiments using Cirq?                    | [ReCirq](https://github.com/quantumlib/ReCirq) |\n\n\u003c/div\u003e\n\n## Community\n\n\u003ca href=\"https://github.com/quantumlib/Cirq/graphs/contributors\"\u003e\u003cimg\nalign=\"right\" width=\"160em\" alt=\"Total number of contributors to Cirq\"\nsrc=\"https://img.shields.io/github/contributors/quantumlib/cirq?label=Contributors\u0026logoColor=white\u0026logo=github\u0026color=cccccc\u0026style=flat-square\"/\u003e\u003c/a\u003e\n\nCirq has benefited from [open-source\ncontributions](https://github.com/quantumlib/Cirq/graphs/contributors) by over\n200 people and counting. We are dedicated to cultivating an open and inclusive\ncommunity to build software for quantum computers, and have a [code of\nconduct](https://github.com/quantumlib/cirq/blob/main/CODE_OF_CONDUCT.md) for\nour community.\n\n### Announcements\n\nStay on top of Cirq developments using the approach that best suits your needs:\n\n* For releases and major announcements: sign up to the low-volume mailing list\n  [`cirq-announce`](https://groups.google.com/forum/#!forum/cirq-announce).\n* For releases only:\n  * Via GitHub notifications: configure [GitHub repository\n    notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/configuring-notifications)\n    for the Cirq repository.\n  * Via Atom/RSS from GitHub: subscribe to the GitHub [Cirq releases Atom\n    feed](https://github.com/quantumlib/Cirq/releases.atom).\n  * Via RSS from PyPI: subscribe to the [PyPI releases RSS\n    feed](https://pypi.org/rss/project/cirq/releases.xml) for Cirq.\n\nCirq releases take place approximately every quarter.\n\n### Questions and Discussions\n\n* Do you have questions about using Cirq? Post them to the [Quantum Computing\n   Stack Exchange](https://quantumcomputing.stackexchange.com/) and tag them\n   with the\n   [`cirq`](https://quantumcomputing.stackexchange.com/questions/tagged/cirq)\n   tag. You can also search past questions using that tag – it's a great way to\n   learn!\n* Would you like to get more involved in Cirq development? _Cirq Cynq_ is our\n  biweekly virtual meeting of contributors to discuss everything from issues to\n  ongoing efforts, as well as to ask questions. Become a member of\n  [_cirq-dev_](https://groups.google.com/forum/#!forum/cirq-dev) to get an\n  automatic meeting invitation!\n\n### Issues and Pull Requests\n\n* Do you have a feature request or want to report a bug? [Open an issue on\n  GitHub](https://github.com/quantumlib/Cirq/issues/new/choose) to report it!\n* Do you have a code contribution? Read our [contribution\n  guidelines](https://github.com/quantumlib/cirq/blob/main/CONTRIBUTING.md),\n  then open a [pull\n  request](https://help.github.com/articles/about-pull-requests)!\n\n## Citing Cirq\n\nWhen publishing articles or otherwise writing about Cirq, please cite the Cirq\nversion you use – it will help others reproduce your results. We use Zenodo to\npreserve releases. The following links let you download the bibliographic\nrecord for the latest stable release of Cirq in various popular formats:\n\n\u003cdiv align=\"center\"\u003e\n\n[![Download BibTeX bibliography record for latest Cirq\nrelease](https://img.shields.io/badge/Download%20record-e0e0e0.svg?style=flat-square\u0026logo=LaTeX\u0026label=BibTeX\u0026labelColor=106f6e)](https://zenodo.org/records/8161252/export/bibtex)\u0026nbsp;\u0026nbsp;\n[![Download MARCXML bibliography record for latest Cirq\nrelease](https://img.shields.io/badge/Download%20record-e0e0e0.svg?style=flat-square\u0026label=MARCXML\u0026labelColor=2f00cd\u0026logo=xml)](https://zenodo.org/records/8161252/export/marcxml)\u0026nbsp;\u0026nbsp;\n[![Download CSL JSON bibliography record for latest Cirq\nrelease](https://img.shields.io/badge/Download%20record-e0e0e0.svg?style=flat-square\u0026label=CSL\u0026labelColor=2d98e0\u0026logo=json)](https://zenodo.org/records/8161252/export/csl)\n\n\u003c/div\u003e\n\nFor formatted citations and records in other formats, as well as records for\nall releases of Cirq past and present, visit the [Cirq page on\nZenodo](https://doi.org/10.5281/zenodo.4062499).\n\n## Contact\n\nFor any questions or concerns not addressed here, please email\n\u003cquantum-oss-maintainers@google.com\u003e.\n\n## Disclaimer\n\nCirq is not an official Google product. Copyright 2019 The Cirq Developers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhucka%2Fteststuff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhucka%2Fteststuff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhucka%2Fteststuff/lists"}