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.