Skip to content

Commit

Permalink
Fix imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
fdmalone committed Oct 11, 2023
1 parent a7e41d1 commit 1d967cf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions qualtran/bloqs/chemistry/trotter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,8 @@
"import cirq\n",
"import cirq_ft\n",
"\n",
"from qualtran.resource_counting import get_bloq_counts_graph, GraphvizCounts, SympySymbolAllocator\n",
"from qualtran.resource_counting import get_bloq_counts_graph, SympySymbolAllocator\n",
"from qualtran.drawing import GraphvizCounts\n",
"from qualtran.bloqs.util_bloqs import Split, Join, Allocate, Free\n",
"from qualtran.bloqs.basic_gates.rotation import RotationBloq\n",
"from qualtran.cirq_interop import CirqGateAsBloq\n",
Expand Down Expand Up @@ -652,7 +653,8 @@
"metadata": {},
"outputs": [],
"source": [
"from qualtran.resource_counting import get_bloq_counts_graph, GraphvizCounts\n",
"from qualtran.resource_counting import get_bloq_counts_graph\n",
"from qualtran.drawing import GraphvizCounts\n",
"from qualtran.bloqs.chemistry.trotter import KineticEnergy \n",
"ke = KineticEnergy(4, 21)\n",
"graph, sigma = get_bloq_counts_graph(ke, generalizer=generalize)\n",
Expand All @@ -665,7 +667,8 @@
"metadata": {},
"outputs": [],
"source": [
"from qualtran.resource_counting import get_bloq_counts_graph, GraphvizCounts\n",
"from qualtran.resource_counting import get_bloq_counts_graph\n",
"from qualtran.drawing import GraphvizCounts\n",
"from qualtran.bloqs.chemistry.trotter import PotentialEnergy \n",
"pe = PotentialEnergy(4, 21)\n",
"graph, sigma = get_bloq_counts_graph(pe, generalizer=generalize)\n",
Expand Down

0 comments on commit 1d967cf

Please sign in to comment.