Skip to content

Commit

Permalink
Fixed broken link in tutorial (#719)
Browse files Browse the repository at this point in the history
`common_gates.py` seems to be located in `ops` not `circuits`.
  • Loading branch information
ncrubin authored and babbush committed Jul 19, 2018
1 parent 24772f4 commit 6c439ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ print(circuit)
```
One thing to notice here. First `cirq.X` is a `Gate` object. There
are many different gates supported by Cirq. A good place to look
at gates that are defined is in [common_gates.py](/cirq/circuits/common_gates.py).
at gates that are defined is in [common_gates.py](/cirq/ops/common_gates.py).
One common confusion to avoid is the difference between a gate class
and a gate object (which is an instantiation of a class). The second is that gate
objects are transformed into `Operation`s (technically `GateOperation`s)
Expand Down

0 comments on commit 6c439ed

Please sign in to comment.