Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

cirq

Latest version: v1.8.0.dev20261124175558

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: dabacon, dstrain, kunalarya, mneeley, quantumlib, quantumlib_release_bot, strilanc, tanujkhattar, viathor
5,103 Stars
1,300 Forks
40 Versions
49.3K Downloads
Python Repo language

Scan summary

cirq was last scanned on 24 Nov 2026 at version 1.8.0.dev20261124175558. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 40 versions; the latest 5 were published within 5 days (20–24 Nov 2026).
  • Findings: No rules fired in version 1.8.0.dev20261124175558.
  • Downloads: 49,312 downloads.

Versions

40 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.8.0.dev20261124175558 LATEST 24 Nov 2026 No rules fired
1.8.0.dev20261124174020 24 Nov 2026 No rules fired
1.8.0.dev20261124171422 24 Nov 2026 No rules fired
1.8.0.dev20261121043546 21 Nov 2026 Not shown
1.8.0.dev20261120190258 20 Nov 2026 Not shown

No rules fired in 1.8.0.dev20261124175558

Findings

Findings for v1.8.0.dev20261124175558. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.8.0.dev20261124175558; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Python package for writing, manipulating, and running quantum circuits on quantum computers and simulators.

Licensed under the Apache 2.0license Compatible with Python versions 3.12 andhigher Cirq project onPyPI Archived inZenodo

Features – Installation – Quick Start – Documentation – Integrations – Community – Citing Cirq – Contact

Features

Cirq provides useful abstractions for dealing with today’s noisy intermediate-scale quantum (NISQ) computers, where the details of quantum hardware are vital to achieving state-of-the-art results. Some of its features include:

  • Flexible gate definitions and custom gates
  • Parameterized circuits with symbolic variables
  • Circuit transformation, compilation, and optimization
  • Hardware device modeling
  • Noise modeling
  • Multiple built-in quantum circuit simulators
  • Integration with qsim for high-performance simulation
  • Interoperability with NumPy and SciPy
  • Cross-platform compatibility

Installation

Cirq supports Python version 3.12 and later, and can be used on Linux, macOS, and Windows, as well as Google Colab. For complete installation instructions, please refer to the Install section of the online Cirq documentation.

Quick Start – “Hello Qubit” Example

Here is a simple example to get you up and running with Cirq after you have installed it. Start a Python interpreter, and then type the following:

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)

Python should then print output similar to this:

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

Congratulations! You have run your first quantum simulation in Cirq. You can continue to learn more by exploring the many Cirq tutorials described below.

Cirq Documentation

The primary documentation site for Cirq is the Cirq home page on the Quantum AI website. There and elsewhere, a variety of documentation for Cirq is available.

Tutorials
Reference Documentation
  • Docs for the current stable release correspond to what you get with pip install cirq.
  • Docs for the pre-release correspond to what you get with pip install --upgrade cirq~=1.0.dev.
Examples
  • The examples subdirectory of the Cirq GitHub repo has many programs illustrating the application of Cirq to everything from common textbook algorithms to more advanced methods.
  • The Experiments page on the Cirq documentation site has yet more examples, from simple to advanced.
Change log
  • The Cirq releases page on GitHub lists the changes in each release.

Integrations

Google Quantum AI has a suite of open-source software that lets you do more with Cirq. From high-performance simulators, to novel tools for expressing and analyzing fault-tolerant quantum algorithms, our software stack lets you develop quantum programs for a variety of applications.

Your interests Software to explore
Programming NISQ quantum computers? Cirq
Quantum algorithms?Fault-tolerant quantum computing (FTQC)? Qualtran
Large circuits and/or a lot of simulations? qsim
Circuits with thousands of qubits and millions of Clifford operations? Stim
Quantum error correction (QEC)? StimTesseract Decoder
Chemistry and/or material science? OpenFermionOpenFermion-PySCF
Quantum machine learning (QML)? TensorFlow Quantum
Optimizing tensor network contractions? TNCO
Real experiments using Cirq? ReCirq

Community

Cirq has benefited from contributions by over 250 people and counting. We are dedicated to cultivating an open and inclusive community to build software for quantum computers, and have a community code of conduct.

Announcements

Stay on top of Cirq developments using the approach that best suits your needs:

Cirq releases take place approximately every quarter.

Questions and Discussions
  • Have questions about Cirq? Post them to the Quantum Computing Stack Exchange and tag them with cirq. You can also search past questions using that tag – it's a great way to learn!
  • Want to meet other Cirq developers and participate in discussions? Join Cirq Cynq, our biweekly virtual meeting of contributors. Sign up to cirq-dev to get an automatic meeting invitation!
Contributions

Citing Cirq

When publishing articles or otherwise writing about Cirq, please cite the Cirq version you use – it will help others reproduce your results. We use Zenodo to preserve releases. The following links let you download the bibliographic record for the latest stable release of Cirq in some popular formats:

Download BibTeX bibliography record for latest Cirqrelease Download CSL JSON bibliography record for latest Cirqrelease

For formatted citations and records in other formats, as well as records for all releases of Cirq past and present, please visit the Cirq page on Zenodo.

Contact

For any questions or concerns not addressed here, please email quantum-oss-maintainers@google.com.

Disclaimer

This is not an officially supported Google product. This project is not eligible for the Google Open Source Software Vulnerability Rewards Program.

Copyright 2018 The Cirq Developers.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases cirq

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229