Skip to content

Commit f6022bb

Browse files
update after bug fix
1 parent ca3f22d commit f6022bb

File tree

3 files changed

+56
-56
lines changed

3 files changed

+56
-56
lines changed

algorithms/gqsp/gqsp.ipynb

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

algorithms/gqsp/gqsp.qmod

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ qfunc _gqsp_r_gate(theta: real, phi: real, _lambda: real, q: qbit) {
88
}
99

1010
qfunc u_func(x: qnum) {
11-
phase (6.2832 * x);
11+
phase (6.28318530718 * x);
1212
}
1313

1414
qfunc main(output x: qnum<7, UNSIGNED, 7>, output ind: qbit) {
@@ -19,25 +19,25 @@ qfunc main(output x: qnum<7, UNSIGNED, 7>, output ind: qbit) {
1919
u_func(x);
2020
}, ind, [
2121
[
22-
0.1874,
23-
0.0,
24-
0.598,
25-
0.0,
26-
0.598,
27-
0.0,
28-
1.3834
22+
0.187367215365,
23+
2.117e-09,
24+
0.598030945974,
25+
5.783e-09,
26+
0.5980309466,
27+
2.117e-09,
28+
1.383429110441
2929
],
3030
[
31+
(-3.039e-09),
32+
3.039e-09,
33+
(-4.76e-10),
34+
4.76e-10,
3135
(-0.0),
32-
0.0,
33-
(-0.0),
34-
0.0,
35-
(-0.0),
36-
(-3.1416),
36+
(-3.14159265359),
3737
0.0
3838
],
3939
[
40-
3.1416,
40+
3.14159265359,
4141
0.0,
4242
0.0,
4343
0.0,

algorithms/gqsp/gqsp.synthesis_options.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@
66
"preferences": {
77
"custom_hardware_settings": {
88
"basis_gates": [
9-
"cx",
10-
"r",
11-
"h",
12-
"cy",
13-
"tdg",
14-
"id",
15-
"sxdg",
16-
"cz",
17-
"rz",
189
"x",
19-
"y",
20-
"u",
21-
"t",
22-
"u1",
2310
"u2",
24-
"p",
11+
"t",
2512
"s",
13+
"u",
14+
"sxdg",
15+
"cz",
16+
"y",
17+
"r",
2618
"z",
19+
"u1",
20+
"rz",
2721
"rx",
28-
"ry",
22+
"p",
2923
"sx",
30-
"sdg"
24+
"h",
25+
"ry",
26+
"cy",
27+
"sdg",
28+
"tdg",
29+
"id",
30+
"cx"
3131
],
3232
"is_symmetric_connectivity": true
3333
},
@@ -36,7 +36,7 @@
3636
"optimization_level": 1,
3737
"output_format": ["qasm"],
3838
"pretty_qasm": true,
39-
"random_seed": 3401199084,
39+
"random_seed": 3681292980,
4040
"synthesize_all_separately": false,
4141
"timeout_seconds": 300,
4242
"transpilation_option": "auto optimize"

0 commit comments

Comments
 (0)