Skip to content

Commit

Permalink
added metadata files and qmod for dqi
Browse files Browse the repository at this point in the history
  • Loading branch information
orsa-classiq committed Nov 26, 2024
1 parent 8a6780d commit 034bb07
Show file tree
Hide file tree
Showing 5 changed files with 650 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -797,20 +797,12 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": null,
"id": "4628f4a1-7ead-4c75-b6df-68da252a2a0d",
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Opening: https://nightly.platform.classiq.io/circuit/d8906bbd-b43a-4faf-bae7-d280fcdea180?version=0.59.0.dev6\n"
]
}
],
"outputs": [],
"source": [
"from classiq.execution import *\n",
"\n",
Expand All @@ -833,6 +825,7 @@
" execution_preferences=ExecutionPreferences(num_shots=10000),\n",
")\n",
"\n",
"write_qmod(qmod, \"dqi_max_xorsat\")\n",
"qprog = synthesize(qmod)\n",
"show(qprog, display_url=False)"
]
Expand Down
6 changes: 6 additions & 0 deletions algorithms/dqi/dqi_max_xorsat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"friendly_name": "Decoded Quantum Interferometry (DQI) for MaxCut",
"description": "Solving the MaxCut Problem using the DQI Algorithm in the setting of max-XORSAT",
"qmod_type": ["algorithms"],
"level": ["advanced"]
}
Loading

0 comments on commit 034bb07

Please sign in to comment.