Skip to content

Commit 2909689

Browse files
committed
misc
1 parent 3a4cc97 commit 2909689

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

dev_tools/costing-report-card.ipynb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,22 @@
179179
"outputs": [],
180180
"source": [
181181
"from qualtran.drawing import show_call_graph\n",
182-
"be = get_bloq_example('hubbard_time_evolution_by_gqsp')\n",
182+
"be = get_bloq_example('modexp_small')\n",
183183
"bloq = be.make()\n",
184184
"show_call_graph(bloq, max_depth=1)"
185185
]
186186
},
187+
{
188+
"cell_type": "code",
189+
"execution_count": null,
190+
"id": "8b27557c-4806-4041-b9ae-7eb28b908bce",
191+
"metadata": {},
192+
"outputs": [],
193+
"source": [
194+
"import logging\n",
195+
"logging.basicConfig(level=logging.INFO)"
196+
]
197+
},
187198
{
188199
"cell_type": "code",
189200
"execution_count": null,

qualtran/bloqs/factoring/mod_exp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _generalize_k(b: Bloq) -> Optional[Bloq]:
145145

146146
@bloq_example(generalizer=(ignore_split_join, _generalize_k))
147147
def _modexp_small() -> ModExp:
148-
modexp_small = ModExp(base=3, mod=15, exp_bitsize=3, x_bitsize=2048)
148+
modexp_small = ModExp(base=4, mod=15, exp_bitsize=3, x_bitsize=2048)
149149
return modexp_small
150150

151151

0 commit comments

Comments
 (0)