cirq

Automate quantum circuit simulation, design, optimization, and execution with Cirq.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/robotlearning123/claude-scientific-skills --skill cirq-robotlearning123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cirq
Source: https://github.com/robotlearning123/claude-scientific-skills/tree/main/scientific-skills/cirq
Command: npx skills add https://github.com/robotlearning123/claude-scientific-skills --skill cirq-robotlearning123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cirq, cirq-google, cirq-ionq, azure-quantum, cirq-aqt, cirq-pasqal, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of designing, simulating, and executing quantum circuits on quantum computers and simulators, making quantum computing accessible for users with varying levels of expertise.

Core Features & Use Cases

  • Quantum Circuit Design & Simulation: Build and simulate quantum circuits with various qubit topologies and gate sets.
  • Hardware Integration: Run circuits on real quantum hardware from multiple providers (Google, IonQ, AQT, Pasqal, Azure Quantum).
  • Circuit Optimization & Transformation: Optimize circuits for hardware and apply various transformations for optimization and manipulation.
  • Noise Modeling & Error Mitigation: Model and mitigate noise effects for more accurate simulations and real-world results.
  • Use Case: Design and test a quantum algorithm, simulate it, and then run it on a quantum computer to obtain results.

Quick Start

To get started, execute the following command: cirq install cirq to install the cirq framework and other optional dependencies.

Frequently Asked Questions about cirq

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

FAQPage Schema
How do I simulate and execute quantum circuits on real quantum hardware?

To simulate and execute quantum circuits on real quantum hardware, you can use the Cirq framework to design circuits, simulate them locally, and then deploy them to providers like Google, IonQ, AQT, Pasqal, or Azure Quantum. This Skill automates that entire workflow, from algorithm testing to hardware execution.

What's the best way to model noise and apply error mitigation to a quantum circuit?

The best way to model noise and apply error mitigation to a quantum circuit is using the Cirq framework, which provides built-in tools to simulate noise effects and apply mitigation techniques. This ensures more accurate simulations that better reflect real-world quantum hardware results.

Does Cirq work with Azure Quantum and IonQ services for quantum execution?

Yes, Cirq works directly with Azure Quantum and IonQ services for quantum execution. This Skill integrates with cirq-ionq and azure-quantum dependencies, allowing you to run your simulated quantum circuits on these external hardware backends seamlessly.

How do I optimize quantum circuit designs for specific hardware topologies?

You can optimize quantum circuit designs for specific hardware topologies using the Cirq framework's circuit transformation features. This Skill facilitates applying various transformations to manipulate and optimize your circuits, ensuring they map efficiently to the qubit topologies of your target quantum hardware.

Do I need to install specific provider packages to run quantum algorithms on different hardware?

Yes, you need to install specific provider packages to run quantum algorithms on different hardware. Executing circuits on various backends requires dependencies like cirq-google, cirq-ionq, cirq-aqt, cirq-pasqal, and azure-quantum, which enable the hardware interfacing for your quantum algorithms.

What is quantum circuit simulation and when do I need it for algorithm development?

Quantum circuit simulation is the process of running quantum algorithms on classical computers to test logic and model noise before using real hardware. You need it during algorithm development to verify behavior, optimize gate sets, and apply error correction techniques without incurring quantum hardware costs.