Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
matanvax2 committed Dec 26, 2024
1 parent a0fa141 commit ba2ea3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions algorithms/algebraic/shor/shor_modular_exponentiation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
" allocate(1, aux)\n",
"\n",
" # set initial values for the addition\n",
" inplace_prepare_int(b_initial_value, b)\n",
" b ^= b_initial_value\n",
" X(ctrl[0])\n",
" X(ctrl[1])\n",
"\n",
Expand Down Expand Up @@ -553,7 +553,7 @@
" allocate(1, aux)\n",
"\n",
" hadamard_transform(power)\n",
" inplace_prepare_int(1, x)\n",
" x ^= 1\n",
"\n",
" mod_exp_func(\n",
" modulo_num,\n",
Expand Down Expand Up @@ -663,4 +663,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}

0 comments on commit ba2ea3d

Please sign in to comment.