cirq

Design, simulate, and execute quantum circuits with Google's Cirq framework.

13|3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/tassiovale/claude-code-kit --skill cirq-tassiovale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cirq
Source: https://github.com/tassiovale/claude-code-kit/tree/main/skills/cirq
Command: npx skills add https://github.com/tassiovale/claude-code-kit --skill cirq-tassiovale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cirq, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables the design, simulation, and execution of quantum circuits, allowing users to work with Google Quantum AI hardware, model noise, and conduct quantum experiments.

Core Features & Use Cases

  • Quantum Circuit Design: Build and simulate quantum circuits using Python and Cirq's comprehensive library of gates and operations.
  • Hardware Integration: Run circuits on Google Quantum AI processors and partner backends like IonQ, Azure Quantum, AQT, and Pasqal.
  • Noise Modeling: Model and simulate noise effects on quantum circuits for accurate hardware integration and error mitigation.
  • Use Case: For instance, a user could design a quantum circuit for a parameter sweep, simulate it using Cirq's simulator, and then run it on actual quantum hardware to gather results for analysis.

Quick Start

To create a simple quantum circuit, execute the following command in your Python environment: import cirq; q0, q1 = cirq.LineQubit.range(2); circuit = cirq.Circuit(cirq.H(q0), cirq.CNOT(q0, q1), cirq.measure(q0, q1)); simulator = cirq.Simulator(); result = simulator.run(circuit, repetitions=1000); print(result.histogram(key='result')).

Frequently Asked Questions about cirq

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design and simulate quantum circuits using Python?

Design and simulate quantum circuits using Python by importing the Cirq library, defining LineQubits, applying gates like H and CNOT into a Circuit object, and running it with the Simulator to get measurement histograms.

Can I run quantum circuits on actual quantum hardware platforms like IonQ or Azure Quantum?

Yes, you can run quantum circuits on actual quantum hardware platforms. Cirq supports execution on Google Quantum AI processors and partner backends including IonQ, Azure Quantum, AQT, and Pasqal.

How does noise modeling work for quantum circuit simulation?

Noise modeling simulates quantum circuit effects to mirror actual quantum hardware behavior. This allows accurate hardware integration, error mitigation, and realistic quantum experiment results during the simulation phase.

Do I need to install the Cirq library to execute quantum circuits?

Yes, you need to install the Cirq library in your Python environment. It provides the comprehensive library of gates and operations required to build, simulate, and execute quantum circuits.

What is the best way to perform a parameter sweep on a quantum circuit?

The best way to perform a parameter sweep is to design the quantum circuit in Cirq, simulate it using the built-in simulator to validate parameters, and then execute it on quantum hardware to gather results for analysis.

What distinguishes Cirq from other quantum computing frameworks for hardware integration?

Cirq distinguishes itself through direct integration with Google Quantum AI hardware and partner backends like IonQ and Pasqal, combined with advanced noise modeling capabilities for accurate quantum simulation and error mitigation.