Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/gates.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@
"\n",
"**cirq.X / cirq.Y / cirq.Z** The [Pauli gates](https://en.wikipedia.org/wiki/Quantum_logic_gate#Pauli-X_gate) X, Y, and Z which rotate the state around the associated axis by one half-turn.\n",
"\n",
"**cirq.rx(rads)** A rotation about the Pauli 'X' axis in terms of radians. This is equivalent to `exp(-i X rads / 2) = cos(rads/2) I + i sin(rads/2) X`\n",
"**cirq.rx(rads)** A rotation about the Pauli 'X' axis in terms of radians. This is equivalent to `exp(-i X rads / 2) = cos(rads/2) I - i sin(rads/2) X`\n",
"\n",
"**cirq.ry(rads)** A rotation about the Pauli 'Y' axis in terms of radians. This is equivalent to `exp(-i Y rads / 2) = cos(rads/2) I + i sin(rads/2) Y`\n",
"**cirq.ry(rads)** A rotation about the Pauli 'Y' axis in terms of radians. This is equivalent to `exp(-i Y rads / 2) = cos(rads/2) I - i sin(rads/2) Y`\n",
"\n",
"**cirq.rz(rads)** A rotation about the Pauli 'Z' axis in terms of radians. This is equivalent to `exp(-i Z rads / 2) = cos(rads/2) I + i sin(rads/2) Z`\n",
"**cirq.rz(rads)** A rotation about the Pauli 'Z' axis in terms of radians. This is equivalent to `exp(-i Z rads / 2) = cos(rads/2) I - i sin(rads/2) Z`\n",
"\n",
"**cirq.XPowGate(exponent=t)** Rotations about the Pauli ``X`` axis, equivalent to ``cirq.X**t``. See [XPowGate](https://cirq.readthedocs.io/en/latest/generated/cirq.XPowGate.html) for its unitary matrix. Note that this has a global phase of e^{i·π·t/2} versus the traditionally defined rotation matrix, which can be modified by the optional parameter `global_shift`.\n",
"\n",
Expand Down