Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cirq Examples

The files in this directory (cirq/examples/) are examples of various quantum programs, algorithms, and demonstrations of using Cirq. This directory is not included in the packaged Cirq releases.

Everyone is free to copy, use, modify, and publish this example code

Summary of examples

Here is a summary of the examples found in this directory:

Tips

To learn more about the examples in this directory, look inside the Python .py files for a docstring comment near the top of the file. (You can ignore the files whose names end in _test.py; those are unit tests for the example files.)

The Experiments page on the Cirq documentation site has more examples, including examples drawn from the ReCirq project.