From c9a66739328dd7b3c1a619e1eed7f2da03748764 Mon Sep 17 00:00:00 2001 From: pearcandy <48463813+pearcandy@users.noreply.github.com> Date: Mon, 26 Jun 2023 15:14:21 +0900 Subject: [PATCH] Update 02_gradients_framework.ipynb Typo correction: removal of "\\partial" in the second expression on the right-hand side --- tutorials/operators/02_gradients_framework.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/operators/02_gradients_framework.ipynb b/tutorials/operators/02_gradients_framework.ipynb index ce5357adf..fd0f976e5 100644 --- a/tutorials/operators/02_gradients_framework.ipynb +++ b/tutorials/operators/02_gradients_framework.ipynb @@ -548,7 +548,7 @@ "\n", "Unlike the other methods, finite difference gradients are numerical estimations rather than analytical values.\n", "This implementation employs a central difference approach with $\\epsilon \\ll 1$\n", - "$$ \\frac{\\partial\\langle\\psi\\left(\\theta\\right)|\\hat{O}\\left(\\omega\\right)|\\psi\\left(\\theta\\right)\\rangle}{\\partial\\theta} \\approx \\frac{1}{2\\epsilon} \\left(\\langle\\psi\\left(\\theta+\\epsilon\\right)|\\hat{O}\\left(\\omega\\right)|\\psi\\left(\\theta+\\epsilon\\right)\\rangle - \\partial\\langle\\psi\\left(\\theta-\\epsilon\\right)|\\hat{O}\\left(\\omega\\right)|\\psi\\left(\\theta-\\epsilon\\right)\\rangle\\right).$$\n", + "$$ \\frac{\\partial\\langle\\psi\\left(\\theta\\right)|\\hat{O}\\left(\\omega\\right)|\\psi\\left(\\theta\\right)\\rangle}{\\partial\\theta} \\approx \\frac{1}{2\\epsilon} \\left(\\langle\\psi\\left(\\theta+\\epsilon\\right)|\\hat{O}\\left(\\omega\\right)|\\psi\\left(\\theta+\\epsilon\\right)\\rangle - \\langle\\psi\\left(\\theta-\\epsilon\\right)|\\hat{O}\\left(\\omega\\right)|\\psi\\left(\\theta-\\epsilon\\right)\\rangle\\right).$$\n", " Probability gradients are computed equivalently." ] },