Cirq is a Python software library for writing, manipulating, and optimizing quantum circuits, and then running them on quantum computers and quantum simulators. Cirq provides useful abstractions for dealing with today’s noisy intermediate-scale quantum computers, where details of the hardware are vital to achieving state-of-the-art results.
Tutorials and examples
Cirq comes with a collection of example implementations of beginner, intermediate, and advanced quantum algorithms that demonstrate the main features of the library.
- Introduction to Cirq
- Textbook algorithms in Cirq
- Quantum simulation of electronic structure
- Quantum approximate optimization algorithm for the Ising model
- Neutral atom device class
- Ion Device Class
Research Experiments using Cirq
In addition to software for building and testing circuits (Cirq), we have a library of research experiments using Cirq — ReCirq!
This repository contains code for our flagship experiments, enabling you to reproduce and extend cutting edge quantum computing research.
- Quantum Chess
- Hartree-Fock on a superconducting qubit quantum processor
- Simulation of spin and charge dynamics in the Fermi-Hubbard model