Skip to content

Commit

Permalink
Update 13_trotterQRTE.ipynb (backport #102) (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: Omid Hassasfar <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Omid-Hassasfar authored Nov 15, 2023
1 parent a725a10 commit 6cdb94f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/13_trotterQRTE.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@
],
"source": [
"fourth_order_formula = SuzukiTrotter(order=4)\n",
"trotter_step_fourth_order = PauliEvolutionGate(H, dt, synthesis=second_order_formula)\n",
"trotter_step_fourth_order = PauliEvolutionGate(H, dt, synthesis=fourth_order_formula)\n",
"circuit = QuantumCircuit(H.num_qubits)\n",
"circuit.append(trotter_step_fourth_order, range(H.num_qubits))\n",
"circuit = circuit.decompose(reps=2)\n",
Expand Down Expand Up @@ -1006,7 +1006,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.2"
"version": "3.11.3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 6cdb94f

Please sign in to comment.