From a96fae8904f72f1386eaf3f272035e5399377a8e Mon Sep 17 00:00:00 2001 From: qottmann Date: Mon, 13 Jan 2025 15:39:11 +0100 Subject: [PATCH] typoe --- demonstrations/tutorial_liesim_extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demonstrations/tutorial_liesim_extension.py b/demonstrations/tutorial_liesim_extension.py index 07cd8b039e..b11a640b6e 100644 --- a/demonstrations/tutorial_liesim_extension.py +++ b/demonstrations/tutorial_liesim_extension.py @@ -414,7 +414,7 @@ def Moment_step(ops, dla): # # We can now choose arbitrary DLA gates and a maximum of `one` :math:`P` gate to evolve the expectation value vector. -P_index = Moment[comp_moment].index(1.*p) # pick the gate in the Moment space that p corrresponds to +P_index = Moment[comp_moment].index(1.*p) # pick the gate in the Moment space that p corresponds to e_t = e_in e_t = expm(0.5 * adjoint_repr[dim_g-1]) @ e_t # the same U gate