diff --git a/dev_tools/costing-report-card.ipynb b/dev_tools/costing-report-card.ipynb index 97a9a988c..73fc9724b 100644 --- a/dev_tools/costing-report-card.ipynb +++ b/dev_tools/costing-report-card.ipynb @@ -179,11 +179,22 @@ "outputs": [], "source": [ "from qualtran.drawing import show_call_graph\n", - "be = get_bloq_example('hubbard_time_evolution_by_gqsp')\n", + "be = get_bloq_example('modexp_small')\n", "bloq = be.make()\n", "show_call_graph(bloq, max_depth=1)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "8b27557c-4806-4041-b9ae-7eb28b908bce", + "metadata": {}, + "outputs": [], + "source": [ + "import logging\n", + "logging.basicConfig(level=logging.INFO)" + ] + }, { "cell_type": "code", "execution_count": null, diff --git a/qualtran/bloqs/factoring/mod_exp.py b/qualtran/bloqs/factoring/mod_exp.py index cabc6e0bd..7e2ab73c9 100644 --- a/qualtran/bloqs/factoring/mod_exp.py +++ b/qualtran/bloqs/factoring/mod_exp.py @@ -145,7 +145,7 @@ def _generalize_k(b: Bloq) -> Optional[Bloq]: @bloq_example(generalizer=(ignore_split_join, _generalize_k)) def _modexp_small() -> ModExp: - modexp_small = ModExp(base=3, mod=15, exp_bitsize=3, x_bitsize=2048) + modexp_small = ModExp(base=4, mod=15, exp_bitsize=3, x_bitsize=2048) return modexp_small