Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Cirq Quantum Circuits Skill

Teaches Claude to build, simulate, noise-model, and deploy quantum circuits with Google's Cirq framework.

Dev & CodingAdvanced33,0303,248AI score 8/10Last updated: Aug 9, 2026

What it does

Gives Claude a working playbook for Cirq (v1.6.1), Google Quantum AI's open-source quantum circuit framework.

  • Circuit construction with LineQubit/GridQubit/NamedQubit, gates, and moments
  • State-vector and density-matrix simulation, parameter sweeps (cirq.Linspace), Quantum Virtual Machine
  • Transformer-based optimization, hardware gateset compilation, qubit routing/SWAP insertion
  • Noise channels and models, RB/XEB characterization, error mitigation
  • Ready-to-adapt execution templates for Google Quantum Engine, IonQ, Azure Quantum, AQT, and Pasqal
  • Variational algorithm scaffolding (VQE, QAOA, QPE) and ReCirq experiment structure

Who it's for

  • Researchers targeting Google QPUs (Sycamore, Weber, Willow)
  • Grad students quantifying noise effects on NISQ circuits
  • Educators producing reproducible quantum experiment code
  • (Use qiskit for IBM hardware, pennylane for autodiff quantum ML, qutip for physics simulation)

Usage examples

  1. "Build a 2-qubit Bell state circuit and show the histogram over 1000 shots" → H + CNOT circuit, cirq.Simulator() run, printed distribution.
  2. "Compare fidelity as depolarizing noise goes from 0 to 0.1" → applies the noise-study template with DensityMatrixSimulator.
  3. "Port this circuit to run on an IonQ QPU" → produces cirq_ionq.Service() code plus API-key environment setup notes.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/cirq folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/cirq/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

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

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and make sure Claude Code is installed.
  2. Clone the skills repository: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the whole cirq folder (including its references/ subfolder): cp -r scientific-agent-skills/skills/cirq ~/.claude/skills/
  5. Install Cirq on Python 3.11+: uv pip install "cirq==1.6.1" (add cirq-google, cirq-ionq, etc. at the same version for hardware).
  6. Restart Claude Code and try a prompt like "use cirq to build a Bell state circuit" to trigger the skill.
  7. For real hardware runs, export credentials first, e.g. GOOGLE_CLOUD_PROJECT or IONQ_API_KEY.