Google's framework for building and running quantum circuits, whether you're simulating locally or deploying to actual quantum hardware from Google, IonQ, AQT, or Pasqal. You get the full stack: circuit construction with parameterized gates, exact and noisy simulation, optimization passes, and noise modeling with channels like depolarizing and amplitude damping. The skill covers practical patterns like variational algorithms (VQE, QAOA), parameter sweeps, and the ReCirq experiment framework. Honestly, if you're doing quantum work in Python, this is the main alternative to Qiskit, and it's especially natural if you're targeting Google's processors or need tight integration with their tooling.

skills.sh installs
214
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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')

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Design & UI/UX
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1davila7 avataresmdavila7/claude-code-templatesComprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (effi214skills.sh installs
2davila7 avatargenimldavila7/claude-code-templatesThis skill should be used when working with genomic interval data (BED files) for machine learning tasks. Use for training region embeddings (Region2Vec, BEDspa214skills.sh installs
3manojbajaj95 avatarreferral-programmanojbajaj95/claude-gtm-pluginWhen the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,214skills.sh installs
4charleswiltgen avataraxiom-ios-uicharleswiltgen/axiomUse when building, fixing, or improving ANY iOS UI including SwiftUI, UIKit, layout, navigation, animations, design guidelines. Covers view updates, layout bugs213skills.sh installs
5letta-ai avatarletta-development-guideletta-ai/skillsComprehensive guide for developing Letta agents, including architecture selection, memory design, model selection, and tool configuration. Use when building or 213skills.sh installs
6thehotwireclub avatarhwc-media-contentthehotwireclub/hotwire_club-skillsHandle media-heavy Hotwire features: image/video/audio uploads, previews, playback controls, progress tracking, and third-party media integrations (for example 213skills.sh installs