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.