Cirq Quantum Circuit Assistant
A skill for designing, simulating, and running quantum circuits with Google's Cirq framework.
Dev & CodingAdvanced★ 33,030⑂ 3,248AI score 9/10Last updated: Aug 9, 2026
What it does
- Provides ready-to-run patterns for building, simulating, and optimizing quantum circuits with Cirq (Google Quantum AI's framework).
- Covers state-vector and density-matrix simulation, symbolic parameter sweeps, noise channels and noise models, and transformer-based circuit optimization.
- Documents hardware execution and authentication for Google (Sycamore, Weber, Willow), IonQ, Azure Quantum, AQT, and Pasqal backends.
- Includes variational algorithm templates (VQE/QAOA/QPE), ReCirq experiment structure, best practices, and troubleshooting for deep circuits, memory limits, and device validation errors.
Who it's for
- Researchers and grad students prototyping quantum algorithms in Python.
- Developers who need to submit jobs to Google Quantum AI or IonQ/Quantinuum hardware.
- Engineers studying NISQ noise effects and error mitigation quantitatively.
Example uses
- "Build a 2-qubit Bell state circuit, sample 1000 shots, and print the histogram" → complete code from circuit to results.
- "Compare output fidelity across depolarizing probabilities from 0 to 0.1" → generates a noise comparison study script.
- "Compile my circuit to the Weber processor gateset with SWAP routing" → transformer pipeline plus device validation steps.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/HEAD/skills/cirq/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the 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 && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/cirq ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the skill repository:
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r scientific-agent-skills/skills/cirq ~/.claude/skills/ - Verify that
~/.claude/skills/cirq/SKILL.mdand itsreferences/folder came along. - In a Python 3.11+ environment install the library:
uv pip install "cirq==1.6.1"(orpip install cirq). - Restart Claude Code and try a prompt like "use Cirq to build a Bell state circuit" to confirm the skill triggers.
View source on GitHub ↗License: MIT