Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in notebooks.md and a plenty of relative links #6089

Merged
merged 10 commits into from
May 16, 2023
Next Next commit
Fix few typos in dev/notebooks.md
  • Loading branch information
pavoljuhas committed May 5, 2023
commit b7d5deb2746598f0f2540e67ba82c206c7cfa73b
6 changes: 3 additions & 3 deletions docs/dev/notebooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ See the [`dev_tools/notebooks`](https://github.com/quantumlib/Cirq/tree/master/d
In order to speed up the execution of these tests an auxiliary file may be supplied which performs substitutions on the notebook to make it faster (for example it is often useful
to reduce the number of repetitions in sampling from a simulator).

Tod do this, for a notebook file notebook.ipynb, one can supply a file notebook.tst which contains the substitutes.
The substitutions are provide in the form `pattern->replacement` where the pattern is what is matched and will be replaced.
While the pattern is compiled, it is considered best practice to not sure complicated regular expressions.
To do this, for a notebook file notebook.ipynb, one can supply a file notebook.tst which contains the substitutes.
The substitutions are provided in the form `pattern->replacement` where the pattern is what is matched and will be replaced.
While the pattern is compiled, it is considered best practice to not use complicated regular expressions.
Lines in this file that do not have `->` are ignored. Note that because the pattern is
compiled, it may be necessary to escape the pattern, however it is best to try to avoid
such complicated expressions.
Expand Down