cirq

Build and evaluate Cirq quantum circuits for simulation or hardware runs.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gabrielvuksani/wotann --skill cirq-gabrielvuksani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cirq
Source: https://github.com/gabrielvuksani/wotann/tree/main/skills/scientific/cirq
Command: npx skills add https://github.com/gabrielvuksani/wotann --skill cirq-gabrielvuksani

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 wiring low-level quantum operations, enabling reliable experimentation with both ideal and noisy behavior.

Core Features & Use Cases

  • Circuit building & patterns: Compose qubits, gates, parameterized operations, measurements, and common circuit structures for rapid prototyping.
  • Simulation at multiple fidelities: Run exact state-vector simulations, density-matrix noisy simulations, parameter sweeps, and expectation value calculations.
  • Transformation & hardware targeting: Optimize/compile circuits, transform them for target gate sets, and integrate with multiple hardware providers for experiments and noise-aware runs.
  • Use Case: You want to evaluate a parameterized ansatz (e.g., for VQE) across many settings and then compare ideal results versus noise-included outcomes to understand sensitivity.

Quick Start

Use the cirq skill to simulate the sample Bell-state circuit and print the measurement histogram from 1,000 repetitions.

Frequently Asked Questions about cirq

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

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

Simulate quantum circuits with noise modeling in Python using density-matrix simulations via DensityMatrixSimulator, which evaluates noisy behavior alongside ideal state-vector results for reliable experimentation.

How do I run parameter sweeps on a quantum circuit?

Run parameter sweeps on quantum circuits using the run_sweep routine to evaluate parameterized operations and expectation value calculations across many settings, ideal for ansatz design and sensitivity analysis.

Can I execute quantum circuits on real hardware providers?

Yes, execute quantum circuits on real hardware by installing provider add-ons like cirq-google or cirq-ionq, which integrate circuit compilation and hardware-aware transformations for physical quantum experiments.

What's the best way to design a parameterized ansatz for VQE experiments?

Design a parameterized ansatz for VQE by composing qubits, gates, and parameterized operations into circuit structures, then run sweeps to compare ideal versus noise-included outcomes for sensitivity evaluation.

Do I need to install Cirq separately to build and evaluate quantum circuits?

Yes, Cirq requires separate installation along with any desired provider add-ons, enabling Cirq-compatible circuit construction and simulation routines like Simulator and DensityMatrixSimulator.

How does hardware-aware circuit transformation work for quantum experiments?

Hardware-aware transformation optimizes and compiles circuits for target gate sets, converting gate and qubit specifications into executable simulations or hardware runs tailored to specific provider architectures.