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

docs: fix minus sign in gen_term_sequence_circuit docstring #1760

Merged
merged 1 commit into from
Jan 29, 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 pytket/pytket/utils/term_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def gen_term_sequence_circuit(
) -> Circuit:
"""
Sequences the terms of a :py:class:`QubitPauliOperator` :math:`P` to generate
a circuit approximating :math:`e^{i \\frac{\\pi}{2} P}`. This method
a circuit approximating :math:`e^{-i \\frac{\\pi}{2} P}`. This method
performs Trotterisation on :math:`P` with a single Trotter step.

This method uses a given partitioning strategy and a graph colouring
Expand Down
Loading