Skip to content

Commit

Permalink
Merge pull request #107 from UCL-CCS/noncon_solvers
Browse files Browse the repository at this point in the history
Noncon solvers
  • Loading branch information
AlexisRalli authored Feb 23, 2023
2 parents 9608845 + 7fa539f commit 96fb5a9
Show file tree
Hide file tree
Showing 18 changed files with 2,393 additions and 758 deletions.
54 changes: 27 additions & 27 deletions notebooks/1. Basic Usage/1.1 PauliwordOp usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": 1,
"id": "ffd75c10",
"metadata": {},
"outputs": [],
Expand All @@ -33,7 +33,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 2,
"id": "88499054",
"metadata": {},
"outputs": [
Expand All @@ -48,7 +48,7 @@
" 6.000+0.000j XY"
]
},
"execution_count": 20,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -62,7 +62,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": 3,
"id": "eff541ba",
"metadata": {},
"outputs": [
Expand All @@ -77,7 +77,7 @@
" 6.000+0.000j XY"
]
},
"execution_count": 21,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -95,7 +95,7 @@
},
{
"cell_type": "code",
"execution_count": 22,
"execution_count": 4,
"id": "61cb78d0",
"metadata": {
"scrolled": true
Expand All @@ -104,7 +104,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "6f577ad75758485989e3b7571b5cdda7",
"model_id": "a1dc01d0749c4e1cb4dded12dfbc4f86",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -126,7 +126,7 @@
" 6.000+0.000j XY"
]
},
"execution_count": 22,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -164,7 +164,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 5,
"id": "b3df6183",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -224,7 +224,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 6,
"id": "f63fd38e",
"metadata": {},
"outputs": [],
Expand All @@ -235,7 +235,7 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 7,
"id": "d6ccb539",
"metadata": {},
"outputs": [
Expand All @@ -247,7 +247,7 @@
" 1.000+0.000j XY"
]
},
"execution_count": 25,
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -284,7 +284,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 8,
"id": "17c2b067",
"metadata": {},
"outputs": [
Expand All @@ -297,7 +297,7 @@
"-1.000+0.000j YZ"
]
},
"execution_count": 26,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
Expand Down Expand Up @@ -338,7 +338,7 @@
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 9,
"id": "84c31e79",
"metadata": {},
"outputs": [
Expand All @@ -360,7 +360,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 10,
"id": "4668c8be",
"metadata": {},
"outputs": [
Expand All @@ -385,7 +385,7 @@
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 11,
"id": "32ba5676",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -418,7 +418,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 12,
"id": "46de4925",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -447,7 +447,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 13,
"id": "8a1f206f",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -479,7 +479,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 14,
"id": "5065cdeb",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -514,7 +514,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 15,
"id": "cb6eb284",
"metadata": {
"scrolled": true
Expand Down Expand Up @@ -549,7 +549,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 16,
"id": "b484f197",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -605,7 +605,7 @@
"2 XX 3.0"
]
},
"execution_count": 34,
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -624,7 +624,7 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 17,
"id": "57261e6f",
"metadata": {},
"outputs": [
Expand All @@ -636,7 +636,7 @@
"(2+0j) [Z0 Z1]"
]
},
"execution_count": 35,
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -655,7 +655,7 @@
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 18,
"id": "cda97c5e",
"metadata": {},
"outputs": [
Expand All @@ -666,7 +666,7 @@
" coeffs=[3.+0.j, 2.+0.j, 1.+0.j]), coeff=1.0)"
]
},
"execution_count": 36,
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
Loading

0 comments on commit 96fb5a9

Please sign in to comment.