From 4c68c38e08edb93b2c4680752d32d99fbf3e19ad Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Mon, 16 Sep 2024 12:08:57 -0400 Subject: [PATCH] Fix tutorial headers (#685) * Fix tutorial headers The top header should be at h1 level I missed this in #682. * Make colons consistent --- .../tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb | 6 +++--- .../tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb | 4 ++-- docs/tutorials/03_wire_cutting_via_move_instruction.ipynb | 4 ++-- docs/tutorials/04_automatic_cut_finding.ipynb | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb b/docs/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb index bdc1f2fc1..7e7f82b1d 100644 --- a/docs/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb +++ b/docs/tutorials/01_gate_cutting_to_reduce_circuit_width.ipynb @@ -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", " - Cut the circuit and observable.\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", " - Combine the results of Step 3 to reconstruct the expectation value of the observable in question." diff --git a/docs/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb b/docs/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb index 61206d8fc..a54ded5f5 100644 --- a/docs/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb +++ b/docs/tutorials/02_gate_cutting_to_reduce_circuit_depth.ipynb @@ -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", " - Cut the circuit and observable.\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", " - Combine the results of Step 3 to reconstruct the expectation value of the observable in question." diff --git a/docs/tutorials/03_wire_cutting_via_move_instruction.ipynb b/docs/tutorials/03_wire_cutting_via_move_instruction.ipynb index f59094186..26963cde4 100644 --- a/docs/tutorials/03_wire_cutting_via_move_instruction.ipynb +++ b/docs/tutorials/03_wire_cutting_via_move_instruction.ipynb @@ -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", " - Cut the circuit and observable.\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", " - Combine the results of Step 3 to reconstruct the expectation value of the observable in question." diff --git a/docs/tutorials/04_automatic_cut_finding.ipynb b/docs/tutorials/04_automatic_cut_finding.ipynb index 6f49ad02f..4463e1b5e 100644 --- a/docs/tutorials/04_automatic_cut_finding.ipynb +++ b/docs/tutorials/04_automatic_cut_finding.ipynb @@ -4,7 +4,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Automatically find cuts" + "# Automatically find cuts" ] }, {