Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit cca1367

Browse files
committed
add documentation for cirq
1 parent db26e87 commit cca1367

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.idea
22
.vscode
33
.ipynb_checkpoints
4+
5+
Pipfile.lock

google/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Quantum Circuits using Cirq
2+
3+
## Installation
4+
5+
* Make sure you have python 3.5 or greater.
6+
7+
* Use pip to install cirq:
8+
9+
```bash
10+
pip install cirq
11+
```
12+
13+
* Check that it works!
14+
15+
```bash
16+
$ python -c "import cirq; print(cirq.google.Foxtail)"
17+
(0, 0)───(0, 1)───(0, 2)───(0, 3)───(0, 4)───(0, 5)───(0, 6)───(0, 7)───(0, 8)───(0, 9)───(0, 10)
18+
│ │ │ │ │ │ │ │ │ │ │
19+
│ │ │ │ │ │ │ │ │ │ │
20+
(1, 0)───(1, 1)───(1, 2)───(1, 3)───(1, 4)───(1, 5)───(1, 6)───(1, 7)───(1, 8)───(1, 9)───(1, 10)
21+
```
22+
23+
## Execute
24+
25+
Open the relevant notebook and execute the cells sequentially.

0 commit comments

Comments
 (0)