Skip to content

Commit

Permalink
Merge branch 'main' into mcmt_cirq
Browse files Browse the repository at this point in the history
  • Loading branch information
fdmalone authored Oct 16, 2023
2 parents 9b2fcec + add27c3 commit f2bd2d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qualtran/bloqs/unary_iteration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,8 @@
"metadata": {},
"outputs": [],
"source": [
"from cirq_ft import Register, SelectionRegister, UnaryIterationGate\n",
"from qualtran import Register, SelectionRegister\n",
"from qualtran.bloqs.unary_iteration_bloq import UnaryIterationGate\n",
"from cirq._compat import cached_property\n",
"\n",
"class ApplyXToLthQubit(UnaryIterationGate):\n",
Expand Down Expand Up @@ -505,7 +506,7 @@
"metadata": {},
"outputs": [],
"source": [
"import cirq_ft.infra.testing as cq_testing\n",
"import qualtran.cirq_interop.testing as cq_testing\n",
"selection_bitsize = 3\n",
"target_bitsize = 5\n",
"\n",
Expand All @@ -531,7 +532,7 @@
"metadata": {},
"outputs": [],
"source": [
"from cirq_ft.infra.bit_tools import iter_bits\n",
"from qualtran.cirq_interop.bit_tools import iter_bits\n",
"\n",
"for n in range(target_bitsize):\n",
" # Initial qubit values\n",
Expand Down

0 comments on commit f2bd2d8

Please sign in to comment.