Skip to content

Commit ad03bc4

Browse files
arielsmolerlin-linDong An
committed
QLSP notebook adding contributors
Co-authored-by: Lin Lin <[email protected]> Co-authored-by: Dong An <[email protected]>
1 parent f045d67 commit ad03bc4

File tree

2 files changed

+22
-29
lines changed

2 files changed

+22
-29
lines changed

algorithms/aqc/solving_qlsp/solving_qlsp_with_aqc.ipynb

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
"\n",
2121
"This tutorial focuses on applying the AQC approach to solve the **Quantum Linear Systems Problem (QLSP)**, a cornerstone problem in quantum computing with significant applications in fields like machine learning, physics, and optimization.\n",
2222
"\n",
23-
"Specifically, we aim to demonstrate how AQC can be utilized to approximate the solution to the QLSP [[1](#QLSP)]. This problem involves finding a quantum state that corresponds to the solution of a linear system of equations. The tutorial provides a structured overview of the QLSP, its mathematical formulation, and the steps needed to transform it into an eigenvalue problem, laying the foundation for solving it within the AQC framework (based on [[1](#QLSP)]).\n",
23+
"Specifically, we aim to demonstrate how AQC can be utilized to approximate the solution to the QLSP [[1](#QLSP)]. This problem involves finding a quantum state that corresponds to the solution of a linear system of equations. The tutorial provides a structured overview of the QLSP, its mathematical formulation, and the steps needed to transform it into an eigenvalue problem, laying the foundation for solving it within the AQC framework.\n",
2424
"\n",
25+
"*The following demonstration we will follow the paper [[1](#QLSP)]. The notebook was written in collaboration with Prof. Lin Lin and Dr. Dong An, the authors of the paper.*\n",
2526
"\n",
2627
"\n",
2728
"---\n",
@@ -688,7 +689,7 @@
688689
"name": "stdout",
689690
"output_type": "stream",
690691
"text": [
691-
"Opening: https://platform.classiq.io/circuit/2rg47VYyxACMDnj5L5X22uji0eX?version=0.65.4\n"
692+
"Opening: https://platform.classiq.io/circuit/2rgCnjlPtdxMT2kt8QKmXg5zzZu?version=0.65.4\n"
692693
]
693694
}
694695
],
@@ -928,7 +929,7 @@
928929
"name": "stdout",
929930
"output_type": "stream",
930931
"text": [
931-
"Opening: https://platform.classiq.io/circuit/2rg4Lh3beXxsqfRZEKwH3FaTkdo?version=0.65.4\n"
932+
"Opening: https://platform.classiq.io/circuit/2rgD1Vo2e7kdIKRiMBL5bebXkW8?version=0.65.4\n"
932933
]
933934
}
934935
],
@@ -1054,7 +1055,7 @@
10541055
"name": "stdout",
10551056
"output_type": "stream",
10561057
"text": [
1057-
"Opening: https://platform.classiq.io/circuit/2rg4i398HDN2PcXRXtqItdAy2W1?version=0.65.4\n"
1058+
"Opening: https://platform.classiq.io/circuit/2rgDNT9ZVVOaHuRAhIRhnZ9agA8?version=0.65.4\n"
10581059
]
10591060
}
10601061
],
@@ -1262,14 +1263,6 @@
12621263
"<a id='DISCRETE'>[4]</a>: [The discrete adiabatic quantum linear system solver has lower constant factors than the randomized adiabatic solver\n",
12631264
"Pedro C.S. Costa, Dong An, Ryan Babbush, Dominic Berry](https://arxiv.org/abs/2312.07690)"
12641265
]
1265-
},
1266-
{
1267-
"cell_type": "code",
1268-
"execution_count": null,
1269-
"id": "42a64963-342f-41c1-9d2b-fbb3da175198",
1270-
"metadata": {},
1271-
"outputs": [],
1272-
"source": []
12731266
}
12741267
],
12751268
"metadata": {

algorithms/aqc/solving_qlsp/solving_qlsp_with_aqc.synthesis_options.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,28 @@
77
"machine_precision": 8,
88
"custom_hardware_settings": {
99
"basis_gates": [
10-
"p",
11-
"u",
12-
"t",
10+
"sdg",
11+
"rx",
1312
"z",
14-
"rz",
15-
"cx",
16-
"cy",
17-
"u1",
18-
"r",
1913
"cz",
14+
"cy",
2015
"y",
21-
"x",
16+
"h",
17+
"id",
18+
"r",
19+
"u",
20+
"p",
21+
"u1",
22+
"tdg",
23+
"t",
2224
"u2",
25+
"cx",
26+
"sx",
27+
"x",
2328
"ry",
24-
"sxdg",
25-
"id",
26-
"h",
27-
"sdg",
2829
"s",
29-
"tdg",
30-
"rx",
31-
"sx"
30+
"rz",
31+
"sxdg"
3232
],
3333
"is_symmetric_connectivity": true
3434
},
@@ -39,6 +39,6 @@
3939
"pretty_qasm": true,
4040
"transpilation_option": "auto optimize",
4141
"timeout_seconds": 300,
42-
"random_seed": 2327016223
42+
"random_seed": 521064679
4343
}
4444
}

0 commit comments

Comments
 (0)