Skip to content

Commit

Permalink
Document units expected by QasmUGate (#5945)
Browse files Browse the repository at this point in the history
#Closes #5928.
  • Loading branch information
viathor committed Nov 9, 2022
1 parent 7d3bf5e commit 7675247
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/build/interop.ipynb
Expand Up @@ -290,11 +290,11 @@
"\n",
"| QE gates| Cirq translation| Notes|\n",
"| --------| --------| --------|\n",
"|`U(θ,φ,λ)` |`QasmUGate(θ,φ,λ)`|| \n",
"|`U(θ,φ,λ)` |`QasmUGate(θ/π,φ/π,λ/π)`|cirq gate takes angles in half turns| \n",
"|`CX` |`cirq.CX`|| \n",
"|`u3(θ,φ,λ)`|`QasmUGate(θ,φ,λ)`||\n",
"|`u2(φ,λ) = u3(π/2,φ,λ)`|`QasmUGate(π/2,φ)`|| \n",
"|`u1 (λ) = u3(0,0,λ)`| NOT supported || \n",
"|`u3(θ,φ,λ)`|`QasmUGate(θ/π,φ/π,λ/π)`|cirq gate takes angles in half turns|\n",
"|`u2(φ,λ) = u3(π/2,φ,λ)`|`QasmUGate(1/2,φ/π,λ/π)`|cirq gate takes angles in half turns| \n",
"|`u1(λ) = u3(0,0,λ)`| NOT supported || \n",
"|`id`|`cirq.Identity`| one single-qubit Identity gate is created for each qubit if applied on a register| \n",
"|`u0(γ)`| NOT supported| this is the \"WAIT gate\" for length γ in QE| \n",
"|`x`|`cirq.X`|| \n",
Expand Down

0 comments on commit 7675247

Please sign in to comment.