What problem does it solve?
Cirq helps you build correct quantum circuits and validate their behavior through simulation and hardware-compatible compilation so you can move from algorithm design to real quantum experiments with less guesswork.
Core Features & Use Cases
- Circuit construction and parameterization: Create circuits with common qubits, gates, custom operations, and symbolic parameters for sweeps and optimization.
- Simulation workflows: Run state-vector and density-matrix simulations, perform parameter sweeps, and inspect results via histograms and expectation values.
- Hardware and noise readiness: Compile and transform circuits for target gatesets and device constraints, then model noise (including decoherence and readout) for realistic benchmarking and error mitigation.
- Core use cases: Implement and test VQE, QAOA, and QPE workflows; study noise impact; and execute experiments on providers like Google, IonQ, Azure Quantum, AQT, and Pasqal.
Quick Start
Ask Cirq to build and simulate a simple 2-qubit circuit in Python, returning measurement outcomes as a histogram.