Skip to content

Commit

Permalink
Fix tutorial headers (#685)
Browse files Browse the repository at this point in the history
* Fix tutorial headers

The top header should be at h1 level

I missed this in #682.

* Make colons consistent
  • Loading branch information
garrison committed Sep 16, 2024
1 parent 9cef09f commit 4c68c38
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
"id": "ad1f14b4",
"metadata": {},
"source": [
"## Gate Cutting to Reduce Circuit Width\n",
"# Gate Cutting to Reduce Circuit Width\n",
"\n",
"In this notebook, we will work through the steps of a [Qiskit pattern](https://docs.quantum.ibm.com/guides/intro-to-patterns) while using **circuit cutting** to reduce the number of qubits in a circuit. We will cut gates to enable us to reconstruct the expectation value of a four-qubit circuit using only two-qubit experiments.\n",
"\n",
"These are the steps that we will take:\n",
"\n",
"- **Step 1: Map problem to quantum circuits and operators:**\n",
"- **Step 1: Map problem to quantum circuits and operators**:\n",
" - Map the hamiltonian onto a quantum circuit.\n",
"- **Step 2: Optimize for target hardware** [_Uses the cutting addon_]:\n",
" - <font color='#0F62FE'>Cut the circuit and observable.</font>\n",
" - Transpile the subexperiments for hardware.\n",
"- **Step 3: Execute on target hardware:**\n",
"- **Step 3: Execute on target hardware**:\n",
" - Run the subexperiments obtained in Step 2 using a `Sampler` primitive.\n",
"- **Step 4: Post-process results** [_Uses the cutting addon_]:\n",
" - <font color='#0F62FE'>Combine the results of Step 3 to reconstruct the expectation value of the observable in question.</font>"
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"\n",
"These are the steps that we will take in this [Qiskit pattern](https://docs.quantum.ibm.com/guides/intro-to-patterns):\n",
"\n",
"- **Step 1: Map problem to quantum circuits and operators:**\n",
"- **Step 1: Map problem to quantum circuits and operators**:\n",
" - Map the hamiltonian onto a quantum circuit.\n",
"- **Step 2: Optimize for target hardware** [_Uses the cutting addon_]:\n",
" - <font color='#0F62FE'>Cut the circuit and observable.</font>\n",
" - Transpile the subexperiments for hardware.\n",
"- **Step 3: Execute on target hardware:**\n",
"- **Step 3: Execute on target hardware**:\n",
" - Run the subexperiments obtained in Step 2 using a `Sampler` primitive.\n",
"- **Step 4: Post-process results** [_Uses the cutting addon_]:\n",
" - <font color='#0F62FE'>Combine the results of Step 3 to reconstruct the expectation value of the observable in question.</font>"
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/03_wire_cutting_via_move_instruction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"\n",
"These are the steps that we will take in this [Qiskit pattern](https://docs.quantum.ibm.com/guides/intro-to-patterns):\n",
"\n",
"- **Step 1: Map problem to quantum circuits and operators:**\n",
"- **Step 1: Map problem to quantum circuits and operators**:\n",
" - Map the hamiltonian onto a quantum circuit.\n",
"- **Step 2: Optimize for target hardware** [_Uses the cutting addon_]:\n",
" - <font color='#0F62FE'>Cut the circuit and observable.</font>\n",
" - Transpile the subexperiments for hardware.\n",
"- **Step 3: Execute on target hardware:**\n",
"- **Step 3: Execute on target hardware**:\n",
" - Run the subexperiments obtained in Step 2 using a `Sampler` primitive.\n",
"- **Step 4: Post-process results** [_Uses the cutting addon_]:\n",
" - <font color='#0F62FE'>Combine the results of Step 3 to reconstruct the expectation value of the observable in question.</font>"
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/04_automatic_cut_finding.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Automatically find cuts"
"# Automatically find cuts"
]
},
{
Expand Down

0 comments on commit 4c68c38

Please sign in to comment.