Skip to content

Commit

Permalink
deploy: cf6c61b
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed Sep 10, 2024
1 parent 893f5fa commit 8bf5302
Show file tree
Hide file tree
Showing 423 changed files with 23,989 additions and 43,813 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 1ca8b0140801f7c3ec4aa565afa5dfb7
config: fd64f3a4099e53c11ea0d41f89e7e1c3
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file removed .doctrees/apidocs/circuit_cutting.doctree
Binary file not shown.
Binary file modified .doctrees/apidocs/index.doctree
Binary file not shown.
Binary file removed .doctrees/apidocs/utils.doctree
Binary file not shown.
Binary file removed .doctrees/circuit_cutting/cutqc/index.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .doctrees/index.doctree
Binary file not shown.
Binary file modified .doctrees/install.doctree
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
"id": "072055cb",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:24.500645Z",
"iopub.status.busy": "2024-08-20T20:17:24.500429Z",
"iopub.status.idle": "2024-08-20T20:17:24.890953Z",
"shell.execute_reply": "2024-08-20T20:17:24.890251Z"
"iopub.execute_input": "2024-09-10T14:26:17.834834Z",
"iopub.status.busy": "2024-09-10T14:26:17.834539Z",
"iopub.status.idle": "2024-09-10T14:26:18.248200Z",
"shell.execute_reply": "2024-09-10T14:26:18.247356Z"
}
},
"outputs": [],
"source": [
"from qiskit import QuantumCircuit\n",
"from qiskit.quantum_info import SparsePauliOp\n",
"\n",
"from circuit_knitting.cutting import (\n",
"from qiskit_addon_cutting import (\n",
" partition_problem,\n",
" generate_cutting_experiments,\n",
")"
Expand All @@ -47,10 +47,10 @@
"id": "dc4af922",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:24.894946Z",
"iopub.status.busy": "2024-08-20T20:17:24.894242Z",
"iopub.status.idle": "2024-08-20T20:17:24.905050Z",
"shell.execute_reply": "2024-08-20T20:17:24.904375Z"
"iopub.execute_input": "2024-09-10T14:26:18.251721Z",
"iopub.status.busy": "2024-09-10T14:26:18.251119Z",
"iopub.status.idle": "2024-09-10T14:26:18.263049Z",
"shell.execute_reply": "2024-09-10T14:26:18.262353Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -80,10 +80,10 @@
"id": "d095701f",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:24.907719Z",
"iopub.status.busy": "2024-08-20T20:17:24.907310Z",
"iopub.status.idle": "2024-08-20T20:17:24.915926Z",
"shell.execute_reply": "2024-08-20T20:17:24.915182Z"
"iopub.execute_input": "2024-09-10T14:26:18.266074Z",
"iopub.status.busy": "2024-09-10T14:26:18.265585Z",
"iopub.status.idle": "2024-09-10T14:26:18.278900Z",
"shell.execute_reply": "2024-09-10T14:26:18.278228Z"
}
},
"outputs": [],
Expand All @@ -100,7 +100,7 @@
"id": "bc59b1be",
"metadata": {},
"source": [
"In order to calculate exact quasiprobability distributions for circuits with mid-circuit measurements, users will need to use the `ExactSampler` class from `circuit_knitting.utils.simulation`. The Qiskit Samplers do not support mid-circuit measurements in statevector mode."
"In order to calculate exact quasiprobability distributions for circuits with mid-circuit measurements, users will need to use the `ExactSampler` class from `qiskit_addon_cutting.utils.simulation`. The Qiskit Samplers do not support mid-circuit measurements in statevector mode."
]
},
{
Expand All @@ -109,15 +109,15 @@
"id": "7a74f709",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:24.918749Z",
"iopub.status.busy": "2024-08-20T20:17:24.918240Z",
"iopub.status.idle": "2024-08-20T20:17:24.922527Z",
"shell.execute_reply": "2024-08-20T20:17:24.921844Z"
"iopub.execute_input": "2024-09-10T14:26:18.281410Z",
"iopub.status.busy": "2024-09-10T14:26:18.281204Z",
"iopub.status.idle": "2024-09-10T14:26:18.285034Z",
"shell.execute_reply": "2024-09-10T14:26:18.284343Z"
}
},
"outputs": [],
"source": [
"from circuit_knitting.utils.simulation import ExactSampler\n",
"from qiskit_addon_cutting.utils.simulation import ExactSampler\n",
"\n",
"exact_sampler = ExactSampler()"
]
Expand All @@ -136,10 +136,10 @@
"id": "7019d781",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:24.924951Z",
"iopub.status.busy": "2024-08-20T20:17:24.924751Z",
"iopub.status.idle": "2024-08-20T20:17:24.937075Z",
"shell.execute_reply": "2024-08-20T20:17:24.936371Z"
"iopub.execute_input": "2024-09-10T14:26:18.287609Z",
"iopub.status.busy": "2024-09-10T14:26:18.287214Z",
"iopub.status.idle": "2024-09-10T14:26:18.298746Z",
"shell.execute_reply": "2024-09-10T14:26:18.298013Z"
}
},
"outputs": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"id": "dc54656b",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:26.511711Z",
"iopub.status.busy": "2024-08-20T20:17:26.511386Z",
"iopub.status.idle": "2024-08-20T20:17:26.910603Z",
"shell.execute_reply": "2024-08-20T20:17:26.909889Z"
"iopub.execute_input": "2024-09-10T14:26:20.068727Z",
"iopub.status.busy": "2024-09-10T14:26:20.067782Z",
"iopub.status.idle": "2024-09-10T14:26:20.467922Z",
"shell.execute_reply": "2024-09-10T14:26:20.467207Z"
}
},
"outputs": [],
Expand All @@ -30,7 +30,7 @@
"from qiskit.circuit.library import EfficientSU2\n",
"from qiskit.quantum_info import SparsePauliOp\n",
"\n",
"from circuit_knitting.cutting import (\n",
"from qiskit_addon_cutting import (\n",
" partition_problem,\n",
" generate_cutting_experiments,\n",
")"
Expand All @@ -42,10 +42,10 @@
"id": "dd147239",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:26.914578Z",
"iopub.status.busy": "2024-08-20T20:17:26.914063Z",
"iopub.status.idle": "2024-08-20T20:17:27.576089Z",
"shell.execute_reply": "2024-08-20T20:17:27.575274Z"
"iopub.execute_input": "2024-09-10T14:26:20.471400Z",
"iopub.status.busy": "2024-09-10T14:26:20.470667Z",
"iopub.status.idle": "2024-09-10T14:26:21.348481Z",
"shell.execute_reply": "2024-09-10T14:26:21.347769Z"
}
},
"outputs": [
Expand Down Expand Up @@ -82,10 +82,10 @@
"id": "d4ccf5b8",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:27.578839Z",
"iopub.status.busy": "2024-08-20T20:17:27.578562Z",
"iopub.status.idle": "2024-08-20T20:17:27.748664Z",
"shell.execute_reply": "2024-08-20T20:17:27.747841Z"
"iopub.execute_input": "2024-09-10T14:26:21.352211Z",
"iopub.status.busy": "2024-09-10T14:26:21.351575Z",
"iopub.status.idle": "2024-09-10T14:26:21.519628Z",
"shell.execute_reply": "2024-09-10T14:26:21.518888Z"
}
},
"outputs": [
Expand Down Expand Up @@ -117,10 +117,10 @@
"id": "44956cbb",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:27.751734Z",
"iopub.status.busy": "2024-08-20T20:17:27.751216Z",
"iopub.status.idle": "2024-08-20T20:17:27.962304Z",
"shell.execute_reply": "2024-08-20T20:17:27.961611Z"
"iopub.execute_input": "2024-09-10T14:26:21.522548Z",
"iopub.status.busy": "2024-09-10T14:26:21.522323Z",
"iopub.status.idle": "2024-09-10T14:26:21.731568Z",
"shell.execute_reply": "2024-09-10T14:26:21.730686Z"
}
},
"outputs": [
Expand Down Expand Up @@ -156,52 +156,52 @@
"id": "8c56282f",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:27.965484Z",
"iopub.status.busy": "2024-08-20T20:17:27.965274Z",
"iopub.status.idle": "2024-08-20T20:17:28.023170Z",
"shell.execute_reply": "2024-08-20T20:17:28.022523Z"
"iopub.execute_input": "2024-09-10T14:26:21.734968Z",
"iopub.status.busy": "2024-09-10T14:26:21.734439Z",
"iopub.status.idle": "2024-09-10T14:26:21.804406Z",
"shell.execute_reply": "2024-09-10T14:26:21.803561Z"
}
},
"outputs": [
{
"data": {
"text/plain": [
"[(0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (-0.24999999999999992, <WeightType.EXACT: 1>),\n",
" (0.24999999999999992, <WeightType.EXACT: 1>)]"
"[(np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.24999999999999992), <WeightType.EXACT: 1>),\n",
" (np.float64(0.24999999999999992), <WeightType.EXACT: 1>)]"
]
},
"execution_count": 5,
Expand Down Expand Up @@ -236,10 +236,10 @@
"id": "78539fcc",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:28.026034Z",
"iopub.status.busy": "2024-08-20T20:17:28.025825Z",
"iopub.status.idle": "2024-08-20T20:17:28.030029Z",
"shell.execute_reply": "2024-08-20T20:17:28.029337Z"
"iopub.execute_input": "2024-09-10T14:26:21.808500Z",
"iopub.status.busy": "2024-09-10T14:26:21.807896Z",
"iopub.status.idle": "2024-09-10T14:26:21.813731Z",
"shell.execute_reply": "2024-09-10T14:26:21.812950Z"
}
},
"outputs": [
Expand Down Expand Up @@ -269,10 +269,10 @@
"id": "f07a6cc3",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:28.032853Z",
"iopub.status.busy": "2024-08-20T20:17:28.032393Z",
"iopub.status.idle": "2024-08-20T20:17:28.038830Z",
"shell.execute_reply": "2024-08-20T20:17:28.038201Z"
"iopub.execute_input": "2024-09-10T14:26:21.817593Z",
"iopub.status.busy": "2024-09-10T14:26:21.816881Z",
"iopub.status.idle": "2024-09-10T14:26:21.825701Z",
"shell.execute_reply": "2024-09-10T14:26:21.824878Z"
}
},
"outputs": [
Expand All @@ -285,7 +285,7 @@
}
],
"source": [
"from circuit_knitting.cutting.qpd import QPDBasis\n",
"from qiskit_addon_cutting.qpd import QPDBasis\n",
"from qiskit.circuit.library.standard_gates import CXGate\n",
"\n",
"qpd_basis_cx = QPDBasis.from_instruction(CXGate())\n",
Expand Down Expand Up @@ -319,52 +319,52 @@
"id": "43d32869",
"metadata": {
"execution": {
"iopub.execute_input": "2024-08-20T20:17:28.041651Z",
"iopub.status.busy": "2024-08-20T20:17:28.041453Z",
"iopub.status.idle": "2024-08-20T20:17:28.097945Z",
"shell.execute_reply": "2024-08-20T20:17:28.097233Z"
"iopub.execute_input": "2024-09-10T14:26:21.829871Z",
"iopub.status.busy": "2024-09-10T14:26:21.829084Z",
"iopub.status.idle": "2024-09-10T14:26:21.920949Z",
"shell.execute_reply": "2024-09-10T14:26:21.920122Z"
}
},
"outputs": [
{
"data": {
"text/plain": [
"[(0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>),\n",
" (-0.25, <WeightType.EXACT: 1>),\n",
" (0.25, <WeightType.EXACT: 1>)]"
"[(np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(-0.25), <WeightType.EXACT: 1>),\n",
" (np.float64(0.25), <WeightType.EXACT: 1>)]"
]
},
"execution_count": 8,
Expand Down
Loading

0 comments on commit 8bf5302

Please sign in to comment.