cirq

Design and simulate quantum circuits with Cirq for Google Quantum AI workflows.

321|26|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/mkurman/tamux --skill cirq-mkurman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cirq
Source: https://github.com/mkurman/tamux/tree/main/skills/scientific-skills/cirq
Command: npx skills add https://github.com/mkurman/tamux --skill cirq-mkurman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Cirq provides a Python framework to design, simulate, and run quantum circuits on Google Quantum AI hardware and simulators, enabling researchers to prototype quantum algorithms efficiently.

Core Features & Use Cases

  • Circuit construction: build and manipulate quantum circuits with qubits, gates, and measurements.
  • Simulation: perform exact and noisy simulations, inspect state vectors and density matrices, and run parameter sweeps.
  • Hardware integration: target Google devices via Cirq interfaces and explore hardware-backed workflows; apply noise models and readout to circuits.
  • Transformation and optimization: apply circuit transformers to reduce depth and tailor gatesets for hardware constraints.

Quick Start

Define two qubits, create a simple circuit with a Hadamard gate on one qubit and a CNOT to entangle them, and run it on a local Cirq simulator.

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 in Python?

Build quantum circuits programmatically by defining qubits, applying gates like Hadamard and CNOT, and running simulations to inspect state vectors, density matrices, and measurement results. This Python framework supports exact and noisy simulations alongside parameter sweeps for quantum algorithm prototyping.

What is quantum circuit noise modeling and when do I need it?

Quantum noise modeling applies realistic error simulation to circuits by injecting quantum channel operations and readout errors. It is needed when prototyping algorithms for physical quantum hardware, allowing researchers to evaluate algorithm resilience against decoherence and gate imperfections before execution.

Can I run Python quantum circuits on Google Quantum AI hardware?

Target Google Quantum AI hardware by routing constructed Python circuits through dedicated hardware interfaces. This integration enables hardware-backed workflow execution, applying specific device constraints, readout calibrations, and noise models directly to the submitted quantum circuits.

How do I optimize quantum circuit depth for hardware constraints?

Optimize quantum circuit depth for hardware constraints by applying circuit transformers that reduce gate count and tailor the gateset. This transformation process minimizes execution time and error accumulation, ensuring the circuit conforms to the specific topology and supported operations of the target quantum device.

Does this quantum simulation framework support density matrix calculations?

The framework supports density matrix calculations alongside state-vector simulations. Users can perform exact and noisy simulations, inspecting density matrices to analyze mixed quantum states, calculate expectation values, and evaluate the impact of noise models on circuit fidelity.