From 6c439edf54922d483330125102dd9931e1748336 Mon Sep 17 00:00:00 2001 From: Nicholas Rubin Date: Thu, 19 Jul 2018 11:13:34 +1000 Subject: [PATCH] Fixed broken link in tutorial (#719) `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)