Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QLSP notebook adding contributors #729

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions algorithms/aqc/solving_qlsp/solving_qlsp_with_aqc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
"\n",
"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",
"\n",
"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",
"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",
"\n",
"*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",
"\n",
"\n",
"---\n",
Expand Down Expand Up @@ -688,7 +689,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Opening: https://platform.classiq.io/circuit/2rg47VYyxACMDnj5L5X22uji0eX?version=0.65.4\n"
"Opening: https://platform.classiq.io/circuit/2rgCnjlPtdxMT2kt8QKmXg5zzZu?version=0.65.4\n"
]
}
],
Expand Down Expand Up @@ -928,7 +929,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Opening: https://platform.classiq.io/circuit/2rg4Lh3beXxsqfRZEKwH3FaTkdo?version=0.65.4\n"
"Opening: https://platform.classiq.io/circuit/2rgD1Vo2e7kdIKRiMBL5bebXkW8?version=0.65.4\n"
]
}
],
Expand Down Expand Up @@ -1054,7 +1055,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Opening: https://platform.classiq.io/circuit/2rg4i398HDN2PcXRXtqItdAy2W1?version=0.65.4\n"
"Opening: https://platform.classiq.io/circuit/2rgDNT9ZVVOaHuRAhIRhnZ9agA8?version=0.65.4\n"
]
}
],
Expand Down Expand Up @@ -1262,14 +1263,6 @@
"<a id='DISCRETE'>[4]</a>: [The discrete adiabatic quantum linear system solver has lower constant factors than the randomized adiabatic solver\n",
"Pedro C.S. Costa, Dong An, Ryan Babbush, Dominic Berry](https://arxiv.org/abs/2312.07690)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "42a64963-342f-41c1-9d2b-fbb3da175198",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@
"machine_precision": 8,
"custom_hardware_settings": {
"basis_gates": [
"p",
"u",
"t",
"sdg",
"rx",
"z",
"rz",
"cx",
"cy",
"u1",
"r",
"cz",
"cy",
"y",
"x",
"h",
"id",
"r",
"u",
"p",
"u1",
"tdg",
"t",
"u2",
"cx",
"sx",
"x",
"ry",
"sxdg",
"id",
"h",
"sdg",
"s",
"tdg",
"rx",
"sx"
"rz",
"sxdg"
],
"is_symmetric_connectivity": true
},
Expand All @@ -39,6 +39,6 @@
"pretty_qasm": true,
"transpilation_option": "auto optimize",
"timeout_seconds": 300,
"random_seed": 2327016223
"random_seed": 521064679
}
}
Loading