Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA v.0.40.0] Fix liesim_extension demo small typoe #1299

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demonstrations/tutorial_liesim_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading