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

Commit

Permalink
fixes_composing_problem_issue #1562
Browse files Browse the repository at this point in the history
  • Loading branch information
divshacker committed Apr 1, 2023
1 parent 272a3f9 commit 13ae2c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/ch-algorithms/deutsch-jozsa.ipynb
Expand Up @@ -3231,7 +3231,7 @@
"dj_circuit.h(n)\n",
"\n",
"# Add oracle\n",
"dj_circuit += balanced_oracle\n",
"dj_circuit &= balanced_oracle\n",
"dj_circuit.draw()"
]
},
Expand Down Expand Up @@ -4182,7 +4182,7 @@
"dj_circuit.h(n)\n",
"\n",
"# Add oracle\n",
"dj_circuit += balanced_oracle\n",
"dj_circuit &= balanced_oracle\n",
"\n",
"# Repeat H-gates\n",
"for qubit in range(n):\n",
Expand Down

0 comments on commit 13ae2c0

Please sign in to comment.