Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Fix typos in exercise function docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
william-cutler committed Jan 24, 2023
1 parent 85ba91f commit e16b2cd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions content/ch-labs/Lab01_QuantumCircuits.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -744,8 +744,8 @@
" \"\"\"An XOR gate.\n",
" \n",
" Parameters:\n",
" inpt1 (str): Input 1, encoded in qubit 0.\n",
" inpt2 (str): Input 2, encoded in qubit 1.\n",
" inp1 (str): Input 1, encoded in qubit 0.\n",
" inp2 (str): Input 2, encoded in qubit 1.\n",
" \n",
" Returns:\n",
" QuantumCircuit: Output XOR circuit.\n",
Expand Down Expand Up @@ -822,11 +822,11 @@
" \"\"\"An AND gate.\n",
" \n",
" Parameters:\n",
" inpt1 (str): Input 1, encoded in qubit 0.\n",
" inpt2 (str): Input 2, encoded in qubit 1.\n",
" inp1 (str): Input 1, encoded in qubit 0.\n",
" inp2 (str): Input 2, encoded in qubit 1.\n",
" \n",
" Returns:\n",
" QuantumCircuit: Output XOR circuit.\n",
" QuantumCircuit: Output AND circuit.\n",
" str: Output value measured from qubit 2.\n",
" \"\"\"\n",
" qc = QuantumCircuit(3, 1) \n",
Expand Down Expand Up @@ -895,8 +895,8 @@
" \"\"\"An NAND gate.\n",
" \n",
" Parameters:\n",
" inpt1 (str): Input 1, encoded in qubit 0.\n",
" inpt2 (str): Input 2, encoded in qubit 1.\n",
" inp1 (str): Input 1, encoded in qubit 0.\n",
" inp2 (str): Input 2, encoded in qubit 1.\n",
" \n",
" Returns:\n",
" QuantumCircuit: Output NAND circuit.\n",
Expand Down Expand Up @@ -968,11 +968,11 @@
" \"\"\"An OR gate.\n",
" \n",
" Parameters:\n",
" inpt1 (str): Input 1, encoded in qubit 0.\n",
" inpt2 (str): Input 2, encoded in qubit 1.\n",
" inp1 (str): Input 1, encoded in qubit 0.\n",
" inp2 (str): Input 2, encoded in qubit 1.\n",
" \n",
" Returns:\n",
" QuantumCircuit: Output XOR circuit.\n",
" QuantumCircuit: Output OR circuit.\n",
" str: Output value measured from qubit 2.\n",
" \"\"\"\n",
"\n",
Expand Down

0 comments on commit e16b2cd

Please sign in to comment.