From 89f8876f623dbd9742b986bb45ef5191a1f5692e Mon Sep 17 00:00:00 2001 From: Nick Rubin Date: Thu, 19 Jul 2018 11:03:23 +1000 Subject: [PATCH] Fixed broken link in tutorial `common_gates.py` seems to be located in `ops` not `circuits`. --- docs/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index d959ec116b3..243d7b2535a 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -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)