Skip to content

Commit

Permalink
Merge df8073a into d4ef5b0
Browse files Browse the repository at this point in the history
  • Loading branch information
psschwei committed May 2, 2023
2 parents d4ef5b0 + df8073a commit bdeb9d7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,13 @@
"from typing import Sequence\n",
"from qiskit.algorithms.optimizers import Optimizer\n",
"from qiskit.result import Result\n",
"from quantum_serverless import run_qiskit_remote\n",
"from quantum_serverless import distribute_task\n",
"from circuit_knitting_toolbox.entanglement_forging import (\n",
" EntanglementForgingGroundStateSolver,\n",
")\n",
"\n",
"\n",
"@run_qiskit_remote()\n",
"@distribute_task()\n",
"def solve_remote(\n",
" problem: ElectronicStructureProblem,\n",
" ansatz: EntanglementForgingAnsatz,\n",
Expand Down Expand Up @@ -324,7 +324,7 @@
"# The Options class is not serializable, so we must convert it to a dictionary before passing to remote function\n",
"options_dicts = [asdict(o) for o in options]\n",
"\n",
"with serverless:\n",
"with serverless.context():\n",
" forging_result_future = solve_remote(\n",
" problem,\n",
" ansatz,\n",
Expand Down Expand Up @@ -433,7 +433,7 @@
{
"data": {
"text/html": [
"<h3>Version Information</h3><table><tr><th>Qiskit Software</th><th>Version</th></tr><tr><td><code>qiskit-terra</code></td><td>0.23.3</td></tr><tr><td><code>qiskit-aer</code></td><td>0.12.0</td></tr><tr><td><code>qiskit-ibmq-provider</code></td><td>0.20.2</td></tr><tr><td><code>qiskit-nature</code></td><td>0.6.0</td></tr><tr><th>System information</th></tr><tr><td>Python version</td><td>3.8.16</td></tr><tr><td>Python compiler</td><td>Clang 14.0.6 </td></tr><tr><td>Python build</td><td>default, Mar 1 2023 21:19:10</td></tr><tr><td>OS</td><td>Darwin</td></tr><tr><td>CPUs</td><td>8</td></tr><tr><td>Memory (Gb)</td><td>32.0</td></tr><tr><td colspan='2'>Sun Apr 09 14:14:07 2023 CDT</td></tr></table>"
"<h3>Version Information</h3><table><tr><th>Qiskit Software</th><th>Version</th></tr><tr><td><code>qiskit-terra</code></td><td>0.23.3</td></tr><tr><td><code>qiskit-aer</code></td><td>0.12.0</td></tr><tr><td><code>qiskit-ibmq-provider</code></td><td>0.20.2</td></tr><tr><td><code>qiskit-nature</code></td><td>0.5.2</td></tr><tr><th>System information</th></tr><tr><td>Python version</td><td>3.9.16</td></tr><tr><td>Python compiler</td><td>GCC 12.2.1 20221121 (Red Hat 12.2.1-4)</td></tr><tr><td>Python build</td><td>main, Dec 7 2022 00:00:00</td></tr><tr><td>OS</td><td>Linux</td></tr><tr><td>CPUs</td><td>6</td></tr><tr><td>Memory (Gb)</td><td>30.821285247802734</td></tr><tr><td colspan='2'>Tue May 02 09:04:57 2023 EDT</td></tr></table>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
Expand Down

0 comments on commit bdeb9d7

Please sign in to comment.