cirq

Design and execute quantum circuits with simulation and hardware integration.

Updated May 24, 2026
One-click install
npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill cirq-estrella-231
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cirq
Source: https://github.com/Estrella-231/Mathematical_modeling_tongmeng/tree/main/.agents/skills/cirq
Command: npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill cirq-estrella-231

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Cirq helps you build, simulate, and run quantum circuits without manually handling low-level quantum hardware details.

Core Features & Use Cases

  • Quantum circuit design: Create circuits from gates, measurements, and parameterized operations for experiments and algorithms.
  • Simulation at multiple fidelity levels: Use exact state-vector simulation for pure states, density-matrix simulation for noise, and support parameter sweeps.
  • Hardware execution and integration: Compile and run circuits on real providers (Google Quantum AI, IonQ, Azure Quantum, AQT, Pasqal) and incorporate device-aware constraints and noise.

Use case: You want to test a variational quantum optimization workflow by generating parameterized circuits, sweeping parameters, and comparing results under different noise models before attempting a hardware run.

Quick Start

Install Cirq and run a small circuit by asking the AI to generate a Python snippet that creates a 2-qubit H + CNOT circuit, simulates it, and prints the measurement histogram.

Frequently Asked Questions about cirq

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

FAQPage Schema
How do I simulate quantum circuits with noise modeling in Python?

Simulate quantum circuits with noise modeling in Python by constructing parameterized operations and applying density-matrix simulation to evaluate how different noise models affect your circuit results.

Can I run variational parameter sweeps on quantum circuits?

Yes, you can run variational parameter sweeps by generating parameterized circuits, sweeping across variable values, and comparing the simulation results under different configurations before executing on actual quantum hardware.

Does Cirq support hardware execution on specific quantum backends?

Cirq supports hardware execution by compiling and running circuits on real providers including Google Quantum AI, IonQ, Azure Quantum, AQT, and Pasqal, while incorporating device-aware constraints and connectivity limitations.

What is the best way to design quantum circuits for algorithm prototyping?

The best way to design quantum circuits for algorithm prototyping is using Python to build circuits from gates, measurements, and parameterized operations, enabling deterministic circuit generation and exact state-vector simulation.

How do I compile quantum circuits for specific device connectivity constraints?

Compile quantum circuits for specific device connectivity constraints by applying device-aware compilation workflows that translate abstract operations into provider-specific instructions before targeting supported quantum hardware.