Skip to content

Cirq framework for building, simulating, optimizing, and executing quantum circuits across hardware providers.

CCM score
59 of 100
skills.sh installs
214
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers circuit construction, noiseless and noisy simulation, transformation, hardware integration, noise modeling, and quantum experiments
  • Includes reference guides for building, simulation, transformation, hardware, noise, and experiments, plus templates for variational, hardware, and noise-study workflows
  • Supports hardware backends from Google, IonQ, Azure Quantum, AQT, and Pasqal, installed as separate packages
  • Designed for researchers running algorithms such as VQE, QAOA, QPE, and randomized benchmarking on simulators or real devices

Install

$ npx -y skills add davila7/claude-code-templates --skill cirq -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Cirq - Quantum Computing with Python

Cirq is Google Quantum AI's open-source framework for designing, simulating, and running quantum circuits on quantum computers and simulators.

Installation

uv pip install cirq

For hardware integration:

# Google Quantum Engine
uv pip install cirq-google

# IonQ
uv pip install cirq-ionq

# AQT (Alpine Quantum Technologies)
uv pip install cirq-aqt

# Pasqal
uv pip install cirq-pasqal

# Azure Quantum
uv pip install azure-quantum cirq

Quick Start

Basic Circuit

import cirq
import numpy as np

# Create qubits
q0, q1 = cirq.LineQubit.range(2)

# Build circuit
circuit = cirq.Circuit(
    cirq.H(q0),              # Hadamard on q0
    cirq.CNOT(q0, q1),       # CNOT with q0 control, q1 target
    cirq.measure(q0, q1, key='result')
)

print(circuit)

# Simulate
simulator = cirq.Simulator()
result = simulator.run(circuit, repetitions=1000)

# Display results
print(result.histogram(key='result'))

Parameterized Circuit

import sympy

# Define symbolic parameter
theta = sympy.Symbol('theta')

Details

Repository
github.com/davila7/claude-code-templates
Categories
Research & Academic, Python
First seen
Jun 3, 2026

Questions

What does the cirq skill do?

The cirq skill helps an agent build, simulate, optimize and run quantum circuits with Google's open-source Cirq framework in Python. It covers quantum algorithms, noisy or noiseless simulation, circuit compilation, noise modeling, and experiments such as VQE, QAOA, QPE and randomized benchmarking.

Who is the cirq skill for?

It is for developers and researchers working on quantum algorithms, quantum circuit design, or quantum experiments in Python. It also suits anyone who wants to run circuits on quantum hardware from Google, IonQ, AQT or Pasqal.

How do I install the cirq skill?

Run npx -y skills add davila7/claude-code-templates --skill cirq -y in a project. Once installed, the agent can use Cirq to write circuits, run simulations, and target supported quantum hardware providers.

Where does cirq stand in the Research & Academic category?

The cirq skill is listed in the Research & Academic category on Claude Marketplaces, alongside skills such as research, paper-context-resolver and repo-intake-and-plan. It is set apart by its focus on quantum circuit building, simulation and hardware execution.

More from davila7/claude-code-templates

All 398