Skip to content

Commit 685fe4e

Browse files
committed
Add H2 Hamiltonian coefficients dataset, fixup VQE notebook
1 parent be3fec0 commit 685fe4e

5 files changed

+333
-264
lines changed

notebooks/BellStateTomography.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"outputs": [],
6262
"source": [
6363
"qubits = (0, 1)\n",
64-
"# fewer shots so it runs faster\n",
6564
"shots = 500\n",
6665
"qc = get_qc(\"2q-noisy-qvm\")"
6766
]

notebooks/QuantumWalk.ipynb

Lines changed: 32 additions & 14 deletions
Large diffs are not rendered by default.

notebooks/ReadoutErrorMitigation.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"outputs": [],
4242
"source": [
4343
"q0, q1 = (0, 1)\n",
44-
"# fewer shots so it runs faster\n",
4544
"shots = 500\n",
4645
"gammas = np.linspace(-np.pi / 2, np.pi / 2, 100)\n",
4746
"qc = get_qc(\"2q-noisy-qvm\")"

notebooks/VariationalQuantumEigensolver.ipynb

Lines changed: 246 additions & 248 deletions
Large diffs are not rendered by default.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
R,I0I1,Z0,Z1,Z0Z1,X0X1,Y0Y1
2+
0.2,2.8489,0.5678,-1.4508,0.6799,0.0791,0.0791
3+
0.25,2.1868,0.5449,-1.287,0.6719,0.0798,0.0798
4+
0.3,1.7252,0.5215,-1.1458,0.6631,0.0806,0.0806
5+
0.35,1.3827,0.4982,-1.0226,0.6537,0.0815,0.0815
6+
0.4,1.1182,0.4754,-0.9145,0.6438,0.0825,0.0825
7+
0.45,0.9083,0.4534,-0.8194,0.6336,0.0835,0.0835
8+
0.5,0.7381,0.4325,-0.7355,0.6233,0.0846,0.0846
9+
0.55,0.5979,0.4125,-0.6612,0.6129,0.0858,0.0858
10+
0.6,0.4808,0.3937,-0.595,0.6025,0.087,0.087
11+
0.65,0.3819,0.376,-0.5358,0.5921,0.0883,0.0883
12+
0.7,0.2976,0.3593,-0.4826,0.5818,0.0896,0.0896
13+
0.75,0.2252,0.3435,-0.4347,0.5716,0.091,0.091
14+
0.8,0.1626,0.3288,-0.3915,0.5616,0.0925,0.0925
15+
0.85,0.1083,0.3149,-0.3523,0.5518,0.0939,0.0939
16+
0.9,0.0609,0.3018,-0.3168,0.5421,0.0954,0.0954
17+
0.95,0.0193,0.2895,-0.2845,0.5327,0.097,0.097
18+
1.0,-0.0172,0.2779,-0.255,0.5235,0.0986,0.0986
19+
1.05,-0.0493,0.2669,-0.2282,0.5146,0.1002,0.1002
20+
1.1,-0.0778,0.2565,-0.2036,0.5059,0.1018,0.1018
21+
1.15,-0.1029,0.2467,-0.181,0.4974,0.1034,0.1034
22+
1.2,-0.1253,0.2374,-0.1603,0.4892,0.105,0.105
23+
1.25,-0.1452,0.2286,-0.1413,0.4812,0.1067,0.1067
24+
1.3,-0.1629,0.2203,-0.1238,0.4735,0.1083,0.1083
25+
1.35,-0.1786,0.2123,-0.1077,0.466,0.11,0.11
26+
1.4,-0.1927,0.2048,-0.0929,0.4588,0.1116,0.1116
27+
1.45,-0.2053,0.1976,-0.0792,0.4518,0.1133,0.1133
28+
1.5,-0.2165,0.1908,-0.0666,0.4451,0.1149,0.1149
29+
1.55,-0.2265,0.1843,-0.0549,0.4386,0.1165,0.1165
30+
1.6,-0.2355,0.1782,-0.0442,0.4323,0.1181,0.1181
31+
1.65,-0.2436,0.1723,-0.0342,0.4262,0.1196,0.1196
32+
1.7,-0.2508,0.1667,-0.0251,0.4204,0.1211,0.1211
33+
1.75,-0.2573,0.1615,-0.0166,0.4148,0.1226,0.1226
34+
1.8,-0.2632,0.1565,-0.0088,0.4094,0.1241,0.1241
35+
1.85,-0.2684,0.1517,-0.0015,0.4042,0.1256,0.1256
36+
1.9,-0.2731,0.1472,0.0052,0.3992,0.127,0.127
37+
1.95,-0.2774,0.143,0.0114,0.3944,0.1284,0.1284
38+
2.0,-0.2812,0.139,0.0171,0.3898,0.1297,0.1297
39+
2.05,-0.2847,0.1352,0.0223,0.3853,0.131,0.131
40+
2.1,-0.2879,0.1316,0.0272,0.3811,0.1323,0.1323
41+
2.15,-0.2908,0.1282,0.0317,0.3769,0.1335,0.1335
42+
2.2,-0.2934,0.1251,0.0359,0.373,0.1347,0.1347
43+
2.25,-0.2958,0.1221,0.0397,0.3692,0.1359,0.1359
44+
2.3,-0.298,0.1193,0.0432,0.3655,0.137,0.137
45+
2.35,-0.3,0.1167,0.0465,0.362,0.1381,0.1381
46+
2.4,-0.3018,0.1142,0.0495,0.3586,0.1392,0.1392
47+
2.45,-0.3035,0.1119,0.0523,0.3553,0.1402,0.1402
48+
2.5,-0.3051,0.1098,0.0549,0.3521,0.1412,0.1412
49+
2.55,-0.3066,0.1078,0.0572,0.3491,0.1422,0.1422
50+
2.6,-0.3079,0.1059,0.0594,0.3461,0.1432,0.1432
51+
2.65,-0.3092,0.1042,0.0614,0.3433,0.1441,0.1441
52+
2.7,-0.3104,0.1026,0.0632,0.3406,0.145,0.145
53+
2.75,-0.3115,0.1011,0.0649,0.3379,0.1458,0.1458
54+
2.8,-0.3125,0.0997,0.0665,0.3354,0.1467,0.1467
55+
2.85,-0.3135,0.0984,0.0679,0.3329,0.1475,0.1475

0 commit comments

Comments
 (0)