Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cirq

Skill by K-Dense-AI

Cirq is Google Quantum AI's open-source Python framework for designing, simulating, and running quantum circuits. It suits developers and researchers targeting Google hardware, noise modeling, and low-level circuit design.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cirq

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/cirq ~/.claude/skills/cirq

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cirq in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Cirq is Google Quantum AI's open-source Python framework for designing, simulating, and running quantum circuits on quantum computers and simulators. This skill gives an AI assistant guidance on building circuits, parameter sweeps, transformers and compilation, noise modeling, and characterization experiments. It covers hardware access through cirq-google, IonQ, Azure Quantum, AQT, and Pasqal.

Examples target Cirq 1.7.0 on Python 3.11 or later, and the skill points to reference guides for each area. Cloud execution needs provider credentials, network access, and assigned targets, and Azure uses a separate Cirq 1.6.1 environment. The skill is aimed at people working on NISQ circuits and Google hardware. It routes IBM hardware to qiskit, quantum ML to pennylane, and physics simulation to qutip.

Written from the project's SKILL.md and checked against it.

What it can do

  • Circuit buildingCovers qubits, gates, custom gates, moments, and standard patterns like Bell and GHZ states.
  • SimulationExplains exact and noisy simulation, sampling, measurements, and expectation values.
  • Parameter sweepsShows how to run circuits over sets of parameter values with symbolic parameters.
  • Circuit transformationDescribes transformers for gate decomposition, optimization, and hardware compilation.
  • Hardware integrationDescribes running circuits on Google, IonQ, Azure Quantum, AQT, and Pasqal providers.
  • Noise modelingCovers noise channels, noise models, readout noise, and characterization methods like XEB.

What you need

  • Python 3.11 or later
  • Cirq 1.7.0 for local examples
  • Provider credentials and network access for cloud execution
  • Approved Google Cloud project access for Quantum Engine

Try asking

  • Build a Bell state circuit in Cirq and sample it 1000 times
  • Sweep a rotation parameter in Cirq and plot the measured histograms
  • Add depolarizing noise to my Cirq circuit and compare results

Good to know

  • Azure examples need a separate environment that uses Cirq 1.6.1.
  • Hardware examples are illustrative and were not run against cloud jobs.
  • The legacy Pasqal remote sampler is not a verified current Pasqal Cloud integration.
  • Bundled virtual processor names do not prove live access to hardware.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cirq/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash

  • SKILL.md14 KB
  • references/building.md7 KB
  • references/experiments.md10 KB
  • references/hardware.md13 KB
  • references/noise.md10 KB
Show all 8 files
  • references/review.md6 KB
  • references/simulation.md7 KB
  • references/transformation.md6 KB

Alternatives to cirq

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

cirq: common questions

Which hardware does Cirq support?

The source lists Google Quantum AI, IonQ, Azure Quantum, AQT, and Pasqal. It says IBM hardware should use qiskit instead.

Can I use Cirq without cloud access?

Yes. The local simulation examples run without provider access, and the skill says cloud execution needs credentials and assigned targets.

Which Cirq version should I use?

The examples target Cirq 1.7.0 on Python 3.11 or later, and all cirq-* packages in one environment should share the same release.

How do I install cirq?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cirq free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is cirq safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cirq?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

Add to stack

Loading.