Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions docs/guides/kipu-optimization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -497,12 +497,10 @@
"The paths for the benchmark instances are:\n",
"\n",
"**Maxcut:**\n",
"- `'maxcut/maxcut_28_nodes.json'`\n",
"- `'maxcut/maxcut_30_nodes.json'`\n",
"- `'maxcut/maxcut_32_nodes.json'`\n",
"- `'maxcut/maxcut_80_nodes.json'`\n",
"- `'maxcut/maxcut_100_nodes.json'`\n",
"- `'maxcut/maxcut_120_nodes.json'`\n",
"- `'maxcut/maxcut_regular_3_100_nodes_weighted.json'`\n",
"- `'maxcut/maxcut_regular_3_140_nodes_weighted.json'`\n",
"- `'maxcut/maxcut_regular_3_150_nodes_weighted.json'`\n",
"- `'maxcut/maxcut_regular_4_130_nodes_weighted.json'`\n",
"\n",
"**HUBO:**\n",
"- `'HUBO/hubo1_marrakesh.json'`\n",
Expand All @@ -516,7 +514,7 @@
"id": "adbed9be",
"metadata": {},
"source": [
"The following example runs the Maxcut instance with 32 nodes."
"The following example runs the Maxcut instance with 150 nodes."
]
},
{
Expand All @@ -532,7 +530,7 @@
"import ast\n",
"\n",
"repo = \"Kipu-Quantum-GmbH/benchmark-instances\"\n",
"path = \"maxcut/maxcut_32_nodes.json\"\n",
"path = \"maxcut/maxcut_regular_3_150_nodes_weighted.json\"\n",
"gh = Github()\n",
"repo = gh.get_repo(repo)\n",
"branch = \"main\"\n",
Expand All @@ -558,7 +556,7 @@
"arguments = {\n",
" \"problem\": objective_func,\n",
" \"problem_type\": \"spin\",\n",
" \"backend_name\": \"ibm_brisbane\",\n",
" \"backend_name\": \"<BACKEND-NAME>\",\n",
" \"options\": options,\n",
"}\n",
"\n",
Expand Down
36 changes: 3 additions & 33 deletions docs/guides/q-ctrl-optimization-solver.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,39 +100,9 @@
"- Graph representation of a specific problem type. The graph should be created using the networkx library in Python. It should then converted to a string by using the networkx function `[nx.readwrite.json_graph.adjacency_data](http://nx.readwrite.json_graph.adjacency_data.)`.\n",
"- Spin chain representation of a specific problem. The spin chain should be represented as a `SparsePauliOp` object; see the [documentation](/docs/api/qiskit/qiskit.quantum_info.SparsePauliOp) for more details.\n",
"\n",
"### Supported backends\n",
"\n",
"Run the following code to see the list of backends that are currently supported. If your device is not listed, [reach out to Q-CTRL](https://form.typeform.com/to/iuujEAEI?typeform-source=q-ctrl.com) to add support."
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "36d78eb4",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<IBMBackend('ibm_boston')>,\n",
" <IBMBackend('ibm_pittsburgh')>,\n",
" <IBMBackend('ibm_fez')>,\n",
" <IBMBackend('ibm_marrakesh')>,\n",
" <IBMBackend('ibm_kingston')>,\n",
" <IBMBackend('ibm_miami')>]"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"from qiskit_ibm_runtime import QiskitRuntimeService\n",
"\n",
"service = QiskitRuntimeService()\n",
"\n",
"service.backends()"
"<Admonition type=\"note\" title=\"Does this function support all IBM backends?\">\n",
"If you want to use a backend that this function does not currently support, [reach out to Q-CTRL](https://form.typeform.com/to/iuujEAEI?typeform-source=q-ctrl.com) to add support.\n",
"</Admonition>"
]
},
{
Expand Down
38 changes: 3 additions & 35 deletions docs/guides/q-ctrl-performance-management.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -158,41 +158,9 @@
"id": "d4657810",
"metadata": {},
"source": [
"**Backends you can access:**\n",
"Run the following code to see the list of backends that you have access to. If your device is not listed, [reach out to Q-CTRL](https://form.typeform.com/to/iuujEAEI?typeform-source=q-ctrl.com) to add support."
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "11c190a1",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[<IBMBackend('ibm_boston')>,\n",
" <IBMBackend('ibm_pittsburgh')>,\n",
" <IBMBackend('ibm_fez')>,\n",
" <IBMBackend('ibm_kingston')>,\n",
" <IBMBackend('ibm_miami')>,\n",
" <IBMBackend('ibm_marrakesh')>,\n",
" <IBMBackend('ibm_torino')>]"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# The output list of backends is an example for the purpose\n",
"# of this guide only, and might not match the list you see\n",
"# when you run the following code.\n",
"from qiskit_ibm_runtime import QiskitRuntimeService\n",
"\n",
"service = QiskitRuntimeService()\n",
"service.backends()"
"<Admonition type=\"note\" title=\"Does this function support all IBM backends?\">\n",
"If you want to use a backend that this function does not currently support, [reach out to Q-CTRL](https://form.typeform.com/to/iuujEAEI?typeform-source=q-ctrl.com) to add support.\n",
"</Admonition>"
]
},
{
Expand Down
Loading