Skip to main content
skill CX Codex

cirq — Claude Code skill: quantum circuits in Python

A skill for Google Quantum AI's Cirq framework: build and simulate quantum circuits, model noise, run on hardware. Useful when your Python project touches quantum computing.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add K-Dense-AI/scientific-agent-skills --skill cirq -a claude-code
Open on GitHub

What cirq does

The skill hands your agent reference material on Cirq: circuit building, simulation, transformations, hardware integration and noise modeling. It ships references/building.md, references/simulation.md, references/transformation.md, references/hardware.md and references/noise.md, plus code examples. The agent reads them with Read, edits files with Write and Edit, and runs code through Bash.

Examples target Cirq 1.7.0 on Python 3.11+. Locally, uv pip install "cirq-core==1.7.0" is enough; OpenQASM import also needs ply. Keep every cirq-* package in one environment on the same release, because cirq-google, cirq-ionq, cirq-aqt and cirq-pasqal ship in step with the core. Azure is the exception: it runs its own Cirq 1.6.1 stack, and forcing 1.7.0 into it breaks the setup.

Cloud execution needs provider credentials, network access and assigned targets. Google Quantum Engine requires an approved GCP project, and bundled virtual processor names prove nothing about live access. The skill covers Google, IonQ, Azure Quantum, AQT and Pasqal. For IBM hardware you want qiskit, for quantum ML with autodiff pennylane, for physics simulations qutip.

What it helps with

  • build a parameterized circuit and sweep it over a range of values
  • model noise and see how it shifts the measurement results
  • compile a circuit down to a specific processor's gateset
  • submit a job to Google Quantum AI or a partner backend
  • work through transformers and qubit routing

Example prompts for the agent

  • Build a Bell state circuit on two qubits and run 1000 shots on cirq.Simulator.
  • Sweep the theta parameter from 0 to 2π and show me the histograms.
  • Add a depolarizing noise model and compare against the ideal simulation.

How to install cirq

1Skills CLI (Vercel)

npx skills add K-Dense-AI/scientific-agent-skills --skill cirq -a claude-code

2Manually: put the files in place

~/.claude/skills/cirq/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cirq/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cirq

How do I install cirq in Claude Code?

Run npx skills add K-Dense-AI/scientific-agent-skills --skill cirq -a claude-code. The skill lands in ~/.claude/skills/cirq/SKILL.md.

What does the cirq skill do?

It gives the agent Cirq references and examples: circuit construction, simulation, transformations, hardware integration and noise modeling.

What do I need to run circuits on real hardware?

Provider credentials, network access and assigned targets. Google Quantum Engine also needs an approved GCP project.

Similar skills

Everything for Science and research →

From the same set159

cobrapy Guides COBRApy-based metabolic model analysis, from flux calculations and gene knockouts to media design and SBML checks. CX Codex +1 1,900installs treatment-plans This skill formats and structurally validates local treatment-plan documentation once clinical decisions have been made and verified. It does not make clinical decisions. CX Codex +1 1,900installs depmap A skill for discovering and analyzing Cancer Dependency Map data. Helps examine CRISPR Chronos gene effects, co-essentiality, and PRISM compound responses. CX Codex +1 1,900installs diffdock Docks a small molecule into a protein with DiffDock and DiffDock-L, for one pair or a batch, then hands back ranked candidate poses. CX Codex +1 1,900installs pysam Guides agents through Python and HTSlib workflows for genomic files like BAM, CRAM, and VCF. Useful when extracting alignments, filtering reads, and computing coverage. CX Codex +1 1,900installs medchem Filters compound libraries with drug-likeness rules, structural alerts, and complexity checks. Use it when triaging molecular candidates. CX Codex +1 1,900installs dhdna-profiler A skill that applies the DHDNA framework to describe reasoning and writing patterns in text. Use it when you need reflection on thinking style, a cognitive-preference profile, or comparison of how texts construct arguments. CX Codex +1 1,900installs neurokit2 Builds reproducible physiological time-series workflows in NeuroKit2 0.2.13. Helps audit biosignals, verify data contracts, and prevent package conflicts. CX Codex +1 1,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor