Skip to content

Commit

Permalink
Update zzphase rewrite description
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Jun 28, 2024
1 parent 0b22aa7 commit 30f61db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tket2-py/examples/2-Rewriting-Circuits.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"\n",
"In the following example, we will define a couple simplification rules and apply them to a circuit. The rules are:\n",
"\n",
"1. A sequence of `CNOT` - `Rz` - `CNOT` gates can be replaced by a single `ZZPhase`\n",
"2. A `ZZPhase(0.5)` gate can be replaced with a single `CX` followed by a `Rz(0.5)` gate\n",
"1. A sequence of `CX` - `Rz` - `CX` gates can be replaced by a single `ZZPhase`\n",
"2. A `ZZPhase(0.5)` gate can be replaced with a single `CX` and some single-qubit gates\n",
"\n",
"Let's define these rules first."
]
Expand Down

0 comments on commit 30f61db

Please sign in to comment.