Skip to content

Commit

Permalink
Merge pull request #46 from dlyongemallo/rename_notebook
Browse files Browse the repository at this point in the history
Rename notebook.
  • Loading branch information
dlyongemallo authored Jul 21, 2024
2 parents fbda70b + cacfa45 commit 5328744
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"\n",
"print(f\"Benchmark circuit: {circuit_name}\")\n",
"qc = QuantumCircuit.from_qasm_str(qasm_str)\n",
"# qc.draw(output = \"mpl\")"
"# qc.draw(output=\"mpl\")"
]
},
{
Expand Down Expand Up @@ -102,7 +102,7 @@
"source": [
"# Output the circuit produced by Qiskit optimisation.\n",
"opt_qc = transpile(qc, basis_gates=['u3', 'cx'], optimization_level=3)\n",
"# opt_qc.draw(output = \"mpl\")"
"# opt_qc.draw(output=\"mpl\")"
]
},
{
Expand Down Expand Up @@ -136,7 +136,7 @@
"source": [
"# Output the ZX-optimised circuit.\n",
"zx_qc = pass_manager.run(qc)\n",
"# zx_qc.draw(output = \"mpl\")"
"# zx_qc.draw(output=\"mpl\")"
]
},
{
Expand All @@ -146,7 +146,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Re-create the graph from the circuit. \n",
"# Re-create the graph from the circuit.\n",
"zx_g = zx.Circuit.from_qasm(dumps(zx_qc)).to_graph()\n",
"zx.draw(zx_g)"
]
Expand Down

0 comments on commit 5328744

Please sign in to comment.